Skip to content

Commit

Permalink
compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
aFarkas committed May 31, 2015
1 parent f6f2550 commit 7377979
Show file tree
Hide file tree
Showing 23 changed files with 242 additions and 134 deletions.
29 changes: 19 additions & 10 deletions js-webshim/dev/shims/combos/10.js
Original file line number Diff line number Diff line change
Expand Up @@ -2049,8 +2049,8 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
};
})();
var addZero = function(val){
if(!val){return "";}
val = val+'';
if(!val){return "";}
return val.length == 1 ? '0'+val : val;
};

Expand Down Expand Up @@ -2129,13 +2129,12 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
",": ","
},
numberSigns: '.',
dateSigns: '/',
dateSigns: '-',
timeSigns: ":. ",
dFormat: "/",
dFormat: "-",
patterns: {
d: "mm/dd/yy"
d: "yy-mm-dd"
},
meridian: ['AM', 'PM'],
month: {
currentText: 'This month'
},
Expand All @@ -2154,27 +2153,37 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
"dayNamesShort": ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],
"dayNamesMin": ["Su","Mo","Tu","We","Th","Fr","Sa"],
"weekHeader": "Wk",
"firstDay": 0,
"firstDay": 1,
"isRTL": false,
"showMonthAfterYear": false,
"yearSuffix": ""
}
}, formcfg.en || {});

if(!formcfg['en-US']){
formcfg['en-US'] = $.extend(true, {}, formcfg['en']);
formcfg['en-US'] = $.extend(true, {}, formcfg.en, {
date: {firstDay: 0},
patterns: {d: "mm/dd/yy"},
dateSigns: '-',
dFormat: "/",
meridian: ['AM', 'PM']

});
}
if(!formcfg['en-GB']){
formcfg['en-GB'] = $.extend(true, {}, formcfg.en, {
date: {firstDay: 1},
patterns: {d: "dd/mm/yy"}
date: {firstDay: 1},
patterns: {d: "dd/mm/yy"},
dateSigns: '-',
dFormat: "/",
meridian: ['AM', 'PM']
});
}
if(!formcfg['en-AU']){
formcfg['en-AU'] = $.extend(true, {}, formcfg['en-GB']);
}
if(!formcfg['']){
formcfg[''] = formcfg['en-US'];
formcfg[''] = formcfg['en'];
}

curCfg = formcfg[''];
Expand Down
29 changes: 19 additions & 10 deletions js-webshim/dev/shims/combos/11.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,8 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
};
})();
var addZero = function(val){
if(!val){return "";}
val = val+'';
if(!val){return "";}
return val.length == 1 ? '0'+val : val;
};

Expand Down Expand Up @@ -893,13 +893,12 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
",": ","
},
numberSigns: '.',
dateSigns: '/',
dateSigns: '-',
timeSigns: ":. ",
dFormat: "/",
dFormat: "-",
patterns: {
d: "mm/dd/yy"
d: "yy-mm-dd"
},
meridian: ['AM', 'PM'],
month: {
currentText: 'This month'
},
Expand All @@ -918,27 +917,37 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
"dayNamesShort": ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],
"dayNamesMin": ["Su","Mo","Tu","We","Th","Fr","Sa"],
"weekHeader": "Wk",
"firstDay": 0,
"firstDay": 1,
"isRTL": false,
"showMonthAfterYear": false,
"yearSuffix": ""
}
}, formcfg.en || {});

if(!formcfg['en-US']){
formcfg['en-US'] = $.extend(true, {}, formcfg['en']);
formcfg['en-US'] = $.extend(true, {}, formcfg.en, {
date: {firstDay: 0},
patterns: {d: "mm/dd/yy"},
dateSigns: '-',
dFormat: "/",
meridian: ['AM', 'PM']

});
}
if(!formcfg['en-GB']){
formcfg['en-GB'] = $.extend(true, {}, formcfg.en, {
date: {firstDay: 1},
patterns: {d: "dd/mm/yy"}
date: {firstDay: 1},
patterns: {d: "dd/mm/yy"},
dateSigns: '-',
dFormat: "/",
meridian: ['AM', 'PM']
});
}
if(!formcfg['en-AU']){
formcfg['en-AU'] = $.extend(true, {}, formcfg['en-GB']);
}
if(!formcfg['']){
formcfg[''] = formcfg['en-US'];
formcfg[''] = formcfg['en'];
}

curCfg = formcfg[''];
Expand Down
29 changes: 19 additions & 10 deletions js-webshim/dev/shims/combos/17.js
Original file line number Diff line number Diff line change
Expand Up @@ -1429,8 +1429,8 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
};
})();
var addZero = function(val){
if(!val){return "";}
val = val+'';
if(!val){return "";}
return val.length == 1 ? '0'+val : val;
};

Expand Down Expand Up @@ -1509,13 +1509,12 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
",": ","
},
numberSigns: '.',
dateSigns: '/',
dateSigns: '-',
timeSigns: ":. ",
dFormat: "/",
dFormat: "-",
patterns: {
d: "mm/dd/yy"
d: "yy-mm-dd"
},
meridian: ['AM', 'PM'],
month: {
currentText: 'This month'
},
Expand All @@ -1534,27 +1533,37 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
"dayNamesShort": ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],
"dayNamesMin": ["Su","Mo","Tu","We","Th","Fr","Sa"],
"weekHeader": "Wk",
"firstDay": 0,
"firstDay": 1,
"isRTL": false,
"showMonthAfterYear": false,
"yearSuffix": ""
}
}, formcfg.en || {});

