mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-08 00:42:28 +02:00
Updated README, added starter file
This commit is contained in:
parent
e446558bd6
commit
26beface31
|
@ -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']);
|
||||
|
|
|
@ -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
2354
demos/demo.html
2354
demos/demo.html
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
5137
demos/requirejs.html
5137
demos/requirejs.html
File diff suppressed because it is too large
Load diff
2
dist/tablefilter/tablefilter.js
vendored
2
dist/tablefilter/tablefilter.js
vendored
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
4
dist/tablefilter/tf-1.js
vendored
4
dist/tablefilter/tf-1.js
vendored
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
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue