text
stringlengths 0
14.1k
|
---|
}}); |
ChildComp = (function() { |
var ChildComp = function ChildComp() { |
this.ctxProp = 'hello'; |
}; |
return ($traceurRuntime.createClass)(ChildComp, {}, {}); |
}()); |
Object.defineProperty(ChildComp, ""annotations"", {get: function() { |
return [new Component({selector: 'child-cmp'}), new View({template: '{{ctxProp}}'})]; |
}}); |
DynamicallyCreatedComponentService = (function() { |
var DynamicallyCreatedComponentService = function DynamicallyCreatedComponentService() { |
; |
}; |
return ($traceurRuntime.createClass)(DynamicallyCreatedComponentService, {}, {}); |
}()); |
DynamicComp = (function() { |
var DynamicComp = function DynamicComp(loader, location) { |
this.done = loader.loadIntoExistingLocation(DynamicallyCreatedCmp, location); |
}; |
return ($traceurRuntime.createClass)(DynamicComp, {}, {}); |
}()); |
Object.defineProperty(DynamicComp, ""annotations"", {get: function() { |
return [new Component({selector: 'dynamic-comp'})]; |
}}); |
Object.defineProperty(DynamicComp, ""parameters"", {get: function() { |
return [[DynamicComponentLoader], [ElementRef]]; |
}}); |
DynamicallyCreatedCmp = (function() { |
var DynamicallyCreatedCmp = function DynamicallyCreatedCmp(a) { |
this.greeting = ""hello""; |
this.dynamicallyCreatedComponentService = a; |
}; |
return ($traceurRuntime.createClass)(DynamicallyCreatedCmp, {}, {}); |
}()); |
Object.defineProperty(DynamicallyCreatedCmp, ""annotations"", {get: function() { |
return [new Component({ |
selector: 'hello-cmp', |
injectables: [DynamicallyCreatedComponentService] |
}), new View({template: ""{{greeting}}""})]; |
}}); |
Object.defineProperty(DynamicallyCreatedCmp, ""parameters"", {get: function() { |
return [[DynamicallyCreatedComponentService]]; |
}}); |
DynamicallyLoaded = (function() { |
var DynamicallyLoaded = function DynamicallyLoaded() { |
; |
}; |
return ($traceurRuntime.createClass)(DynamicallyLoaded, {}, {}); |
}()); |
Object.defineProperty(DynamicallyLoaded, ""annotations"", {get: function() { |
return [new Component({selector: 'dummy'}), new View({template: ""DynamicallyLoaded;""})]; |
}}); |
DynamicallyLoaded2 = (function() { |
var DynamicallyLoaded2 = function DynamicallyLoaded2() { |
; |
}; |
return ($traceurRuntime.createClass)(DynamicallyLoaded2, {}, {}); |
}()); |
Object.defineProperty(DynamicallyLoaded2, ""annotations"", {get: function() { |
return [new Component({selector: 'dummy'}), new View({template: ""DynamicallyLoaded2;""})]; |
}}); |
DynamicallyLoadedWithHostProps = (function() { |
var DynamicallyLoadedWithHostProps = function DynamicallyLoadedWithHostProps() { |
this.id = ""default""; |
}; |
return ($traceurRuntime.createClass)(DynamicallyLoadedWithHostProps, {}, {}); |
}()); |
Object.defineProperty(DynamicallyLoadedWithHostProps, ""annotations"", {get: function() { |
return [new Component({ |
selector: 'dummy', |
hostProperties: {'id': 'id'} |
}), new View({template: ""DynamicallyLoadedWithHostProps;""})]; |
}}); |
Location = (function() { |
var Location = function Location(elementRef) { |
this.elementRef = elementRef; |
}; |
return ($traceurRuntime.createClass)(Location, {}, {}); |
}()); |
Object.defineProperty(Location, ""annotations"", {get: function() { |
return [new Component({selector: 'location'}), new View({template: ""Location;""})]; |
}}); |
Object.defineProperty(Location, ""parameters"", {get: function() { |
return [[ElementRef]]; |
}}); |
MyComp = (function() { |
var MyComp = function MyComp() { |
this.ctxBoolProp = false; |
}; |
return ($traceurRuntime.createClass)(MyComp, {}, {}); |
}()); |
Object.defineProperty(MyComp, ""annotations"", {get: function() { |
return [new Component({selector: 'my-comp'}), new View({directives: []})]; |
}}); |
} |
}; |
}); |
//# sourceMappingURL=dynamic_component_loader_spec.es6.map |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.