Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Commit

Permalink
v0.3.0
Browse files Browse the repository at this point in the history
* Added JavaScript module compatibility support with
[node](https://nodejs.org/) and
[CommonJS](https://nodejs.org/docs/latest/api/modules.html) using
`module.exports` syntax
* Ensure module has window and angular defined by importing `window`
and `window.angular`
  • Loading branch information
simison committed Sep 2, 2016
1 parent dd99e28 commit 1a28805
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<a name"0.3.0"></a>
### 0.3.0 (2016-09-02)
* Added JavaScript module compatibility support with [node](https://nodejs.org/) and [CommonJS](https://nodejs.org/docs/latest/api/modules.html) using `module.exports` syntax
* Ensure module has window and angular defined by importing `window` and `window.angular`

<a name"0.2.0"></a>
### 0.2.0 (2015-09-01)
#### New feature:
Expand Down
11 changes: 6 additions & 5 deletions dist/tr-trustpass.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
(function() {
(function(window, angular) {
'use strict';

/**
* @ngdoc directive
* @name trTrustPass.directive:trTrustPass
* @description
* Checklist validator for password strength.
* @module trTrustpass
* @name trTrustpass
* @restrict A
* @scope
*/
angular
.module('trTrustpass', [])
Expand Down Expand Up @@ -200,4 +201,4 @@

}

})();
})(window, window.angular);
2 changes: 1 addition & 1 deletion dist/tr-trustpass.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1a28805

Please sign in to comment.