Sha256: 07e0c9ccee21581a720e1e4040845bf0c5a56f457c254ccf4289db13547b800e
Contents?: true
Size: 315 Bytes
Versions: 69
Compression:
Stored size: 315 Bytes
Contents
define(['../lang/toString'], function(toString) { /** * Searches for a given substring */ function contains(str, substring, fromIndex){ str = toString(str); substring = toString(substring); return str.indexOf(substring, fromIndex) !== -1; } return contains; });
Version data entries
69 entries across 69 versions & 2 rubygems