Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<a name="0.2.5"></a>

# 0.2.5 (2015-02-23)
- build v0.2.5
- bug: revert UMD support due to breaking changes (#288, #289, #290)
- bug: fix extend (PR #286)
- chore: fix typos in CHANGELOG

<a name="0.2.4"></a>

# 0.2.4 (2015-02-18)
Expand Down
15 changes: 2 additions & 13 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,8 @@ module.exports = function(grunt) {
concat: {
options: {
banner: '<%= meta.banner %>' + '\n' +
"(function (factory) {\n" +
" if (typeof define === 'function' && define.amd) {\n" +
" define(['exports', 'angular'], factory);\n" +
" } else if (typeof module === 'object' && typeof module.exports === 'object') {\n" +
" factory(module.exports, require('angular'));\n" +
" } else if (typeof angular !== 'undefined') {\n" +
" root = (typeof root !== 'undefined') ? root : {};\n" +
" factory((root.exports || (root.exports = {})), angular);\n" +
" } else {\n" +
" throw new Error('Unable to initialize angular-local-storage');\n" +
" }\n" +
"})(function(exports, angular) {\n",
footer: '});'
'(function (window, angular) {\n',
footer: '})(window, window.angular);'
},
dist: {
src: ['src/angular-local-storage.js'],
Expand Down
17 changes: 3 additions & 14 deletions dist/angular-local-storage.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
/**
* An Angular module that gives you access to the browsers local storage
* @version v0.2.4 - 2016-02-22
* @version v0.2.5 - 2016-02-23
* @link https://github.com/grevory/angular-local-storage
* @author grevory <greg@gregpike.ca>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['exports', 'angular'], factory);
} else if (typeof module === 'object' && typeof module.exports === 'object') {
factory(module.exports, require('angular'));
} else if (typeof angular !== 'undefined') {
root = (typeof root !== 'undefined') ? root : {};
factory((root.exports || (root.exports = {})), angular);
} else {
throw new Error('Unable to initialize angular-local-storage');
}
})(function(exports, angular) {
(function (window, angular) {
var isDefined = angular.isDefined,
isUndefined = angular.isUndefined,
isNumber = angular.isNumber,
Expand Down Expand Up @@ -454,4 +443,4 @@ angular
};
}];
});
});
})(window, window.angular);
6 changes: 4 additions & 2 deletions dist/angular-local-storage.min.js

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

1 change: 1 addition & 0 deletions dist/angular-local-storage.min.js.map

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

Loading