Skip to content

Commit

Permalink
Readme and test server enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Jul 1, 2017
1 parent 974000e commit e93c8b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
<code>npm install -g gulp</code> and <code>npm install</code> commands to perform all required
installations.
<code>npm install</code> command to perform all required installations.

By running <code>gulp</code> command later, <code>build</code> directory appears with all
required files there.
By running <code>npm run build</code> command later, <code>build</code> directory will appear with
all required files there.

## Debug

Expand All @@ -146,5 +144,5 @@ Also anytime you can build project and then check <code>build/example/index.html

## Preview

Run <code>gulp</code> command and then check <code>build/WEBModule/index.html</code>.
Run <code>npm run build</code> command and then check <code>build/WEBModule/index.html</code>.
![Light pivot table](https://cloud.githubusercontent.com/assets/4989256/5821832/b73c880c-a0d7-11e4-8458-832329b1c48a.png)
2 changes: 1 addition & 1 deletion test/testServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ app.use(express.static(__dirname + "/.."));

app.listen(PORT);

console.info("Server ready on port " + PORT + ".");
console.info("Server ready on port " + PORT + ", visit http://127.0.0.1:81/example/private.html");

0 comments on commit e93c8b5

Please sign in to comment.