Skip to content

Commit

Permalink
chore: bump to 0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Mar 5, 2015
1 parent cb8dd62 commit a9518a5
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="0.6.2"></a>
# 0.6.2 (2015-03-05)


## Features

- first step on supporting systemjs & import
([cb8dd62e](https://github.com/ocombe/ocLazyLoad/commit/cb8dd62ed9052995cbaf132d94092d1d103dd74d))


<a name="0.6.1"></a>
# 0.6.1 (2015-03-05)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oclazyload",
"version": "0.6.1",
"version": "0.6.2",
"description": "Load modules on demand (lazy load) with angularJS",
"main": "dist/ocLazyLoad.min.js",
"homepage": "https://github.com/ocombe/ocLazyLoad",
Expand Down
9 changes: 8 additions & 1 deletion dist/ocLazyLoad.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* oclazyload - Load modules on demand (lazy load) with angularJS
* @version v0.6.1
* @version v0.6.2
* @link https://github.com/ocombe/ocLazyLoad
* @license MIT
* @author Olivier Combe <[email protected]>
Expand Down Expand Up @@ -594,6 +594,13 @@
return $q.all(promisesList);
};

// if someone loaded the module file with something else and called the load function with just the module name
if(angular.isUndefined(config.files) && angular.isDefined(config.name) && moduleExists(config.name)) {
recordDeclarations.push(true); // start watching angular.module calls
addToLoadList(config.name);
recordDeclarations.pop();
}

filesLoader(config, localParams).then(function success() {
if(modulesToLoad.length === 0) {
deferred.resolve(module);
Expand Down
4 changes: 2 additions & 2 deletions dist/ocLazyLoad.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oclazyload",
"version": "0.6.1",
"version": "0.6.2",
"description": "Load modules on demand (lazy load) with angularJS",
"main": "dist/ocLazyLoad.min.js",
"author": "Olivier Combe <[email protected]>",
Expand Down

0 comments on commit a9518a5

Please sign in to comment.