Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Commit

Permalink
don't call es6-promise's polyfill(). stefanpenner/es6-promise#140
Browse files Browse the repository at this point in the history
  • Loading branch information
shinout committed Jan 11, 2016
1 parent d83f847 commit 75de5ee
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -4,10 +4,10 @@
"description": "Promise-styled client for LoopBack",
"main": "index.js",
"dependencies": {
"es6-promise": "^2.0.1",
"superagent": "^0.21.0"
},
"devDependencies": {
"es6-promise": "^2.0.1",
"chai": "^3.4.1",
"coffee-script": "^1.10.0",
"grunt": "^0.4.5",
Expand Down
5 changes: 0 additions & 5 deletions src/loopback-client.coffee
@@ -1,8 +1,3 @@


require('es6-promise').polyfill()


###*
Loopback Client to access to PersistedModel (or extenders)
Expand Down
1 change: 0 additions & 1 deletion src/loopback-promised.coffee
Expand Up @@ -4,7 +4,6 @@ LoopbackUserClient = require('./loopback-user-client')
LoopbackRelatedClient = require('./loopback-related-client')
PushManager = require('./push-manager')

require('es6-promise').polyfill()
superagent = require('superagent')

DebugLogger = require('./util/debug-logger')
Expand Down
1 change: 0 additions & 1 deletion src/loopback-related-client.coffee
@@ -1,5 +1,4 @@

require('es6-promise').polyfill()
LoopbackClient = require('./loopback-client')


Expand Down
2 changes: 0 additions & 2 deletions src/push-manager.coffee
@@ -1,5 +1,3 @@
require('es6-promise').polyfill()

###*
managing push notification.
Currently supports only for loopback servers build by [loopback-with-domain](https://github.com/cureapp/loopback-with-domain)
Expand Down

0 comments on commit 75de5ee

Please sign in to comment.