Use String#include wherever possible.
This commit is contained in:
parent
16127b024a
commit
4dece6b277
@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Use String#include wherever possible.
|
||||
|
||||
* In IE, allow opacity to be set on elements not yet attached to the document. Closes #9904. [Thomas Fuchs, dcpedit, Tobie Langel]
|
||||
|
||||
* Avoid the try..catch block in Ajax.Response#_getResponseJSON unless required. [Tobie Langel]
|
||||
|
@ -133,7 +133,7 @@ Object.extend(Event, (function() {
|
||||
}
|
||||
|
||||
function getDOMEventName(eventName) {
|
||||
if (eventName && eventName.match(/:/)) return "dataavailable";
|
||||
if (eventName && eventName.include(':')) return "dataavailable";
|
||||
return eventName;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user