Skip to content

Commit

Permalink
Add StacheElement to can-namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mujica committed Oct 8, 2019
1 parent ad9c93e commit 8f980c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"can-define-lazy-value": "^1.1.0",
"can-dom-mutate": "^2.0.3",
"can-log": "^1.0.2",
"can-namespace": "^1.0.0",
"can-observable-mixin": "^1.0.0",
"can-queues": "^1.3.0",
"can-simple-observable": "^2.4.2",
Expand Down
3 changes: 2 additions & 1 deletion src/can-stache-element.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use strict";

const namespace = require("can-namespace");
const mixinLifecycleMethods = require("./mixin-lifecycle-methods");
const mixinProps = require("./mixin-props");
const mixinStacheView = require("./mixin-stache-view");
Expand Down Expand Up @@ -101,4 +102,4 @@ function DeriveElement(BaseElement = HTMLElement) {
return StacheElementConstructorFunction;
}

module.exports = DeriveElement();
module.exports = namespace.StacheElement = DeriveElement();

0 comments on commit 8f980c0

Please sign in to comment.