Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
hfpp2012
/
react-spd
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 675cf7f2
authored
May 27, 2017
by
hfpp2012 yinsigan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add mobx logger
1 parent
02cdb053
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
37 deletions
package.json
src/index.js
yarn.lock
package.json
View file @
675cf7f
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
"html-webpack-plugin"
:
"^2.28.0"
,
"html-webpack-plugin"
:
"^2.28.0"
,
"jquery"
:
"^3.2.1"
,
"jquery"
:
"^3.2.1"
,
"mobx"
:
"^3.1.10"
,
"mobx"
:
"^3.1.10"
,
"mobx-logger"
:
"^0.6.0"
,
"mobx-react"
:
"^4.1.8"
,
"mobx-react"
:
"^4.1.8"
,
"path"
:
"^0.12.7"
,
"path"
:
"^0.12.7"
,
"react"
:
"^15.5.4"
,
"react"
:
"^15.5.4"
,
...
...
src/index.js
View file @
675cf7f
...
@@ -13,6 +13,9 @@ import elementGroupStore from './stores/ElementGroup'
...
@@ -13,6 +13,9 @@ import elementGroupStore from './stores/ElementGroup'
import
headerStore
from
'./stores/Header'
import
headerStore
from
'./stores/Header'
import
modalRepoFormStore
from
'./stores/ModalRepoForm'
import
modalRepoFormStore
from
'./stores/ModalRepoForm'
import
{
enableLogging
}
from
'mobx-logger'
enableLogging
()
const
stores
=
{
elementGroupStore
,
headerStore
,
modalRepoFormStore
}
const
stores
=
{
elementGroupStore
,
headerStore
,
modalRepoFormStore
}
ReactDOM
.
render
(
ReactDOM
.
render
(
...
...
yarn.lock
View file @
675cf7f
...
@@ -453,10 +453,6 @@ babel-plugin-syntax-decorators@^6.1.18, babel-plugin-syntax-decorators@^6.13.0:
...
@@ -453,10 +453,6 @@ babel-plugin-syntax-decorators@^6.1.18, babel-plugin-syntax-decorators@^6.13.0:
version "6.13.0"
version "6.13.0"
resolved "http://registry.npm.taobao.org/babel-plugin-syntax-decorators/download/babel-plugin-syntax-decorators-6.13.0.tgz#312563b4dbde3cc806cee3e416cceeaddd11ac0b"
resolved "http://registry.npm.taobao.org/babel-plugin-syntax-decorators/download/babel-plugin-syntax-decorators-6.13.0.tgz#312563b4dbde3cc806cee3e416cceeaddd11ac0b"
babel-plugin-syntax-do-expressions@^6.8.0:
version "6.13.0"
resolved "http://registry.npm.taobao.org/babel-plugin-syntax-do-expressions/download/babel-plugin-syntax-do-expressions-6.13.0.tgz#5747756139aa26d390d09410b03744ba07e4796d"
babel-plugin-syntax-dynamic-import@^6.18.0:
babel-plugin-syntax-dynamic-import@^6.18.0:
version "6.18.0"
version "6.18.0"
resolved "http://registry.npm.taobao.org/babel-plugin-syntax-dynamic-import/download/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
resolved "http://registry.npm.taobao.org/babel-plugin-syntax-dynamic-import/download/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
...
@@ -473,10 +469,6 @@ babel-plugin-syntax-flow@^6.18.0:
...
@@ -473,10 +469,6 @@ babel-plugin-syntax-flow@^6.18.0:
version "6.18.0"
version "6.18.0"
resolved "http://registry.npm.taobao.org/babel-plugin-syntax-flow/download/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
resolved "http://registry.npm.taobao.org/babel-plugin-syntax-flow/download/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
babel-plugin-syntax-function-bind@^6.8.0:
version "6.13.0"
resolved "http://registry.npm.taobao.org/babel-plugin-syntax-function-bind/download/babel-plugin-syntax-function-bind-6.13.0.tgz#48c495f177bdf31a981e732f55adc0bdd2601f46"
babel-plugin-syntax-jsx@^6.3.13, babel-plugin-syntax-jsx@^6.8.0:
babel-plugin-syntax-jsx@^6.3.13, babel-plugin-syntax-jsx@^6.8.0:
version "6.18.0"
version "6.18.0"
resolved "http://registry.npm.taobao.org/babel-plugin-syntax-jsx/download/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
resolved "http://registry.npm.taobao.org/babel-plugin-syntax-jsx/download/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
...
@@ -540,13 +532,6 @@ babel-plugin-transform-decorators@^6.24.1:
...
@@ -540,13 +532,6 @@ babel-plugin-transform-decorators@^6.24.1:
babel-template "^6.24.1"
babel-template "^6.24.1"
babel-types "^6.24.1"
babel-types "^6.24.1"
babel-plugin-transform-do-expressions@^6.22.0:
version "6.22.0"
resolved "http://registry.npm.taobao.org/babel-plugin-transform-do-expressions/download/babel-plugin-transform-do-expressions-6.22.0.tgz#28ccaf92812d949c2cd1281f690c8fdc468ae9bb"
dependencies:
babel-plugin-syntax-do-expressions "^6.8.0"
babel-runtime "^6.22.0"
babel-plugin-transform-es2015-arrow-functions@^6.22.0:
babel-plugin-transform-es2015-arrow-functions@^6.22.0:
version "6.22.0"
version "6.22.0"
resolved "http://registry.npm.taobao.org/babel-plugin-transform-es2015-arrow-functions/download/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221"
resolved "http://registry.npm.taobao.org/babel-plugin-transform-es2015-arrow-functions/download/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221"
...
@@ -737,13 +722,6 @@ babel-plugin-transform-flow-strip-types@^6.22.0:
...
@@ -737,13 +722,6 @@ babel-plugin-transform-flow-strip-types@^6.22.0:
babel-plugin-syntax-flow "^6.18.0"
babel-plugin-syntax-flow "^6.18.0"
babel-runtime "^6.22.0"
babel-runtime "^6.22.0"
babel-plugin-transform-function-bind@^6.22.0:
version "6.22.0"
resolved "http://registry.npm.taobao.org/babel-plugin-transform-function-bind/download/babel-plugin-transform-function-bind-6.22.0.tgz#c6fb8e96ac296a310b8cf8ea401462407ddf6a97"
dependencies:
babel-plugin-syntax-function-bind "^6.8.0"
babel-runtime "^6.22.0"
babel-plugin-transform-object-rest-spread@^6.22.0:
babel-plugin-transform-object-rest-spread@^6.22.0:
version "6.23.0"
version "6.23.0"
resolved "http://registry.npm.taobao.org/babel-plugin-transform-object-rest-spread/download/babel-plugin-transform-object-rest-spread-6.23.0.tgz#875d6bc9be761c58a2ae3feee5dc4895d8c7f921"
resolved "http://registry.npm.taobao.org/babel-plugin-transform-object-rest-spread/download/babel-plugin-transform-object-rest-spread-6.23.0.tgz#875d6bc9be761c58a2ae3feee5dc4895d8c7f921"
...
@@ -785,12 +763,6 @@ babel-plugin-transform-regenerator@^6.24.1:
...
@@ -785,12 +763,6 @@ babel-plugin-transform-regenerator@^6.24.1:
dependencies:
dependencies:
regenerator-transform "0.9.11"
regenerator-transform "0.9.11"
babel-plugin-transform-runtime@^6.23.0:
version "6.23.0"
resolved "http://registry.npm.taobao.org/babel-plugin-transform-runtime/download/babel-plugin-transform-runtime-6.23.0.tgz#88490d446502ea9b8e7efb0fe09ec4d99479b1ee"
dependencies:
babel-runtime "^6.22.0"
babel-plugin-transform-strict-mode@^6.24.1:
babel-plugin-transform-strict-mode@^6.24.1:
version "6.24.1"
version "6.24.1"
resolved "http://registry.npm.taobao.org/babel-plugin-transform-strict-mode/download/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758"
resolved "http://registry.npm.taobao.org/babel-plugin-transform-strict-mode/download/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758"
...
@@ -844,14 +816,6 @@ babel-preset-react@^6.24.1:
...
@@ -844,14 +816,6 @@ babel-preset-react@^6.24.1:
babel-plugin-transform-react-jsx-source "^6.22.0"
babel-plugin-transform-react-jsx-source "^6.22.0"
babel-preset-flow "^6.23.0"
babel-preset-flow "^6.23.0"
babel-preset-stage-0@^6.24.1:
version "6.24.1"
resolved "http://registry.npm.taobao.org/babel-preset-stage-0/download/babel-preset-stage-0-6.24.1.tgz#5642d15042f91384d7e5af8bc88b1db95b039e6a"
dependencies:
babel-plugin-transform-do-expressions "^6.22.0"
babel-plugin-transform-function-bind "^6.22.0"
babel-preset-stage-1 "^6.24.1"
babel-preset-stage-1@^6.24.1:
babel-preset-stage-1@^6.24.1:
version "6.24.1"
version "6.24.1"
resolved "http://registry.npm.taobao.org/babel-preset-stage-1/download/babel-preset-stage-1-6.24.1.tgz#7692cd7dcd6849907e6ae4a0a85589cfb9e2bfb0"
resolved "http://registry.npm.taobao.org/babel-preset-stage-1/download/babel-preset-stage-1-6.24.1.tgz#7692cd7dcd6849907e6ae4a0a85589cfb9e2bfb0"
...
@@ -891,7 +855,7 @@ babel-register@^6.24.1:
...
@@ -891,7 +855,7 @@ babel-register@^6.24.1:
mkdirp "^0.5.1"
mkdirp "^0.5.1"
source-map-support "^0.4.2"
source-map-support "^0.4.2"
babel-runtime@^6.11.6, babel-runtime@^6.18.0, babel-runtime@^6.2.0, babel-runtime@^6.22.0
, babel-runtime@^6.23.0
:
babel-runtime@^6.11.6, babel-runtime@^6.18.0, babel-runtime@^6.2.0, babel-runtime@^6.22.0:
version "6.23.0"
version "6.23.0"
resolved "http://registry.npm.taobao.org/babel-runtime/download/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b"
resolved "http://registry.npm.taobao.org/babel-runtime/download/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b"
dependencies:
dependencies:
...
@@ -3300,6 +3264,10 @@ mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdi
...
@@ -3300,6 +3264,10 @@ mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdi
dependencies:
dependencies:
minimist "0.0.8"
minimist "0.0.8"
mobx-logger@^0.6.0:
version "0.6.0"
resolved "http://registry.npm.taobao.org/mobx-logger/download/mobx-logger-0.6.0.tgz#caa2d4a65257aa0a782d6f884e6207b834408122"
mobx-react@^4.1.8:
mobx-react@^4.1.8:
version "4.1.8"
version "4.1.8"
resolved "http://registry.npm.taobao.org/mobx-react/download/mobx-react-4.1.8.tgz#5b636c01c599bbee248c05c5aab6c77a41ab07f9"
resolved "http://registry.npm.taobao.org/mobx-react/download/mobx-react-4.1.8.tgz#5b636c01c599bbee248c05c5aab6c77a41ab07f9"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment