Commits

Shlomi Fish committed 4654fb0

Add "use strict" to the JS code.

This makes us need to declare all variables and prevent common errors.

It is similar to "use strict;" in Perl.

Saw this on Ynon's lecture today on http://telaviv.pm.org/ .

Comments (0)

Files changed (2)

abc-path/js/abc-path-test.js

+"use strict";
 function test_abc_path()
 {
 

abc-path/js/abc-path.js

+"use strict";
 Class('ABC_Path', {
 });
 Class('ABC_Path.Constants', {