-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8192524
commit b8bd316
Showing
38 changed files
with
449 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.DS_Store": true, | ||
"temp": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Contributing to Inversify | ||
|
||
## Setup | ||
|
||
1 - Clone your fork of the repository: | ||
``` | ||
$ git clone https://github.com/YOUR_USERNAME/inversify-devtools.git | ||
``` | ||
|
||
2 - Install typings: | ||
``` | ||
$ npm install -g typings | ||
``` | ||
|
||
3 - Install type definitions: | ||
``` | ||
$ typings install | ||
``` | ||
|
||
4 - Install npm dependencies: | ||
``` | ||
$ npm install | ||
``` | ||
|
||
5 - Run build process | ||
``` | ||
$ gulp | ||
``` | ||
|
||
## Guidelines | ||
|
||
- Please try to [combine multiple commits before pushing](http://stackoverflow.com/questions/6934752/combining-multiple-commits-before-pushing-in-git) | ||
|
||
- Please use `TDD` when fixing bugs. This means that you should write a unit test that fails because it reproduces the issue, | ||
then fix the issue finally run the test to ensure that the issue has been resolved. This helps us to prevent fixed bugs from | ||
happening again in the future. | ||
|
||
- Please keep the test coverage at 100%. Write additional unit test if necessary | ||
|
||
- Please create an issue before sending a PR ff your it is going to change the public interface of InversifyJS or it | ||
includes significant architecture changes. | ||
|
||
- Feel free to ask for help from other members of the InversifyJS team via the chat / mailing list or github issues. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { makeActionCreator } from "../utils/utils"; | ||
import ACTION_TYPES from "../constants/action_types"; | ||
import interfaces from "../interfaces/interfaces"; | ||
|
||
let saveSettingsSuccess = makeActionCreator(ACTION_TYPES.SAVE_SETTINGS_SUCCESS); | ||
let saveSettingsError = makeActionCreator(ACTION_TYPES.SAVE_SETTINGS_ERROR, "exception"); | ||
|
||
let saveSettingsAsync = function (settings: interfaces.UserSettings) { | ||
try { | ||
window.localStorage.setItem("inversify_settings", JSON.stringify(settings)); | ||
return saveSettingsSuccess(); | ||
} catch (e) { | ||
return saveSettingsError(e); | ||
} | ||
}; | ||
|
||
let settingsActions = { | ||
saveSettingsAsync | ||
}; | ||
|
||
export default settingsActions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import * as React from "react"; | ||
import Panel from "./panel"; | ||
import interfaces from "../interfaces/interfaces"; | ||
|
||
class RequestTree extends React.Component<any, any> { | ||
|
||
public constructor(props: any) { | ||
super(props); | ||
} | ||
|
||
public render() { | ||
return ( | ||
<Panel title={"Composition Tree"} subtitle={"Explorer"} columnSize={this.props.columnSize} height={this.props.height}> | ||
// TODO | ||
</Panel> | ||
); | ||
} | ||
|
||
} | ||
|
||
export default RequestTree; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.