Comparing version 2.4.15 to 2.5.0
@@ -24,3 +24,3 @@ "use strict"; | ||
src_1.startDebug(); | ||
src_1.dobEvent.on("debug", function (info) { | ||
src_1.globalState.event.on("debug", function (info) { | ||
// tslint:disable-next-line:no-console | ||
@@ -27,0 +27,0 @@ console.log(123, info); |
@@ -10,2 +10,3 @@ "use strict"; | ||
var global_state_1 = require("./global-state"); | ||
exports.globalState = global_state_1.globalState; | ||
var immutable_1 = require("./immutable"); | ||
@@ -12,0 +13,0 @@ exports.createReduxStore = immutable_1.createReduxStore; |
@@ -1,2 +0,2 @@ | ||
import { Action, combineStores, dobEvent, inject, isObservable, observable, observe } from "../../src" | ||
import { Action, combineStores, globalState, inject, isObservable, observable, observe } from "../../src" | ||
@@ -3,0 +3,0 @@ @observable |
@@ -1,2 +0,2 @@ | ||
import { Action, dobEvent, isObservable, observable, observe, Reaction, startDebug, useStrict } from "../../src" | ||
import { Action, globalState, isObservable, observable, observe, Reaction, startDebug, useStrict } from "../../src" | ||
@@ -3,0 +3,0 @@ function waitOneMinute() { |
@@ -1,2 +0,2 @@ | ||
import { Action, combineStores, dobEvent, inject, isObservable, observable, observe, Reaction, startDebug, useStrict } from "../../src" | ||
import { Action, combineStores, globalState, inject, isObservable, observable, observe, Reaction, startDebug, useStrict } from "../../src" | ||
@@ -6,3 +6,3 @@ useStrict() | ||
dobEvent.on("debug", info => { | ||
globalState.event.on("debug", info => { | ||
// tslint:disable-next-line:no-console | ||
@@ -9,0 +9,0 @@ console.log(123, info) |
{ | ||
"name": "dob", | ||
"version": "2.4.15", | ||
"version": "2.5.0", | ||
"description": "", | ||
@@ -22,3 +22,3 @@ "main": "built/src/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/ascoders/dependency-inject.git" | ||
"url": "git+https://github.com/dobjs/dob.git" | ||
}, | ||
@@ -28,5 +28,5 @@ "author": "", | ||
"bugs": { | ||
"url": "https://github.com/ascoders/dependency-inject/issues" | ||
"url": "https://github.com/dobjs/dob/issues" | ||
}, | ||
"homepage": "https://github.com/ascoders/dependency-inject#readme", | ||
"homepage": "https://github.com/dobjs/dob#readme", | ||
"devDependencies": { | ||
@@ -33,0 +33,0 @@ "@types/classnames": "*", |
@@ -1,4 +0,12 @@ | ||
# Dob · [](https://travis-ci.org/ascoders/dob) [](https://www.npmjs.com/package/dob) [](https://codecov.io/github/ascoders/dob) | ||
# Dob · [](https://travis-ci.org/dobjs/dob) [](https://www.npmjs.com/package/dob) [](https://codecov.io/github/dobjs/dob) | ||
Dob is a tool for monitoring object changes. Using [Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy). | ||
<p align="center"> | ||
<img src="./docs/dob logo.png" height=100/> | ||
<h3 align="center">dob</h3> | ||
<p align="center"> | ||
<i> | ||
Dob is a tool for monitoring object changes. Using <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy">Proxy</a>. | ||
</i> | ||
<p> | ||
</p> | ||
@@ -5,0 +13,0 @@ ## Examples |
@@ -36,6 +36,7 @@ import { inject, injectFactory as combineStores } from "dependency-inject" | ||
inject, | ||
combineStores, | ||
globalState, | ||
dobEvent, | ||
inject, | ||
combineStores | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
591266
6407
138