silverstripe-framework/admin
Ingo Schommer 7bc6f3ee9f Enforce JS var declaration with value (#5993)
This caught us out recently where code did a strict type check for `myVar === undefined`.
The var was defined as `let myVar;`, without a value - so the check returned false (it's `null`).
To avoid this situation, we've decided to enforce declarations with values.
Note that preference should be given to single, immutable assignments via const where possible.

See http://eslint.org/docs/rules/init-declarations
2016-09-13 11:02:15 +12:00
..
client Enforce JS var declaration with value (#5993) 2016-09-13 11:02:15 +12:00
code Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
javascript/lang Merge branch '3' 2016-08-23 10:37:47 +01:00
templates/SilverStripe API Namespace all classes 2016-09-08 10:23:17 +12:00
tests Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
themes/cms-forms/templates/SilverStripe/Forms API Namespace all classes 2016-09-08 10:23:17 +12:00
thirdparty API Replace baked-in and modified Chosen 0.9.8 with npm'ed in Chosen 1.5.1 2016-04-14 10:45:39 +12:00
_config.php API Namespace all classes 2016-09-08 10:23:17 +12:00
.gitignore MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00