Comparing version 0.9.0 to 0.9.1
@@ -84,3 +84,3 @@ 'use strict'; | ||
return _possibleConstructorReturn(this, (Component.__proto__ || Object.getPrototypeOf(Component)).apply(this, arguments)); | ||
return _possibleConstructorReturn(this, Object.getPrototypeOf(Component).apply(this, arguments)); | ||
} | ||
@@ -377,3 +377,3 @@ | ||
} catch (e) { | ||
this.logError('Error while rendering ' + this.toString(), this, e); | ||
this.logError('Error while rendering ' + this.toString(), this, e.stack); | ||
} | ||
@@ -380,0 +380,0 @@ } |
@@ -28,3 +28,12 @@ 'use strict'; | ||
exports.Component = _component2.default; | ||
exports.h = _virtualHyperscript2.default; | ||
exports. | ||
/** {@link Component} class, to be subclassed by apps */ | ||
Component = _component2.default; | ||
exports. | ||
/** | ||
* [virtual-dom]{@link https://github.com/Matt-Esch/virtual-dom} function to create Hyperscript nodes, | ||
* exported here for user convenience | ||
*/ | ||
h = _virtualHyperscript2.default; |
@@ -66,3 +66,3 @@ 'use strict'; | ||
var _this = _possibleConstructorReturn(this, (HTMLElement.__proto__ || Object.getPrototypeOf(HTMLElement)).apply(this, arguments)); | ||
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(HTMLElement).apply(this, arguments)); | ||
@@ -77,3 +77,3 @@ _this.createdCallback && _this.createdCallback(); | ||
var oldValue = this.getAttribute(name); | ||
_get(HTMLElement.prototype.__proto__ || Object.getPrototypeOf(HTMLElement.prototype), 'setAttribute', this).apply(this, arguments); | ||
_get(Object.getPrototypeOf(HTMLElement.prototype), 'setAttribute', this).apply(this, arguments); | ||
this.attributeChangedCallback && this.attributeChangedCallback(name, oldValue, value); | ||
@@ -80,0 +80,0 @@ } |
@@ -16,2 +16,3 @@ 'use strict'; | ||
// just the necessary bits of Backbone router+history | ||
var Router = function () { | ||
@@ -18,0 +19,0 @@ function Router(app) { |
@@ -66,3 +66,3 @@ 'use strict'; | ||
var _this = _possibleConstructorReturn(this, (HTMLElement.__proto__ || Object.getPrototypeOf(HTMLElement)).apply(this, arguments)); | ||
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(HTMLElement).apply(this, arguments)); | ||
@@ -77,3 +77,3 @@ _this.createdCallback && _this.createdCallback(); | ||
var oldValue = this.getAttribute(name); | ||
_get(HTMLElement.prototype.__proto__ || Object.getPrototypeOf(HTMLElement.prototype), 'setAttribute', this).apply(this, arguments); | ||
_get(Object.getPrototypeOf(HTMLElement.prototype), 'setAttribute', this).apply(this, arguments); | ||
this.attributeChangedCallback && this.attributeChangedCallback(name, oldValue, value); | ||
@@ -80,0 +80,0 @@ } |
@@ -300,3 +300,3 @@ import MainLoop from 'main-loop'; | ||
} catch(e) { | ||
this.logError(`Error while rendering ${this.toString()}`, this, e); | ||
this.logError(`Error while rendering ${this.toString()}`, this, e.stack); | ||
} | ||
@@ -303,0 +303,0 @@ } |
{ | ||
"name": "panel", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Web Components with Virtual DOM: lightweight composable web apps", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
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
1564650
2182