1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-17 22:06:41 +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', cwd: 'static/demos-assets',
dest: 'demos/assets', dest: 'demos/assets',
expand: true expand: true
},
starter: {
src: ['demos/starter.html'],
dest: 'dist/starter.html'
} }
}, },
@ -151,7 +155,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-babel'); grunt.loadNpmTasks('grunt-babel');
grunt.registerTask('default', grunt.registerTask('default',
['jshint', 'webpack:build', 'copy:dist', 'test', 'build-demos']); ['build', 'test', 'build-demos', 'copy:starter']);
// Development server // Development server
grunt.registerTask('server', ['webpack-dev-server:start']); grunt.registerTask('server', ['webpack-dev-server:start']);
@ -161,8 +165,7 @@ module.exports = function (grunt) {
['jshint', 'webpack:dev', 'copy:dist', 'watch:app']); ['jshint', 'webpack:dev', 'copy:dist', 'watch:app']);
// Production build // Production build
grunt.registerTask('build', grunt.registerTask('build', ['jshint', 'webpack:build', 'copy:dist']);
['jshint', 'webpack:build', 'copy:dist']);
// Build demos // Build demos
grunt.registerTask('dev-demos', ['build-demos', 'watch:templates']); 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. 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: 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 ```shell
<script src="path/to/my/scripts/tablefilter/tablefilter.js"></script> <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 * 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 * 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_1: "select",
col_2: "select", col_2: "select",
col_3: "select", col_3: "select",
remember_grid_values: true,
alternate_rows: true, alternate_rows: true,
rows_counter: true, rows_counter: true,
rows_counter_text: "Displayed rows: ",
btn_reset: true, btn_reset: true,
loader: true, loader: true,
status_bar: true, status_bar: true,