Skip to content

Commit

Permalink
Removin immutable as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mihirk committed Jul 10, 2017
1 parent 8a4e71c commit 9d29890
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"coverage": "istanbul cover --report lcov _mocha --require ./node_modules/react-native-mock/mock.js --require src/test/testHelper.js $(find ./src/test -name '*Test.js')"
},
"dependencies": {
"immutable": "^3.8.1",
"invariant": "^2.2.2",
"lodash": "^4.12.0",
"moment": "^2.15.1",
Expand Down
3 changes: 1 addition & 2 deletions src/js/framework/view/AbstractComponent.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React, {Component} from 'react';
import {ActivityIndicator, StyleSheet, Alert} from 'react-native';
import {Map} from 'immutable';

class AbstractComponent extends Component {
constructor(props, context) {
super(props, context);
this.renderComponent = this.renderComponent.bind(this);
this.spinnerDefaults = Map({color: 'white', size: 'small'});
this.spinnerDefaults = Map([["color", 'white'], ["size", 'small']]);
this.showError = this.showError.bind(this);
}

Expand Down
1 change: 0 additions & 1 deletion src/js/views/assessment/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import PrimaryColors from "../styles/PrimaryColors";
import Typography from "../styles/Typography";
import Actions from '../../action';
import {Icon} from 'native-base';
import {comp} from 'immutable';
import _ from 'lodash';


Expand Down

0 comments on commit 9d29890

Please sign in to comment.