diff --git a/experimental.d.ts b/experimental.d.ts new file mode 100644 index 00000000..420e6cb4 --- /dev/null +++ b/experimental.d.ts @@ -0,0 +1 @@ +export * from './lib/experimental'; \ No newline at end of file diff --git a/experimental.js b/experimental.js new file mode 100644 index 00000000..2404d976 --- /dev/null +++ b/experimental.js @@ -0,0 +1,17 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./lib/experimental"), exports); \ No newline at end of file diff --git a/src/experimental/base/component/Component.ts b/src/experimental/base/component/Component.ts index 60f34ebf..4eb0cef9 100644 --- a/src/experimental/base/component/Component.ts +++ b/src/experimental/base/component/Component.ts @@ -1,7 +1,7 @@ import { merge } from 'lodash'; import { Components } from '../Components'; import { Template } from '../../template'; -import { Evaluator } from 'utils'; +import { Evaluator } from 'utils/Evaluator'; import * as dom from 'utils/dom'; import { sanitize } from 'utils/sanitize'; import { Model, ModelDecoratorInterface, ModelInterface } from '../../model'; diff --git a/src/experimental/template/Template.ts b/src/experimental/template/Template.ts index 8938fa7a..2974b21f 100644 --- a/src/experimental/template/Template.ts +++ b/src/experimental/template/Template.ts @@ -4,7 +4,7 @@ import { merge } from 'lodash'; * Manages all the available templates which can be rendered. */ export class Template { - public static templates: any = []; + public static templates: any = {}; public static _current: any = {}; public static _framework: string = 'bootstrap';