Skip to content

Commit

Permalink
refactor(conflicts): resolving merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed May 28, 2016
1 parent 4046dad commit 03f1d1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions es/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
/* global window */
import ponyfill from './ponyfill';

let root = this;
var root = this;
if (typeof global !== 'undefined') {
root = global;
} else if (typeof window !== 'undefined') {
root = window;
}

export default ponyfill(root);
var result = ponyfill(root);
// being explicit
result['default'] = result;
export default result;
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
"node": ">=0.10.0"
},
"scripts": {
"test": "mocha && tsc ./ts-test/test.ts && node ./ts-test/test.js"
"test": "npm run build && mocha && tsc ./ts-test/test.ts && node ./ts-test/test.js",
"build": "babel es --out-dir lib",
"test": "npm run build && mocha",
"prepublish": "npm test"
},
"files": [
Expand Down

0 comments on commit 03f1d1f

Please sign in to comment.