Skip to content

Commit

Permalink
__proto__ in objects in IE8
Browse files Browse the repository at this point in the history
  • Loading branch information
sakren committed Nov 21, 2013
1 parent f87e6a7 commit fca2a20
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ $ npm test

## Changelog

* 1.6.6
* 1.6.6 - 1.6.7
+ Bugs in Internet Explorer 8

* 1.6.2 - 1.6.5
Expand Down
2 changes: 1 addition & 1 deletion lib/DIConfigurator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dependency-injection",
"description": "Dependency injection with configuration and autowire for node js and browser",
"version": "1.6.6",
"version": "1.6.7",
"author": {
"name": "David Kudera",
"email": "sakren@gmail.com"
Expand Down
2 changes: 1 addition & 1 deletion src/DIConfigurator.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DIConfigurator
config = @getConfig()

for name of config
if config.hasOwnProperty(name)
if config.hasOwnProperty(name) && name not in ['__proto__']
config[name] = @configurator.merge(config[name], defaultService)

return config
Expand Down

0 comments on commit fca2a20

Please sign in to comment.