Comparing version 0.0.5 to 0.0.6
@@ -51,4 +51,4 @@ "use strict"; | ||
__extends(StylableStylesheet, _super); | ||
function StylableStylesheet(styleDef) { | ||
var _this = _super.call(this, styleDef) || this; | ||
function StylableStylesheet(styleDef, namespace) { | ||
var _this = _super.call(this, styleDef, namespace) || this; | ||
_this.styleDef = styleDef; | ||
@@ -55,0 +55,0 @@ _this.namespace = _this.namespace || ('s' + (StylableContext.globalSheetCounter++)); |
{ | ||
"name": "stylable", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
@@ -41,4 +41,4 @@ import { Stylesheet, Generator, Resolver, Config } from '../index'; | ||
} | ||
constructor(public styleDef: any) { | ||
super(styleDef); | ||
constructor(public styleDef: any, namespace: string) { | ||
super(styleDef, namespace); | ||
this.namespace = this.namespace || ('s' + (StylableContext.globalSheetCounter++)); | ||
@@ -45,0 +45,0 @@ StylableStylesheet.context.add(this); |
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
262039