@@ -48,10 +48,10 @@ asyncTest('malformed cookie value in IE', function () {
4848 // Sandbox in an iframe so that we can poke around with document.cookie.
4949 var iframe = document . createElement ( 'iframe' ) ;
5050 var addEvent = function ( element , eventName , fn ) {
51- var method = " addEventListener" ;
51+ var method = ' addEventListener' ;
5252 if ( element . attachEvent ) {
5353 eventName = 'on' + eventName ;
54- method = " attachEvent" ;
54+ method = ' attachEvent' ;
5555 }
5656 element [ method ] ( eventName , fn ) ;
5757 } ;
@@ -186,12 +186,12 @@ test('passing options reference', function () {
186186 var options = { path : '/' } ;
187187 Cookies . set ( 'c' , 'v' , options ) ;
188188 Cookies . remove ( 'c' , options ) ;
189- deepEqual ( options , { path : '/' } , " won't alter options object" ) ;
189+ deepEqual ( options , { path : '/' } , ' won\ 't alter options object' ) ;
190190} ) ;
191191
192192module ( 'converters' , lifecycle ) ;
193193
194- //github.com/carhartl/jquery-cookie/pull/166
194+ // github.com/carhartl/jquery-cookie/pull/166
195195test ( 'provide a way for decoding characters encoded by the escape function' , function ( ) {
196196 expect ( 1 ) ;
197197 document . cookie = 'c=%u5317%u4eac' ;
@@ -209,7 +209,7 @@ test('should decode a malformed char that matches the decodeURIComponent regex',
209209test ( 'should be able to conditionally decode a single malformed cookie' , function ( ) {
210210 expect ( 4 ) ;
211211 var cookies = Cookies . withConverter ( function ( value , name ) {
212- if ( name === 'escaped' ) {
212+ if ( name === 'escaped' ) {
213213 return unescape ( value ) ;
214214 }
215215 } ) ;
@@ -278,7 +278,7 @@ test('Object Constructor', function () {
278278 strictEqual ( Cookies . get ( 'c' ) , '{"k":"v"}' , 'should return a String' ) ;
279279} ) ;
280280
281- test ( 'Use String(value) for unsupported objects that do not stringify into JSON' , function ( ) {
281+ test ( 'Use String(value) for unsupported objects that do not stringify into JSON' , function ( ) {
282282 expect ( 2 ) ;
283283
284284 Cookies . set ( 'date' , new Date ( 2015 , 04 , 13 , 0 , 0 , 0 , 0 ) ) ;
@@ -295,7 +295,7 @@ test('Call to read all cookies with mixed json', function () {
295295
296296module ( 'noConflict' , lifecycle ) ;
297297
298- test ( 'do not conflict with existent globals' , function ( ) {
298+ test ( 'do not conflict with existent globals' , function ( ) {
299299 expect ( 2 ) ;
300300 var Cookies = window . Cookies . noConflict ( ) ;
301301 Cookies . set ( 'c' , 'v' ) ;
0 commit comments