JS error in IE due to @cc_on usage earlier in the document by html5.js

--HG--
branch : dev
This commit is contained in:
Dave Reed
2010-10-15 17:19:15 -07:00
parent b53a96d83f
commit f7d611ba7f

View File

@@ -298,7 +298,8 @@
return match && match[0].toLowerCase() || typeof(i); return match && match[0].toLowerCase() || typeof(i);
}, },
//+ Jonas Raoni Soares Silva //+ Jonas Raoni Soares Silva
//@ http://jsfromhell.com/string/pad [v1.0] // the @ sign next to "//" is interpreted by IE when using cc<underscore>on! Inserted a space.
// @ http://jsfromhell.com/string/pad [v1.0]
__pad: function(str, l, s, t){ __pad: function(str, l, s, t){
var p = s || ' '; var p = s || ' ';
var o = str; var o = str;