Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Commit

Permalink
Removed reflect-metadata from library code (see inversify/InversifyJS…
Browse files Browse the repository at this point in the history
  • Loading branch information
spoenemann committed Mar 30, 2017
1 parent d334252 commit f2c352f
Show file tree
Hide file tree
Showing 19 changed files with 7 additions and 15 deletions.
1 change: 1 addition & 0 deletions client/examples/app.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "reflect-metadata"
import runStandalone from "./circlegraph/src/standalone"
import runSimpleServer from "./circlegraph/src/simple-server"
import runFlowServer from "./flow/src/flow-server"
Expand Down
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@
"@types/mocha": "^2.2.40",
"@types/node": "^7.0.10",
"chai": "^3.5.0",
"inversify": "^3.1.0",
"mocha": "^3.2.0",
"reflect-metadata ": "^0.1.10",
"reflect-metadata": "^0.1.10",
"snabbdom-jsx": "^0.3.1",
"snabbdom-to-html": "^3.1.1",
"ts-loader": "^2.0.0",
Expand All @@ -33,6 +32,7 @@
"circular-dependency-plugin": "^2.0.0"
},
"dependencies": {
"inversify": "^3.1.0",
"inversify-logger-middleware": "^3.0.0",
"reconnecting-websocket": "^3.0.3",
"snabbdom": "^0.6.4"
Expand Down
1 change: 1 addition & 0 deletions client/src/base/features/model-manipulation.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "reflect-metadata"
import "mocha"
import { expect } from "chai"
import { EMPTY_ROOT } from "../model/smodel-factory"
Expand Down
1 change: 1 addition & 0 deletions client/src/base/intent/action-dispatcher.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "reflect-metadata"
import "mocha"
import { ContainerModule, Container } from "inversify"
import { expect } from 'chai'
Expand Down
1 change: 0 additions & 1 deletion client/src/base/intent/action-dispatcher.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import { injectable, inject, optional } from "inversify"
import { ILogger } from "../../utils/logging"
import { TYPES } from "../types"
Expand Down
1 change: 0 additions & 1 deletion client/src/base/intent/actions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import { injectable, inject, multiInject, optional } from "inversify"
import { MultiInstanceRegistry } from "../../utils/registry"
import { ILogger } from "../../utils/logging"
Expand Down
1 change: 0 additions & 1 deletion client/src/base/intent/command-stack.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import { injectable, inject } from "inversify"
import { Command, CommandExecutionContext } from "./commands"
import { IModelFactory } from "../model/smodel-factory"
Expand Down
1 change: 1 addition & 0 deletions client/src/base/model/smodel-factory.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "mocha"
import { expect } from "chai"
import { SParentElementSchema } from "./smodel"
import { SModelFactory } from "./smodel-factory"
Expand Down
1 change: 0 additions & 1 deletion client/src/base/model/smodel-factory.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import { injectable } from "inversify"
import {
SModelElementSchema, SModelElement, SModelRootSchema, SModelRoot, SParentElementSchema, SParentElement,
Expand Down
1 change: 0 additions & 1 deletion client/src/base/view/key-tool.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import { injectable, inject, multiInject, optional } from "inversify"
import { VNode } from "snabbdom/vnode"
import { IActionDispatcher } from "../intent/action-dispatcher"
Expand Down
1 change: 0 additions & 1 deletion client/src/base/view/mouse-tool.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import * as snabbdom from "snabbdom-jsx"
import { injectable, inject, multiInject, optional } from "inversify"
import { VNode } from "snabbdom/vnode"
Expand Down
1 change: 0 additions & 1 deletion client/src/base/view/viewer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import { injectable, inject, multiInject, optional } from "inversify"
import * as snabbdom from "snabbdom-jsx"
import { init } from "snabbdom"
Expand Down
1 change: 0 additions & 1 deletion client/src/base/view/views.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import * as snabbdom from "snabbdom-jsx"
import { injectable } from "inversify"
import { VNode } from "snabbdom/vnode"
Expand Down
1 change: 0 additions & 1 deletion client/src/features/bounds/bounds-grabber.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import { injectable, inject } from "inversify"
import { VNode } from "snabbdom/vnode"
import { SModelElement } from "../../base/model/smodel"
Expand Down
1 change: 0 additions & 1 deletion client/src/graph/model/sgraph-factory.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import { injectable } from "inversify"
import { SModelFactory } from "../../base/model/smodel-factory"
import {
Expand Down
1 change: 1 addition & 0 deletions client/src/graph/view/views.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "reflect-metadata"
import "mocha"
import { expect } from "chai"
import * as snabbdom from "snabbdom-jsx"
Expand Down
1 change: 0 additions & 1 deletion client/src/remote/websocket.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import WebSocket = require("reconnecting-websocket")
import { injectable, inject } from "inversify"
import { TYPES } from "../base/types"
Expand Down
1 change: 0 additions & 1 deletion client/src/utils/logging.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import { injectable, inject } from "inversify"
import { TYPES } from "../base/types"
import { IViewerOptions } from "../base/view/viewer"
Expand Down
1 change: 0 additions & 1 deletion client/src/utils/registry.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "reflect-metadata"
import { injectable } from "inversify"
import { Map } from "./utils"

Expand Down

0 comments on commit f2c352f

Please sign in to comment.