Skip to content

Commit

Permalink
Using <!webkit> and <!ES5>
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer committed Apr 21, 2011
1 parent 01ece39 commit b42f128
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Source/Element/Element.js
Expand Up @@ -820,7 +820,7 @@ Element.Properties.tag = {
})(document.createElement('input').getAttribute('maxLength')); })(document.createElement('input').getAttribute('maxLength'));
/*</ltIE9>*/ /*</ltIE9>*/


/*<!mobile>*/ /*<!webkit>*/
Element.Properties.html = (function(){ Element.Properties.html = (function(){


var tableTest = Function.attempt(function(){ var tableTest = Function.attempt(function(){
Expand Down Expand Up @@ -857,4 +857,4 @@ Element.Properties.html = (function(){


return html; return html;
})(); })();
/*</!mobile>*/ /*</!webkit>*/
4 changes: 2 additions & 2 deletions Source/Types/Array.js
Expand Up @@ -16,7 +16,7 @@ provides: Array


Array.implement({ Array.implement({


/*<ltIE9>*/ /*<!ES5>*/
every: function(fn, bind){ every: function(fn, bind){
for (var i = 0, l = this.length; i < l; i++){ for (var i = 0, l = this.length; i < l; i++){
if ((i in this) && !fn.call(bind, this[i], i, this)) return false; if ((i in this) && !fn.call(bind, this[i], i, this)) return false;
Expand Down Expand Up @@ -54,7 +54,7 @@ Array.implement({
} }
return false; return false;
}, },
/*</ltIE9>*/ /*</!ES5>*/


clean: function(){ clean: function(){
return this.filter(function(item){ return this.filter(function(item){
Expand Down
4 changes: 2 additions & 2 deletions Source/Types/Function.js
Expand Up @@ -37,7 +37,7 @@ Function.implement({
return null; return null;
}, },


/*<!mobile>*/ /*<!ES5>*/
bind: function(bind){ bind: function(bind){
var self = this, var self = this,
args = (arguments.length > 1) ? Array.slice(arguments, 1) : null; args = (arguments.length > 1) ? Array.slice(arguments, 1) : null;
Expand All @@ -48,7 +48,7 @@ Function.implement({
return self.apply(bind, args || arguments); return self.apply(bind, args || arguments);
}; };
}, },
/*</!mobile>*/ /*</!ES5>*/


pass: function(args, bind){ pass: function(args, bind){
var self = this; var self = this;
Expand Down
2 changes: 1 addition & 1 deletion Specs

4 comments on commit b42f128

@ibolmo
Copy link
Member

@ibolmo ibolmo commented on b42f128 Apr 21, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ES5 as in EcmaScript 5? ammend your commit message ;)

@cpojer
Copy link
Member Author

@cpojer cpojer commented on b42f128 Apr 21, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What?

@michaelficarra
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What?

@ibolmo
Copy link
Member

@ibolmo ibolmo commented on b42f128 Apr 21, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In da butt.

http://www.southparkstudios.com/full-episodes/s12e04-canada-on-strike 08:20

But seriously, the commit message is lame-o. Not sure what <!ES5> is unless I look at the contents of the commit. It's lame request, but just consider it for future commits. kthxbai

Please sign in to comment.