mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
JS error in IE due to @cc_on usage earlier in the document by html5.js
--HG-- branch : dev
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user