Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1680 from prb112/master
Browse files Browse the repository at this point in the history
1.1.4 Release Updates
  • Loading branch information
prb112 committed May 6, 2015
2 parents a19fd03 + 04b98bf commit ac1bde7
Show file tree
Hide file tree
Showing 94 changed files with 37,689 additions and 38,477 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ Desktop.ini
## Mac OS
############

# Mac crap
# Desktop Services Store for the Mac
.DS_Store
2 changes: 1 addition & 1 deletion assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
<directory>${project.build.directory}/tomcat</directory>
<outputDirectory>sbtsdk/tomcat</outputDirectory>
<includes>
<include>**/apache-tomcat-7.0.54-sbt.zip</include>
<include>**/apache-tomcat-7.0.61-sbt.zip</include>
</includes>
</fileSet>
<fileSet>
Expand Down
237 changes: 118 additions & 119 deletions assembly/cdnjs/sbt-core-dojo-amd.js

Large diffs are not rendered by default.

44 changes: 2 additions & 42 deletions assembly/cdnjs/sbt-core-dojo-amd.js.uncompressed.js
Original file line number Diff line number Diff line change
Expand Up @@ -3180,32 +3180,6 @@ define(['dojo/_base/declare'],function(declare) {
* @module sbt.i18n
*/
define(['./_bridge/i18n'],function(i18n) {
var nls = {
todayAt : "Today at ",
on : "on "
};

i18n.getUpdatedLabel = function(dateStr) {
var date = new Date(dateStr);
var dateClone = new Date(date.getTime());
var now = new Date();
if (dateClone.setHours(0,0,0,0) == now.setHours(0,0,0,0)) {
return nls.todayAt + this.getLocalizedTime(date);
} else {
return nls.on + this.getLocalizedDate(date);
}
};

i18n.getSearchUpdatedLabel = function(dateStr) {
var date = new Date(dateStr);
var dateClone = new Date(date.getTime());
var now = new Date();
if (dateClone.setHours(0,0,0,0) == now.setHours(0,0,0,0)) {
return nls.todayAt + this.getLocalizedTime(date);
} else {
return this.getLocalizedDate(date);
}
};
return i18n;
});

Expand Down Expand Up @@ -19742,22 +19716,8 @@ define([ "../lang", "../smartcloud/SmartcloudConstants" ], function(lang,conn) {
/**
* Social Business Toolkit SDK.
*/
define(['dojo/i18n', 'dojo/date/locale'],function(i18n, dateLocale) {
var load = function(id, require, callback){
i18n.load(id, require, callback);
};

return {
load : load,

getLocalizedTime: function(date) {
return dateLocale.format(date, { selector:"time",formatLength:"short" });
},

getLocalizedDate: function(date) {
return dateLocale.format(date, { selector:"date",formatLength:"medium" });
}
};
define(['dojo/i18n'],function(i18n) {
return i18n;
});


Expand Down
884 changes: 0 additions & 884 deletions assembly/cdnjs/sbt-extra-controls-dojo-amd.js

Large diffs are not rendered by default.

Loading

0 comments on commit ac1bde7

Please sign in to comment.