Changes

Jump to navigation Jump to search
m
no edit summary
Line 21: Line 21:  
       mwEStruct = {
 
       mwEStruct = {
 
         wbXntity: 'config.values.wbEntity'
 
         wbXntity: 'config.values.wbEntity'
 +
      };
 +
 +
 +
hashCode = function(s) {
 +
        var h = 0, l = s.length, i = 0;
 +
        if ( l > 0 )
 +
          while (i < l)
 +
            h = (h << 5) - h + s.charCodeAt(i++) | 0;
 +
        return h;
 
       };
 
       };
   Line 253: Line 262:  
}
 
}
   −
// ADD MORE DOC
      +
   
   −
      hashCode = function(s) {
+
// ADD MORE DOC
        var h = 0, l = s.length, i = 0;
  −
        if ( l > 0 )
  −
          while (i < l)
  −
            h = (h << 5) - h + s.charCodeAt(i++) | 0;
  −
        return h;
  −
      };
      
// Add new record (create pddbname@record) if it does not exist.  
 
// Add new record (create pddbname@record) if it does not exist.  
530

edits

Navigation menu