Skip to content

Commit

Permalink
1.2.1 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
jordangarcia committed Nov 5, 2015
1 parent 69f8087 commit 574c045
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.2.1 (November 5, 2015)

- **[FIXED]** Observers of the entire app state not triggering on actions from a late registered store

## 1.2.0 (November 1, 2015)

- **[NEW]** Exposed new API methods: `batchStart` and `batchStop`.
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": "nuclear-js",
"version": "1.2.0",
"version": "1.2.1",
"homepage": "https://github.com/optimizely/nuclear-js",
"authors": [
"Jordan Garcia"
Expand Down
8 changes: 7 additions & 1 deletion dist/nuclear.js
Original file line number Diff line number Diff line change
Expand Up @@ -6291,7 +6291,13 @@ return /******/ (function(modules) { // webpackBootstrap
return false;
}

return entry.get('storeStates').every(function (stateId, storeId) {
var storeStates = entry.get('storeStates');
if (storeStates.size === 0) {
// if there are no store states for this entry then it was never cached before
return false;
}

return storeStates.every(function (stateId, storeId) {
return reactorState.getIn(['storeStates', storeId]) === stateId;
});
}
Expand Down
2 changes: 1 addition & 1 deletion dist/nuclear.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": "nuclear-js",
"version": "1.2.0",
"version": "1.2.1",
"description": "Immutable, reactive Flux architecture. UI Agnostic.",
"main": "dist/nuclear.js",
"scripts": {
Expand Down

0 comments on commit 574c045

Please sign in to comment.