react-hot-api
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -217,9 +217,5 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
do { | ||
Object.getOwnPropertyNames(freshPrototype).forEach(function (key) { | ||
storedPrototype[key] = freshPrototype[key]; | ||
}); | ||
freshPrototype = Object.getPrototypeOf(freshPrototype); | ||
} while (freshPrototype && !freshPrototype.hasOwnProperty('setState')); | ||
Object.getOwnPropertyNames(freshPrototype).forEach(function (key) { | ||
storedPrototype[key] = freshPrototype[key]; | ||
}); | ||
} | ||
@@ -226,0 +222,0 @@ |
@@ -43,9 +43,5 @@ 'use strict'; | ||
do { | ||
Object.getOwnPropertyNames(freshPrototype).forEach(function (key) { | ||
storedPrototype[key] = freshPrototype[key]; | ||
}); | ||
freshPrototype = Object.getPrototypeOf(freshPrototype); | ||
} while (freshPrototype && !freshPrototype.hasOwnProperty('setState')); | ||
Object.getOwnPropertyNames(freshPrototype).forEach(function (key) { | ||
storedPrototype[key] = freshPrototype[key]; | ||
}); | ||
} | ||
@@ -52,0 +48,0 @@ |
{ | ||
"name": "react-hot-api", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "A generic library implementing hot reload for React components without unmounting or losing their state.", | ||
@@ -5,0 +5,0 @@ "main": "modules/index.js", |
@@ -8,3 +8,3 @@ React Hot API | ||
This library drives React hot-reload magic of **[react-hot-loader](https://github.com/gaearon/react-hot-loader)** but is not tied to Webpack itself, so alternative build systems that support hot-reloading individual modules can use it to implement **[live-editing for React components](http://gaearon.github.io/react-hot-loader/)**. | ||
This library drives React hot-reload magic of **[react-hot-loader](https://github.com/gaearon/react-hot-loader)** but is not tied to Webpack itself, so alternative build systems that support hot-reloading individual modules can use it to implement **[live-editing for React components](http://gaearon.github.io/react-hot-loader/)**. For example, you can use this to **[integrate hot reloading into an atom-shell application](https://github.com/BenoitZugmeyer/chwitt-react/blob/2d62184986c7c183955dcb607dba5ceda70a2221/bootstrap-jsx.js#L33)**. | ||
@@ -11,0 +11,0 @@ **[See the video.](https://vimeo.com/100010922)** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28177
584