mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Calendar: Fix jshint issues
This commit is contained in:
parent
705b674776
commit
7ed4554109
@ -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" } ),
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user