@@ -30,12 +30,14 @@ var uppercase = function (string){ return isString(string) ? string.toUpperCase(
3030
3131
3232var manualLowercase = function ( s ) {
33- return isString ( s ) ? s . replace ( / [ A - Z ] / g,
34- function ( ch ) { return fromCharCode ( ch . charCodeAt ( 0 ) | 32 ) ; } ) : s ;
33+ return isString ( s )
34+ ? s . replace ( / [ A - Z ] / g, function ( ch ) { return fromCharCode ( ch . charCodeAt ( 0 ) | 32 ) ; } )
35+ : s ;
3536} ;
3637var manualUppercase = function ( s ) {
37- return isString ( s ) ? s . replace ( / [ a - z ] / g,
38- function ( ch ) { return fromCharCode ( ch . charCodeAt ( 0 ) & ~ 32 ) ; } ) : s ;
38+ return isString ( s )
39+ ? s . replace ( / [ a - z ] / g, function ( ch ) { return fromCharCode ( ch . charCodeAt ( 0 ) & ~ 32 ) ; } )
40+ : s ;
3941} ;
4042
4143
@@ -89,7 +91,9 @@ var _undefined = undefined,
8991 jQuery , // delay binding
9092 slice = Array . prototype . slice ,
9193 push = Array . prototype . push ,
92- error = window [ $console ] ? bind ( window [ $console ] , window [ $console ] [ 'error' ] || noop ) : noop ,
94+ error = window [ $console ]
95+ ? bind ( window [ $console ] , window [ $console ] [ 'error' ] || noop )
96+ : noop ,
9397
9498 /** @name angular */
9599 angular = window [ $angular ] || ( window [ $angular ] = { } ) ,
@@ -417,13 +421,13 @@ function isElement(node) {
417421 */
418422function HTML ( html , option ) {
419423 this . html = html ;
420- this . get = lowercase ( option ) == 'unsafe' ?
421- valueFn ( html ) :
422- function htmlSanitize ( ) {
423- var buf = [ ] ;
424- htmlParser ( html , htmlSanitizeWriter ( buf ) ) ;
425- return buf . join ( '' ) ;
426- } ;
424+ this . get = lowercase ( option ) == 'unsafe'
425+ ? valueFn ( html )
426+ : function htmlSanitize ( ) {
427+ var buf = [ ] ;
428+ htmlParser ( html , htmlSanitizeWriter ( buf ) ) ;
429+ return buf . join ( '' ) ;
430+ } ;
427431}
428432
429433if ( msie ) {
0 commit comments