Skip to content

Commit

Permalink
chore(release): Build Dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelParke committed Aug 17, 2016
1 parent eb2ee32 commit 9602e12
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 8 deletions.
20 changes: 18 additions & 2 deletions dist/textAngular.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@license textAngular
Author : Austin Anderson
License : 2013 MIT
Version 1.5.5
Version 1.5.6-0
See README.md or https://github.com/fraywing/textAngular/wiki for requirements and use.
*/
Expand All @@ -12,7 +12,10 @@ Commonjs package manager support (eg componentjs).
*/


"use strict";
"use strict";// NOTE: textAngularVersion must match the Gruntfile.js 'setVersion' task.... and have format v/d+./d+./d+
var textAngularVersion = 'v1.5.6-0'; // This is automatically updated during the build process to the current release!


// IE version detection - http://stackoverflow.com/questions/4169160/javascript-ie-detection-why-not-use-simple-conditional-comments
// We need this as IE sometimes plays funny tricks with the contenteditable.
// ----------------------------------------------------------
Expand Down Expand Up @@ -3109,6 +3112,8 @@ textAngular.service('textAngularManager', ['taToolExecuteAction', 'taTools', 'ta
// the inital state is correct.
//
updateStyles: updateStyles,
// return the current version of textAngular in use to the user
getVersion: function () { return textAngularVersion; },
// for testing
getToolbarScopes: function () { return toolbarScopes; }
};
Expand Down Expand Up @@ -3295,3 +3300,14 @@ textAngular.directive('textAngularToolbar', [
};
}
]);
textAngular.directive('textAngularVersion', ['textAngularManager',
function(textAngularManager) {
var version = textAngularManager.getVersion();
return {
restrict: "EA",
link: function (scope, element, attrs) {
element.html(version);
}
};
}
]);
6 changes: 3 additions & 3 deletions dist/textAngular.min.js

Large diffs are not rendered by default.

20 changes: 18 additions & 2 deletions dist/textAngular.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ angular.module('textAngularSetup', [])
@license textAngular
Author : Austin Anderson
License : 2013 MIT
Version 1.5.5
Version 1.5.6-0
See README.md or https://github.com/fraywing/textAngular/wiki for requirements and use.
*/
Expand All @@ -908,7 +908,10 @@ Commonjs package manager support (eg componentjs).
*/


"use strict";
"use strict";// NOTE: textAngularVersion must match the Gruntfile.js 'setVersion' task.... and have format v/d+./d+./d+
var textAngularVersion = 'v1.5.6-0'; // This is automatically updated during the build process to the current release!


// IE version detection - http://stackoverflow.com/questions/4169160/javascript-ie-detection-why-not-use-simple-conditional-comments
// We need this as IE sometimes plays funny tricks with the contenteditable.
// ----------------------------------------------------------
Expand Down Expand Up @@ -4005,6 +4008,8 @@ textAngular.service('textAngularManager', ['taToolExecuteAction', 'taTools', 'ta
// the inital state is correct.
//
updateStyles: updateStyles,
// return the current version of textAngular in use to the user
getVersion: function () { return textAngularVersion; },
// for testing
getToolbarScopes: function () { return toolbarScopes; }
};
Expand Down Expand Up @@ -4191,6 +4196,17 @@ textAngular.directive('textAngularToolbar', [
};
}
]);
textAngular.directive('textAngularVersion', ['textAngularManager',
function(textAngularManager) {
var version = textAngularManager.getVersion();
return {
restrict: "EA",
link: function (scope, element, attrs) {
element.html(version);
}
};
}
]);

return textAngular.name;

Expand Down
2 changes: 1 addition & 1 deletion src/globals.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// NOTE: textAngularVersion must match the Gruntfile.js 'setVersion' task.... and have format v/d+./d+./d+
var textAngularVersion = 'v1.5.5'; // This is automatically updated during the build process to the current release!
var textAngularVersion = 'v1.5.6-0'; // This is automatically updated during the build process to the current release!


// IE version detection - http://stackoverflow.com/questions/4169160/javascript-ie-detection-why-not-use-simple-conditional-comments
Expand Down

0 comments on commit 9602e12

Please sign in to comment.