Commit ec5123a5 authored by Arthur Verschaeve's avatar Arthur Verschaeve

Cujo: fix JSCS errors

parent a3eee606
...@@ -18,7 +18,7 @@ define(function () { ...@@ -18,7 +18,7 @@ define(function () {
function setTextProp(nodes, value) { function setTextProp(nodes, value) {
for (var i = 0; i < nodes.length; i++) { for (var i = 0; i < nodes.length; i++) {
nodes[i][textProp] = '' + value; nodes[i][textProp] = String(value);
} }
} }
......
...@@ -6,7 +6,7 @@ define(function () { ...@@ -6,7 +6,7 @@ define(function () {
// GUID-like generation, not actually a GUID, tho, from: // GUID-like generation, not actually a GUID, tho, from:
// http://stackoverflow.com/questions/7940616/what-makes-this-pseudo-guid-generator-better-than-math-random // http://stackoverflow.com/questions/7940616/what-makes-this-pseudo-guid-generator-better-than-math-random
function s4() { function s4() {
return (((1 + Math.random()) * 0x10000)|0).toString(16).substring(1); return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
} }
function guidLike() { function guidLike() {
......
...@@ -174,7 +174,8 @@ define({ ...@@ -174,7 +174,8 @@ define({
} }
}, },
plugins: [ //'wire/debug', plugins: [
// 'wire/debug',
'wire/dom', 'wire/dom/render', 'wire/on', 'wire/dom', 'wire/dom/render', 'wire/on',
'wire/aop', 'wire/connect', 'cola' 'wire/aop', 'wire/connect', 'cola'
] ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment