1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-03 07:03:33 +02:00

Updated README, added starter file

This commit is contained in:
Max Guglielmi 2015-07-10 17:39:23 +10:00
parent e446558bd6
commit 26beface31
20 changed files with 28962 additions and 28618 deletions

View file

@ -61,6 +61,10 @@ module.exports = function (grunt) {
cwd: 'static/demos-assets',
dest: 'demos/assets',
expand: true
},
starter: {
src: ['demos/starter.html'],
dest: 'dist/starter.html'
}
},
@ -151,7 +155,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-babel');
grunt.registerTask('default',
['jshint', 'webpack:build', 'copy:dist', 'test', 'build-demos']);
['build', 'test', 'build-demos', 'copy:starter']);
// Development server
grunt.registerTask('server', ['webpack-dev-server:start']);
@ -161,8 +165,7 @@ module.exports = function (grunt) {
['jshint', 'webpack:dev', 'copy:dist', 'watch:app']);
// Production build
grunt.registerTask('build',
['jshint', 'webpack:build', 'copy:dist']);
grunt.registerTask('build', ['jshint', 'webpack:build', 'copy:dist']);
// Build demos
grunt.registerTask('dev-demos', ['build-demos', 'watch:templates']);

View file

@ -31,6 +31,7 @@ git clone --bare https://github.com/koalyptus/TableFilter.git
Alternatively you can [download](https://github.com/koalyptus/TableFilter/archive/master.zip) this repository.
##Setup
Copy the ``tablefilter`` directory under ``dist`` and place it at desired location in your project. Then include the main js file in your page:
```shell
<script src="path/to/my/scripts/tablefilter/tablefilter.js"></script>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
/**
* TableFilter v0.0.0 by Max Guglielmi
* build date: 2015-07-09T22:29:29.403Z
* build date: 2015-07-10T07:12:21.982Z
* MIT License
*/

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -18,10 +18,8 @@
col_1: "select",
col_2: "select",
col_3: "select",
remember_grid_values: true,
alternate_rows: true,
rows_counter: true,
rows_counter_text: "Displayed rows: ",
btn_reset: true,
loader: true,
status_bar: true,