@aurelia/runtime
Advanced tools
Comparing version 0.2.0-dev.20180925 to 0.2.0-dev.20180926
@@ -6,3 +6,2 @@ export * from './binding/index'; | ||
export * from './resource'; | ||
export * from './task-queue'; | ||
//# sourceMappingURL=index.d.ts.map |
import { IResourceDescriptions } from '../resource'; | ||
import { TemplateDefinition } from './instructions'; | ||
import { ITemplateSource, TemplateDefinition } from './instructions'; | ||
import { ViewCompileFlags } from './view-compile-flags'; | ||
export interface ITemplateCompiler { | ||
readonly name: string; | ||
compile(definition: TemplateDefinition, resources: IResourceDescriptions, viewCompileFlags?: ViewCompileFlags): TemplateDefinition; | ||
compile(definition: ITemplateSource, resources: IResourceDescriptions, viewCompileFlags?: ViewCompileFlags): TemplateDefinition; | ||
} | ||
export declare const ITemplateCompiler: import("@aurelia/kernel/dist/di").InterfaceSymbol<ITemplateCompiler>; | ||
//# sourceMappingURL=template-compiler.d.ts.map |
{ | ||
"name": "@aurelia/runtime", | ||
"version": "0.2.0-dev.20180925", | ||
"version": "0.2.0-dev.20180926", | ||
"main": "dist/index.umd.js", | ||
@@ -46,3 +46,3 @@ "module": "dist/index.es6.js", | ||
"dependencies": { | ||
"@aurelia/kernel": "0.2.0-dev.20180925" | ||
"@aurelia/kernel": "0.2.0-dev.20180926" | ||
}, | ||
@@ -88,3 +88,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "57c07e8ffac77dfd6cc55529d972c55016f316e8" | ||
"gitHead": "ad6eeb42a81e32b0c67cb4ebb65a46b608bc7397" | ||
} |
@@ -15,3 +15,3 @@ export interface IOverrideContext { | ||
bindingContext: bindingContext, | ||
overrideContext: overrideContext || BindingContext.createOverride() | ||
overrideContext: overrideContext || BindingContext.createOverride(bindingContext) | ||
}; | ||
@@ -18,0 +18,0 @@ }, |
@@ -6,2 +6,1 @@ export * from './binding/index'; | ||
export * from './resource'; | ||
export * from './task-queue'; |
import { Immutable } from '@aurelia/kernel'; | ||
import { Reporter } from '@aurelia/kernel'; | ||
import { Binding } from '../binding/binding'; | ||
@@ -7,2 +8,3 @@ import { BindingMode } from '../binding/binding-mode'; | ||
import { BindingType, IExpressionParser } from '../binding/expression-parser'; | ||
import { LetBinding } from '../binding/let-binding'; | ||
import { Listener } from '../binding/listener'; | ||
@@ -19,2 +21,4 @@ import { IObserverLocator } from '../binding/observer-locator'; | ||
IHydrateTemplateController, | ||
ILetBindingInstruction, | ||
ILetElementInstruction, | ||
IListenerBindingInstruction, | ||
@@ -28,7 +32,5 @@ IPropertyBindingInstruction, | ||
ITextBindingInstruction, | ||
ILetBindingInstruction, | ||
TargetedInstructionType, | ||
TemplateDefinition, | ||
TemplatePartDefinitions, | ||
ILetElementInstruction | ||
TemplatePartDefinitions | ||
} from './instructions'; | ||
@@ -39,3 +41,2 @@ import { IRenderContext } from './render-context'; | ||
import { IRenderingEngine } from './rendering-engine'; | ||
import { LetBinding } from '../binding/let-binding'; | ||
@@ -63,2 +64,9 @@ export interface IRenderer { | ||
if (targets.length !== targetInstructions.length) { | ||
if (targets.length > targetInstructions.length) { | ||
throw Reporter.error(30); | ||
} else { | ||
throw Reporter.error(31); | ||
} | ||
} | ||
for (let i = 0, ii = targets.length; i < ii; ++i) { | ||
@@ -65,0 +73,0 @@ const instructions = targetInstructions[i]; |
@@ -147,3 +147,3 @@ import { all, DI, IContainer, Immutable, inject, PLATFORM, Reporter } from '@aurelia/kernel'; | ||
definition = compiler.compile(definition, new RuntimeCompilationResources(<ExposedContext>parentContext), ViewCompileFlags.surrogate); | ||
definition = compiler.compile(<ITemplateSource>definition, new RuntimeCompilationResources(<ExposedContext>parentContext), ViewCompileFlags.surrogate); | ||
} | ||
@@ -150,0 +150,0 @@ |
import { DI } from '@aurelia/kernel'; | ||
import { IResourceDescriptions } from '../resource'; | ||
import { TemplateDefinition } from './instructions'; | ||
import { ITemplateSource, TemplateDefinition } from './instructions'; | ||
import { ViewCompileFlags } from './view-compile-flags'; | ||
@@ -8,5 +8,5 @@ | ||
readonly name: string; | ||
compile(definition: TemplateDefinition, resources: IResourceDescriptions, viewCompileFlags?: ViewCompileFlags): TemplateDefinition; | ||
compile(definition: ITemplateSource, resources: IResourceDescriptions, viewCompileFlags?: ViewCompileFlags): TemplateDefinition; | ||
} | ||
export const ITemplateCompiler = DI.createInterface<ITemplateCompiler>().noDefault(); |
Sorry, the diff of this file is not supported yet
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
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
2027441
212
22634
+ Added@aurelia/kernel@0.2.0-dev.20180926(transitive)
- Removed@aurelia/kernel@0.2.0-dev.20180925(transitive)