@syncfusion/ej2-base
Advanced tools
Comparing version 1.0.22 to 1.0.25
@@ -69,2 +69,3 @@ var __extends = (this && this.__extends) || (function () { | ||
this.refreshing = true; | ||
this.moduleLoader.clean(); | ||
this.destroy(); | ||
@@ -71,0 +72,0 @@ this.clearChanges(); |
@@ -6,4 +6,4 @@ import { compile as render } from './template'; | ||
var compiler = engineObj.compile(templateString, helper); | ||
return function (data) { | ||
var result = compiler(data); | ||
return function (data, component, propName) { | ||
var result = compiler(data, component, propName); | ||
if (typeof result === 'string') { | ||
@@ -10,0 +10,0 @@ var ele = createElement((HAS_ROW.test(result) ? 'table' : 'div'), { innerHTML: result }); |
{ | ||
"name": "@syncfusion/ej2-base", | ||
"version": "1.0.22", | ||
"version": "1.0.25", | ||
"description": "Essential JS 2 Base Library", | ||
@@ -5,0 +5,0 @@ "author": "Syncfusion Inc.", |
@@ -65,2 +65,3 @@ var __extends = (this && this.__extends) || (function () { | ||
this.refreshing = true; | ||
this.moduleLoader.clean(); | ||
this.destroy(); | ||
@@ -67,0 +68,0 @@ this.clearChanges(); |
@@ -13,3 +13,3 @@ /** | ||
*/ | ||
export declare function compile(templateString: string, helper?: Object): (data: Object | JSON) => HTMLCollection; | ||
export declare function compile(templateString: string, helper?: Object): (data: Object | JSON, component?: any, propName?: any) => HTMLCollection; | ||
/** | ||
@@ -16,0 +16,0 @@ * Set your custom template engine for template rendering. |
@@ -7,4 +7,4 @@ define(["require", "exports", "./template", "./dom"], function (require, exports, template_1, dom_1) { | ||
var compiler = engineObj.compile(templateString, helper); | ||
return function (data) { | ||
var result = compiler(data); | ||
return function (data, component, propName) { | ||
var result = compiler(data, component, propName); | ||
if (typeof result === 'string') { | ||
@@ -11,0 +11,0 @@ var ele = dom_1.createElement((HAS_ROW.test(result) ? 'table' : 'div'), { innerHTML: result }); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
2583854
25075