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
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ Element.Properties.tag = {
})(document.createElement('input').getAttribute('maxLength'));
/*</ltIE9>*/

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

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

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

Array.implement({

/*<ltIE9>*/
/*<!ES5>*/
every: function(fn, bind){
for (var i = 0, l = this.length; i < l; i++){
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;
},
/*</ltIE9>*/
/*</!ES5>*/

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

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

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

0 comments on commit b42f128

Please sign in to comment.