From e93c8b5d6c5b7525862336c6aab31d4dbd3a2f5d Mon Sep 17 00:00:00 2001 From: ZitRos Date: Sat, 1 Jul 2017 11:58:55 +0300 Subject: [PATCH] Readme and test server enhancements --- readme.md | 10 ++++------ test/testServer.js | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index 0e74c53..41090cb 100644 --- a/readme.md +++ b/readme.md @@ -100,7 +100,6 @@ lp.setFilter("[DateOfSale].[Actual].[YearSold].&[2009]"); lp.refresh(); // refresh pivot contents lp.updateSizes(); // recalculate pivot sizes lp.changeBasicMDX("..."); // change mdx for LPT -lp.getActualMDX(); // returns currently displayed MDX var rows = lp.getRowsValues([1,2,3]); // returns the values in rows 1, 2, 3 var model = lp.getModel(); // returns data model representing currently rendered data set lp.getSelectedRows(); // returns array with selected rows indexes. First row have index 1. @@ -130,11 +129,10 @@ You need [NodeJS](http://nodejs.org/) platform to be installed in your system to tasks. To build project and see working example, gulp and it's plugins must be installed. Simple run -npm install -g gulp and npm install commands to perform all required -installations. +npm install command to perform all required installations. -By running gulp command later, build directory appears with all -required files there. +By running npm run build command later, build directory will appear with +all required files there. ## Debug @@ -146,5 +144,5 @@ Also anytime you can build project and then check build/example/index.html ## Preview -Run gulp command and then check build/WEBModule/index.html. +Run npm run build command and then check build/WEBModule/index.html. ![Light pivot table](https://cloud.githubusercontent.com/assets/4989256/5821832/b73c880c-a0d7-11e4-8458-832329b1c48a.png) diff --git a/test/testServer.js b/test/testServer.js index 2820f81..8f91d93 100644 --- a/test/testServer.js +++ b/test/testServer.js @@ -6,4 +6,4 @@ app.use(express.static(__dirname + "/..")); app.listen(PORT); -console.info("Server ready on port " + PORT + "."); \ No newline at end of file +console.info("Server ready on port " + PORT + ", visit http://127.0.0.1:81/example/private.html"); \ No newline at end of file