MDL-52127 js: check amd files with eslint grunt task
[moodle.git] / lib / amd / src / localstorage.js
index 3ca51ec..e1e346a 100644 (file)
@@ -105,6 +105,7 @@ define(['core/config'], function(config) {
     var hashString = function(source) {
         // From http://stackoverflow.com/questions/7616461/generate-a-hash-from-string-in-javascript-jquery.
         /* jshint bitwise: false */
+        /* eslint no-bitwise: "off" */
         var hash = 0, i, chr, len;
         if (source.length === 0) {
             return hash;