Skip to content

Commit 9fc8409

Browse files
committed
JSHINT
1 parent afc90ac commit 9fc8409

File tree

8 files changed

+83
-177
lines changed

8 files changed

+83
-177
lines changed

.distignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.gitignore
44
.travis.yml
55
.jshintrc
6+
.jshintignore
67
.eslintrc.js
78
Gruntfile.js
89
grunt

.jshintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
assets/js/build/*.js
2+
vue
3+
node_modules
4+
Gruntfile.js
5+
webpack.config.js

Dockunit.json

Lines changed: 0 additions & 91 deletions
This file was deleted.

Lucyunit.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

assets/js/build/rop.js

Lines changed: 72 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/******/ (function(modules) { // webpackBootstrap
1+
/******/ (function(modules) { // webpackBootstrap
22
/******/ // The module cache
33
/******/ var installedModules = {};
44
/******/
@@ -67,56 +67,56 @@
6767
/* 0 */
6868
/***/ (function(module, exports) {
6969

70-
/*
71-
MIT License http://www.opensource.org/licenses/mit-license.php
72-
Author Tobias Koppers @sokra
73-
*/
74-
// css base code, injected by the css-loader
75-
module.exports = function() {
76-
var list = [];
77-
78-
// return the list of modules as css string
79-
list.toString = function toString() {
80-
var result = [];
81-
for(var i = 0; i < this.length; i++) {
82-
var item = this[i];
83-
if(item[2]) {
84-
result.push("@media " + item[2] + "{" + item[1] + "}");
85-
} else {
86-
result.push(item[1]);
87-
}
88-
}
89-
return result.join("");
90-
};
91-
92-
// import a list of modules into the list
93-
list.i = function(modules, mediaQuery) {
94-
if(typeof modules === "string")
95-
modules = [[null, modules, ""]];
96-
var alreadyImportedModules = {};
97-
for(var i = 0; i < this.length; i++) {
98-
var id = this[i][0];
99-
if(typeof id === "number")
100-
alreadyImportedModules[id] = true;
101-
}
102-
for(i = 0; i < modules.length; i++) {
103-
var item = modules[i];
104-
// skip already imported module
105-
// this implementation is not 100% perfect for weird media query combinations
106-
// when a module is imported multiple times with different media queries.
107-
// I hope this will never occur (Hey this way we have smaller bundles)
108-
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
109-
if(mediaQuery && !item[2]) {
110-
item[2] = mediaQuery;
111-
} else if(mediaQuery) {
112-
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
113-
}
114-
list.push(item);
115-
}
116-
}
117-
};
118-
return list;
119-
};
70+
/*
71+
MIT License http://www.opensource.org/licenses/mit-license.php
72+
Author Tobias Koppers @sokra
73+
*/
74+
// css base code, injected by the css-loader
75+
module.exports = function() {
76+
var list = [];
77+
78+
// return the list of modules as css string
79+
list.toString = function toString() {
80+
var result = [];
81+
for(var i = 0; i < this.length; i++) {
82+
var item = this[i];
83+
if(item[2]) {
84+
result.push("@media " + item[2] + "{" + item[1] + "}");
85+
} else {
86+
result.push(item[1]);
87+
}
88+
}
89+
return result.join("");
90+
};
91+
92+
// import a list of modules into the list
93+
list.i = function(modules, mediaQuery) {
94+
if(typeof modules === "string")
95+
modules = [[null, modules, ""]];
96+
var alreadyImportedModules = {};
97+
for(var i = 0; i < this.length; i++) {
98+
var id = this[i][0];
99+
if(typeof id === "number")
100+
alreadyImportedModules[id] = true;
101+
}
102+
for(i = 0; i < modules.length; i++) {
103+
var item = modules[i];
104+
// skip already imported module
105+
// this implementation is not 100% perfect for weird media query combinations
106+
// when a module is imported multiple times with different media queries.
107+
// I hope this will never occur (Hey this way we have smaller bundles)
108+
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
109+
if(mediaQuery && !item[2]) {
110+
item[2] = mediaQuery;
111+
} else if(mediaQuery) {
112+
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
113+
}
114+
list.push(item);
115+
}
116+
}
117+
};
118+
return list;
119+
};
120120

121121

122122
/***/ }),
@@ -11361,27 +11361,27 @@ window.onload = function () {
1136111361
/* 36 */
1136211362
/***/ (function(module, exports) {
1136311363

11364-
var g;
11365-
11366-
// This works in non-strict mode
11367-
g = (function() {
11368-
return this;
11369-
})();
11370-
11371-
try {
11372-
// This works if eval is allowed (see CSP)
11373-
g = g || Function("return this")() || (1,eval)("this");
11374-
} catch(e) {
11375-
// This works if the window reference is available
11376-
if(typeof window === "object")
11377-
g = window;
11378-
}
11379-
11380-
// g can still be undefined, but nothing to do about it...
11381-
// We return undefined, instead of nothing here, so it's
11382-
// easier to handle this case. if(!global) { ...}
11383-
11384-
module.exports = g;
11364+
var g;
11365+
11366+
// This works in non-strict mode
11367+
g = (function() {
11368+
return this;
11369+
})();
11370+
11371+
try {
11372+
// This works if eval is allowed (see CSP)
11373+
g = g || Function("return this")() || (1,eval)("this");
11374+
} catch(e) {
11375+
// This works if the window reference is available
11376+
if(typeof window === "object")
11377+
g = window;
11378+
}
11379+
11380+
// g can still be undefined, but nothing to do about it...
11381+
// We return undefined, instead of nothing here, so it's
11382+
// easier to handle this case. if(!global) { ...}
11383+
11384+
module.exports = g;
1138511385

1138611386

1138711387
/***/ }),

assets/js/build/rop.min.js

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

vue/src/models/rop_store.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
// jshint ignore: start
2+
13
/* global ropApiSettings */
4+
/* exported ropApiSettings */
25

36
import Vue from 'vue'
47
import Vuex from 'vuex'

vue/src/rop_main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// jshint ignore: start
12
/* eslint no-unused-vars: 0 */
23
/* exported RopApp */
34

0 commit comments

Comments
 (0)