simple-boot-front
Advanced tools
Comparing version 1.0.24 to 1.0.25
@@ -209,3 +209,2 @@ var __extends = (this && this.__extends) || (function () { | ||
if (selector === void 0) { selector = this.selector; } | ||
console.log('module render', selector, '\\n', this.selector); | ||
(_a = this._renderer) === null || _a === void 0 ? void 0 : _a.renderToByScope(this.scope, selector, this); | ||
@@ -229,3 +228,2 @@ this.renderd(this.selector); | ||
inModuleVars.push(targetModule); | ||
console.log('key-->', this.selector, key); | ||
} | ||
@@ -232,0 +230,0 @@ } |
{ | ||
"name": "simple-boot-front", | ||
"version": "1.0.24", | ||
"version": "1.0.25", | ||
"main": "SimpleApplication.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -36,7 +36,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
if (sim) { | ||
console.log('proxy --> sim, ', 'props:', prop, 'scope:', sim._scope); | ||
sim.renderToScope(prop); | ||
} | ||
else { | ||
console.log('proxy --> else, ', 'props:', prop, 'scope:', obj._scope); | ||
obj.renderToScope(prop); | ||
@@ -46,3 +44,2 @@ } | ||
catch (e) { | ||
console.log('proxy --> catch, ', 'props:', prop, 'scope:', obj._scope); | ||
obj.renderToScope(prop); | ||
@@ -49,0 +46,0 @@ } |
@@ -1,2 +0,2 @@ | ||
simple-boot-front [v1.0.24] | ||
simple-boot-front [v1.0.25] | ||
=========== | ||
@@ -81,7 +81,6 @@ | ||
export class Index extends Module { | ||
template = html; | ||
data = "default data"; | ||
thisData = 5151; | ||
constructor(public v: ViewService, public manager: SimstanceManager, public navigation: Navigation) { | ||
super("index"); | ||
super("index",{template: html}); | ||
} | ||
@@ -218,7 +217,5 @@ | ||
export class App extends Module { | ||
styleImports = [css]; | ||
template = html; | ||
info = new AppInfo(); | ||
constructor() { | ||
super("app-layout-module"); | ||
super("app-layout-module", {template: html, styleImports:[css]}); | ||
} | ||
@@ -229,4 +226,6 @@ } | ||
export class AppInfo extends Module { | ||
template = '<div><h3>info</h3><!--%write(this.datas)%--></div>'; | ||
datas = 'default data'; | ||
constructor() { | ||
super("app-info", {template: '<div><h3>info</h3><!--%write(this.datas)%--></div>'}); | ||
} | ||
data(i: Intent) { | ||
@@ -233,0 +232,0 @@ this.datas = i.data + '->' + i.params.aa |
@@ -25,3 +25,2 @@ import { ScopeObject } from './ScopeObject'; | ||
var rawFragment = templateElement.content; | ||
console.log('executeFragment ', rawFragment.childNodes.length); | ||
this.childs.forEach(function (it) { | ||
@@ -28,0 +27,0 @@ var _a, _b, _c; |
@@ -78,3 +78,2 @@ import 'reflect-metadata'; | ||
if (targetSelector === void 0) { targetSelector = (_a = this.option) === null || _a === void 0 ? void 0 : _a.selector; } | ||
console.log('renderRouterModule router --->', targetSelector); | ||
if (module && !module.exist()) { | ||
@@ -90,3 +89,2 @@ module._onInit(); | ||
RouterManager.prototype.render = function (module, targetSelector) { | ||
console.log('render router --->', targetSelector); | ||
if (module) { | ||
@@ -93,0 +91,0 @@ module._onInit(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
184759
2598
310