Skip to content
Tablelist Javascript SDK
JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
release
src
tests
.bowerrc
.gitignore
.jshintrc remove tl.ws
Makefile
README.md
bower.json
gulpfile.js
package.json
wercker.yml

README.md

tablelist.js

Tablelist Javascript SDK for Angular.js

Installation

bower install tablelist-js

Dependencies

The SDK relies on Angular.js and ngResource

<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.x/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.x/angular-resource.min.js"></script>

Download

Production (minified):

<script src="//assets.tablelist.com/js/tablelist/VERSION/tablelist.min.js"></script>
<script>tablelist('production')</script>

Development:

<script src="//assets.tablelist.com/js/tablelist/VERSION/tablelist.js"></script>
<script>tablelist('development')</script>

Development

Start by installing gulp globally if you have not already:

npm install -g gulp

Install gulp dependencies

npm install

To watch files as you make changes run:

make js

This will allow you to develop and run unit tests without rebuilding from the terminal.

Build SDK

Simply call:

make

This will build tablelist.js and tablelist-dev.js in the ./build directory.

or

gulp release

for building tablelist.js, and tablelist.min.js in the ./release directory.

Testing

To run the unit tests call:

make tests

You can also open ./test/index.html manually.

Something went wrong with that request. Please try again.