Skip to content

Commit 0ce6043

Browse files
committed
Using ng2-mobx's wrappers for observable and computed for AoT
1 parent b7aec3e commit 0ce6043

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<a name="3.0.2"></a>
2+
# 3.0.2 (2017-02-25)
3+
* Using ng2-mobx's wrappers for observable and computed for AoT
4+
15
<a name="3.0.1"></a>
26
# 3.0.1 (2017-02-25)
37
* Fix lint errors

lib/components/tree-node-collection.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import {
22
Component, Input, ViewEncapsulation, OnInit, OnDestroy
33
} from '@angular/core';
4-
import { reaction, autorun, observable, computed } from 'mobx';
4+
import { reaction, autorun } from 'mobx';
5+
import { observable, computed } from 'ng2-mobx';
56
import { TreeVirtualScroll } from '../models/tree-virtual-scroll.model';
67
import { TreeNode } from '../models/tree-node.model';
78

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular2-tree-component",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "A simple yet powerful tree component for Angular2",
55
"author": "Adam Klein <adam@500tech.com>",
66
"homepage": "https://github.com/500tech/angular2-tree-component",
@@ -41,7 +41,7 @@
4141
"dependencies": {
4242
"lodash": "^4.6.1",
4343
"mobx": "^3.1.0",
44-
"ng2-mobx": "^1.2.8"
44+
"ng2-mobx": "^1.2.9"
4545
},
4646
"devDependencies": {
4747
"@angular/common": "^2.3.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,9 @@ mobx@^3.1.0:
484484
version "3.1.0"
485485
resolved "https://registry.yarnpkg.com/mobx/-/mobx-3.1.0.tgz#e5f15b475efdd1eea1f5c43a0afccde6e6f322ee"
486486

487-
ng2-mobx@^1.2.8:
488-
version "1.2.8"
489-
resolved "https://registry.yarnpkg.com/ng2-mobx/-/ng2-mobx-1.2.8.tgz#4d98bb515b3adebefec6afc532c2831c9706beae"
487+
ng2-mobx@^1.2.9:
488+
version "1.2.9"
489+
resolved "https://registry.yarnpkg.com/ng2-mobx/-/ng2-mobx-1.2.9.tgz#1efe0154c3acd9ea07eb29b332fbc5f412db0835"
490490

491491
node-status-codes@^1.0.0:
492492
version "1.0.0"

0 commit comments

Comments
 (0)