Skip to content

Commit

Permalink
Directly use immutable-devtools as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mattzeunert committed Jan 27, 2018
1 parent add6f13 commit 5e2546f
Show file tree
Hide file tree
Showing 8 changed files with 3,518 additions and 280 deletions.
2 changes: 1 addition & 1 deletion extension/content-script.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extension/manifest.json
Expand Up @@ -2,7 +2,7 @@
"name": "Immutable.js Object Formatter",
"short_name": "Immutable.js Object Formatter",
"description": "Mkaes Immutable JS objects more readable when they are logged to the console.",
"version": "1.7",
"version": "1.8",
"manifest_version": 2,
"minimum_chrome_version": "48.0",
"content_scripts": [
Expand Down
27 changes: 0 additions & 27 deletions immutable-devtools/LICENSE

This file was deleted.

203 changes: 0 additions & 203 deletions immutable-devtools/create-formatters.js

This file was deleted.

35 changes: 0 additions & 35 deletions immutable-devtools/index.js

This file was deleted.

11 changes: 5 additions & 6 deletions index.js
@@ -1,8 +1,7 @@
import installDevTools from './immutable-devtools'
installDevTools()
import installDevTools from 'immutable-devtools'
import Immutable from 'immutable'

import {isRecord as isRecordForTesting} from "./immutable-devtools/create-formatters"

if (window.__ExposeIsRecordForTesting) {
window.isRecordForTesting = isRecordForTesting;
if (!window.__ImmutableJSDevToolsFormattersInstalled === true) {
installDevTools(Immutable)
window.__ImmutableJSDevToolsFormattersInstalled = true;
}

0 comments on commit 5e2546f

Please sign in to comment.