Skip to content

Commit

Permalink
Remove unused references
Browse files Browse the repository at this point in the history
  • Loading branch information
cburgmer committed Jan 21, 2022
1 parent d3dac68 commit 7c98b67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 45 deletions.
17 changes: 0 additions & 17 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
clean: {
deps: ["build/dependencies/*.js"],
dist: ["build/*.js", "dist/", "packageVersion.js"],
all: ["build"],
},
Expand Down Expand Up @@ -83,15 +82,6 @@ module.exports = function (grunt) {
},
},
browserify: {
inlineresources: {
src: "node_modules/inlineresources/src/inline.js",
dest: "build/dependencies/inlineresources.js",
options: {
browserifyOptions: {
standalone: "inlineresources",
},
},
},
allinone: {
src: "build/<%= pkg.name %>.umd.js",
dest: "dist/<%= pkg.name %>.allinone.js",
Expand Down Expand Up @@ -120,7 +110,6 @@ module.exports = function (grunt) {
" * imagediff.js (MIT License),\n" +
" * ayepromise (BSD License & WTFPL),\n" +
" * url (MIT License),\n" +
" * CSSOM (MIT License),\n" +
" * xmlserializer (MIT License),\n" +
" * css-font-face-src (BSD License),\n" +
" * inlineresources (MIT License),\n" +
Expand Down Expand Up @@ -203,11 +192,6 @@ module.exports = function (grunt) {
}
);

grunt.registerTask("dependencies", [
"clean:deps",
"browserify:inlineresources",
]);

grunt.registerTask("test", ["jshint", "csslint", "connect", "jasmine"]);

grunt.registerTask("build", [
Expand All @@ -220,7 +204,6 @@ module.exports = function (grunt) {
]);

grunt.registerTask("default", [
"dependencies",
"test",
"build",
"shell:smokeTestLoader",
Expand Down
10 changes: 1 addition & 9 deletions test/.jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,21 @@
"globalstrict": true,
"globals": {
"require": true,
"localserver": true,
"console": true,
"jasmine": true,
"describe": true,
"it": true,
"xit": true,
"beforeEach": true,
"afterEach": true,
"runs": true,
"expect": true,
"spyOn": true,
"setFixtures": true,
"readFixtures": true,
"inlineresources": true,
"ayepromise": true,
"imagediff": true,
"imagediffForJasmine2": true,
"csscriticLib": true,
"csscriticTestPath": true,
"csscritic": true,
"testHelper": true,
"loadStoragePluginSpecs": true,
"jasmineRequire": true,
"executeJasmine": true
"testHelper": true
}
}
21 changes: 2 additions & 19 deletions test/ui/.jshintrc
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
{
"extends": "../../.jshintrc",
"globals": {
"$": true,
"jasmine": true,
"describe": true,
"it": true,
"beforeEach": true,
"afterEach": true,
"waitsFor": true,
"runs": true,
"expect": true,
"spyOn": true,
"rasterizeHTML": true,
"imagediff": true,
"imagediffForJasmine2": true,
"csscriticLib": true,
"csscriticTestPath": true,
"testHelper": true,
"loadStoragePluginSpecs": true,
"indexedDB": true
"csscriticLib": true
},
"exported": ["loadStoragePluginSpecs"]
"exported": []
}

0 comments on commit 7c98b67

Please sign in to comment.