Skip to content

Commit 75f84cf

Browse files
committed
Not used anymore - get a decent browser or polyfill.
1 parent 8b65ac5 commit 75f84cf

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/model_utils.js

-10
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@ Model.Utils = {
1111
return receiver
1212
},
1313

14-
inArray: function(array, obj) {
15-
if (array.indexOf) return array.indexOf(obj)
16-
17-
for (var i = 0, length = array.length; i < length; i++) {
18-
if (array[i] === obj) return i
19-
}
20-
21-
return -1
22-
},
23-
2414
inherits: function(parent) {
2515
var ctor = function() {}
2616
ctor.prototype = parent.prototype

0 commit comments

Comments
 (0)