remove unused hash method on string
This commit is contained in:
@@ -150,15 +150,6 @@ Utility.is_global_hook_defined = function(path) {
|
||||
return typeof obj === 'function';
|
||||
}
|
||||
|
||||
String.prototype.hash = function() {
|
||||
var hash = 5381, i = this.length;
|
||||
|
||||
while(i)
|
||||
hash = (hash * 33) ^ this.charCodeAt(--i)
|
||||
|
||||
return hash >>> 0;
|
||||
}
|
||||
|
||||
$.fn.selectRange = function(start, end) {
|
||||
return this.each(function() {
|
||||
if (this.setSelectionRange) {
|
||||
|
||||
Reference in New Issue
Block a user