Calendar: Fix jshint issues

This commit is contained in:
Felix Nagel 2015-11-25 22:22:31 +01:00
parent 705b674776
commit 7ed4554109
2 changed files with 2 additions and 1 deletions

View File

@ -411,7 +411,7 @@ grunt.registerTask( "compile-globalize", function() {
Globalize.load( cldrData.entireSupplemental() ); Globalize.load( cldrData.entireSupplemental() );
formatters = languages.reduce( function( ret, language ) { formatters = languages.reduce( function( ret, language ) {
var globalize = Globalize( language ); var globalize = new Globalize( language );
ret = ret.concat([ ret = ret.concat([
globalize.dateFormatter( { raw: "EEEEEE" } ), globalize.dateFormatter( { raw: "EEEEEE" } ),

View File

@ -9,6 +9,7 @@ return $.extend( helper, {
getAttributes: function( locale ) { getAttributes: function( locale ) {
var globalize = new Globalize( locale ), var globalize = new Globalize( locale ),
weekdayShortFormatter = globalize.dateFormatter( { raw: "EEEEEE" } ), weekdayShortFormatter = globalize.dateFormatter( { raw: "EEEEEE" } ),
weekdayNarrowFormatter = globalize.dateFormatter( { raw: "EEEEE" } ),
firstDayRaw = globalize.dateFormatter( { raw: "c" } )( new Date( 1970, 0, 3 ) ); firstDayRaw = globalize.dateFormatter( { raw: "c" } )( new Date( 1970, 0, 3 ) );
return { return {