Skip to content

Commit fb574a0

Browse files
committed
commonjs amd
1 parent 871ad72 commit fb574a0

12 files changed

Lines changed: 834 additions & 571 deletions

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1+
# IDE
2+
.idea
3+
*.iml
4+
5+
# Modules
6+
bower_components
17
node_modules
8+
9+
#test
10+
test
11+
spec

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ var tables = $("table").tableExport();
117117

118118
```js
119119
/* update */
120-
tables.tableExport.update({
120+
tables.update({
121121
filename: "newFile" // pass in a new set of properties
122122
});
123123

124124
/* reset */
125-
tables.tableExport.reset(); // useful for a dynamically altered table
125+
tables.reset(); // useful for a dynamically altered table
126126

127127
/* remove */
128-
tables.tableExport.remove(); // removes caption and buttons
128+
tables.remove(); // removes caption and buttons
129129
```
130130

131131
### Properties

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tableexport.js",
3-
"version": "3.2.5",
3+
"version": "4.0.0-beta",
44
"authors": [
55
"clarketm <travis.m.clarke@gmail.com>"
66
],

dist/css/tableexport.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* TableExport.js v3.2.5 (http://www.clarketravis.com)
2+
* TableExport.js v4.0.0-beta (http://www.clarketravis.com)
33
* Copyright 2016 Travis Clarke
44
* Licensed under the MIT license
55
*/

dist/css/tableexport.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/tableexport.js

Lines changed: 404 additions & 278 deletions
Large diffs are not rendered by default.

dist/js/tableexport.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tableexport",
3-
"version": "3.2.5",
3+
"version": "4.0.0-beta",
44
"authors": [
55
"clarketm <travis.m.clarke@gmail.com>"
66
],
@@ -32,7 +32,7 @@
3232
"dependencies": {
3333
"Blob": "*",
3434
"bootstrap": "~3.3.5",
35-
"filesaver.js": "~0.2.0",
35+
"file-saver": "^1.3.2",
3636
"jquery": "~1.11.3",
3737
"xlsx": "0.8.0"
3838
},
@@ -41,7 +41,8 @@
4141
"gulp": "^3.9.1",
4242
"gulp-clean-css": "^2.0.7",
4343
"gulp-rename": "^1.2.2",
44-
"gulp-uglify": "^1.5.3"
44+
"gulp-uglify": "^1.5.3",
45+
"jasmine": "^2.4.1"
4546
},
4647
"license": "MIT",
4748
"homepage": "http://www.clarketravis.com",

src/stable/css/tableexport.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* TableExport.js v3.2.5 (http://www.clarketravis.com)
2+
* TableExport.js v4.0.0-beta (http://www.clarketravis.com)
33
* Copyright 2016 Travis Clarke
44
* Licensed under the MIT license
55
*/

src/stable/css/tableexport.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)