if(!formcfg['en-US']){
formcfg['en-US'] = $.extend(true, {}, formcfg['en']);
formcfg['en-US'] = $.extend(true, {}, formcfg.en, {
date: {firstDay: 0},
patterns: {d: "mm/dd/yy"},
dateSigns: '-',
dFormat: "/",
meridian: ['AM', 'PM']

});
}
if(!formcfg['en-GB']){
formcfg['en-GB'] = $.extend(true, {}, formcfg.en, {
date: {firstDay: 1},
patterns: {d: "dd/mm/yy"}
date: {firstDay: 1},
patterns: {d: "dd/mm/yy"},
dateSigns: '-',
dFormat: "/",
meridian: ['AM', 'PM']
});
}
if(!formcfg['en-AU']){
formcfg['en-AU'] = $.extend(true, {}, formcfg['en-GB']);
}
if(!formcfg['']){
formcfg[''] = formcfg['en-US'];
formcfg[''] = formcfg['en'];
}

curCfg = formcfg[''];
Expand Down
29 changes: 19 additions & 10 deletions js-webshim/dev/shims/combos/5.js
Original file line number Diff line number Diff line change
Expand Up @@ -1640,8 +1640,8 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
};
})();
var addZero = function(val){
if(!val){return "";}
val = val+'';
if(!val){return "";}
return val.length == 1 ? '0'+val : val;
};

Expand Down Expand Up @@ -1720,13 +1720,12 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
",": ","
},
numberSigns: '.',
dateSigns: '/',
dateSigns: '-',
timeSigns: ":. ",
dFormat: "/",
dFormat: "-",
patterns: {
d: "mm/dd/yy"
d: "yy-mm-dd"
},
meridian: ['AM', 'PM'],
month: {
currentText: 'This month'
},
Expand All @@ -1745,27 +1744,37 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
"dayNamesShort": ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],
"dayNamesMin": ["Su","Mo","Tu","We","Th","Fr","Sa"],
"weekHeader": "Wk",
"firstDay": 0,
"firstDay": 1,
"isRTL": false,
"showMonthAfterYear": false,
"yearSuffix": ""
}
}, formcfg.en || {});

if(!formcfg['en-US']){
formcfg['en-US'] = $.extend(true, {}, formcfg['en']);
formcfg['en-US'] = $.extend(true, {}, formcfg.en, {
date: {firstDay: 0},
patterns: {d: "mm/dd/yy"},
dateSigns: '-',
dFormat: "/",
meridian: ['AM', 'PM']

});
}
if(!formcfg['en-GB']){
formcfg['en-GB'] = $.extend(true, {}, formcfg.en, {
date: {firstDay: 1},
patterns: {d: "dd/mm/yy"}
date: {firstDay: 1},
patterns: {d: "dd/mm/yy"},
dateSigns: '-',
dFormat: "/",
meridian: ['AM', 'PM']
});
}
if(!formcfg['en-AU']){
formcfg['en-AU'] = $.extend(true, {}, formcfg['en-GB']);
}
if(!formcfg['']){
formcfg[''] = formcfg['en-US'];
formcfg[''] = formcfg['en'];
}

curCfg = formcfg[''];
Expand Down
29 changes: 19 additions & 10 deletions js-webshim/dev/shims/combos/6.js
Original file line number Diff line number Diff line change
Expand Up @@ -1640,8 +1640,8 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
};
})();
var addZero = function(val){
if(!val){return "";}
val = val+'';
if(!val){return "";}
return val.length == 1 ? '0'+val : val;
};

Expand Down Expand Up @@ -1720,13 +1720,12 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
",": ","
},
numberSigns: '.',
dateSigns: '/',
dateSigns: '-',
timeSigns: ":. ",
dFormat: "/",
dFormat: "-",
patterns: {
d: "mm/dd/yy"
d: "yy-mm-dd"
},
meridian: ['AM', 'PM'],
month: {
currentText: 'This month'
},
Expand All @@ -1745,27 +1744,37 @@ webshims.register('form-number-date-ui', function ($, webshims, window, document
"dayNamesShort": ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],
"dayNamesMin": ["Su","Mo","Tu","We","Th","Fr","Sa"],
"weekHeader": "Wk",
"firstDay": 0,
"firstDay": 1,
"isRTL": false,
"showMonthAfterYear": false,
"yearSuffix": ""
}
}, formcfg.en || {});

if(!formcfg['en-US']){
formcfg['en-US'] = $.extend(true, {}, formcfg['en']);
formcfg['en-US'] = $.extend(true, {}, formcfg.en, {
date: {firstDay: 0},
patterns: {d: "mm/dd/yy"},
dateSigns: '-',
dFormat: "/",
meridian: ['AM', 'PM']

});
}
if(!formcfg['en-GB']){
formcfg['en-GB'] = $.extend(true, {}, formcfg.en, {
date: {firstDay: 1},
patterns: {d: "dd/mm/yy"}
date: {firstDay: 1},
patterns: {d: "dd/mm/yy"},
dateSigns: '-',
dFormat: "/",
meridian: ['AM', 'PM']
});
}
if(!formcfg['en-AU']){
formcfg['en-AU'] = $.extend(true, {}, formcfg['en-GB']);
}
if(!formcfg['']){
formcfg[''] = formcfg['en-US'];
formcfg[''] = formcfg['en'];
}

curCfg = formcfg[''];
Expand Down
Loading

0 comments on commit 7377979

Please sign in to comment.