Skip to content

Commit 38d64b5

Browse files
committed
- replaced deprecated jQuery functions ($.proxy and $.type)
- updated README with documentation so we no longer need the website - updated dependencies
1 parent 646e2f2 commit 38d64b5

53 files changed

Lines changed: 9005 additions & 5439 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules/
22
strip-*.zip
33
*.log
44
.idea
5+
.history

Gruntfile.js

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
module.exports = function(grunt) {
1+
module.exports = function (grunt) {
22
// Config
33
grunt.initConfig({
44
pkg: grunt.file.readJSON("package.json"),
55
dirs: {
6-
dest: "dist"
6+
dest: "dist",
77
},
88

99
vars: {},
1010

1111
concat: {
1212
js: {
1313
options: {
14-
process: true
14+
process: true,
1515
},
1616
src: [
1717
"src/js/umd-head.js",
@@ -39,17 +39,17 @@ module.exports = function(grunt) {
3939

4040
"src/js/api.js",
4141

42-
"src/js/umd-tail.js"
42+
"src/js/umd-tail.js",
4343
],
44-
dest: "<%= dirs.dest %>/js/strip.pkgd.js"
44+
dest: "<%= dirs.dest %>/js/strip.pkgd.js",
4545
},
4646
css: {
4747
options: {
48-
process: true
48+
process: true,
4949
},
5050
src: ["src/css/strip.css"],
51-
dest: "<%= dirs.dest %>/css/strip.css"
52-
}
51+
dest: "<%= dirs.dest %>/css/strip.css",
52+
},
5353
},
5454

5555
copy: {
@@ -59,47 +59,47 @@ module.exports = function(grunt) {
5959
expand: true,
6060
cwd: "src/css/strip-skins/",
6161
src: ["**"],
62-
dest: "<%= dirs.dest %>/css/strip-skins/"
63-
}
64-
]
65-
}
62+
dest: "<%= dirs.dest %>/css/strip-skins/",
63+
},
64+
],
65+
},
6666
},
6767

6868
uglify: {
6969
js: {
7070
options: {
7171
output: {
72-
comments: "some"
73-
}
72+
comments: "some",
73+
},
7474
},
7575
src: ["<%= dirs.dest %>/js/strip.pkgd.js"],
76-
dest: "<%= dirs.dest %>/js/strip.pkgd.min.js"
77-
}
76+
dest: "<%= dirs.dest %>/js/strip.pkgd.min.js",
77+
},
7878
},
7979

8080
svgmin: {
8181
options: {
8282
plugins: [
8383
{ removeViewBox: false },
8484
{ removeUselessStrokeAndFill: false },
85-
{ removeEmptyAttrs: false }
86-
]
85+
{ removeEmptyAttrs: false },
86+
],
8787
},
8888
dist: {
8989
files: [
9090
{
9191
expand: true,
9292
cwd: "src/css/",
9393
src: ["**/*.svg"],
94-
dest: "src/css/"
95-
}
96-
]
97-
}
94+
dest: "src/css/",
95+
},
96+
],
97+
},
9898
},
9999

100100
clean: {
101-
dest: "<%= dirs.dest %>/*"
102-
}
101+
dest: "<%= dirs.dest %>/*",
102+
},
103103
});
104104

105105
// Load plugins
@@ -108,15 +108,14 @@ module.exports = function(grunt) {
108108
grunt.loadNpmTasks("grunt-contrib-uglify");
109109
grunt.loadNpmTasks("grunt-contrib-clean");
110110
grunt.loadNpmTasks("grunt-svgmin");
111-
grunt.loadNpmTasks("grunt-sync");
112111

113112
// Tasks
114113
grunt.registerTask("default", [
115114
"clean:dest",
116115
"concat:js",
117116
"uglify:js",
118117
"concat:css",
119-
"copy:css"
118+
"copy:css",
120119
]);
121120

122121
grunt.registerTask("svg", ["svgmin"]);

0 commit comments

Comments
 (0)