UNPKG

angular2

Version:

Angular 2 - a web framework for modern web apps

67 lines (66 loc) 3.56 kB
"use strict"; Object.defineProperties(module.exports, { ElementBinder: {get: function() { return ElementBinder; }}, Event: {get: function() { return Event; }}, __esModule: {value: true} }); var $__angular2_47_src_47_facade_47_lang__, $__angular2_47_change_95_detection__, $__angular2_47_src_47_reflection_47_types__, $__angular2_47_src_47_facade_47_collection__, $__proto_95_view__; var $__0 = ($__angular2_47_src_47_facade_47_lang__ = require("angular2/src/facade/lang"), $__angular2_47_src_47_facade_47_lang__ && $__angular2_47_src_47_facade_47_lang__.__esModule && $__angular2_47_src_47_facade_47_lang__ || {default: $__angular2_47_src_47_facade_47_lang__}), isBlank = $__0.isBlank, isPresent = $__0.isPresent; var AST = ($__angular2_47_change_95_detection__ = require("angular2/change_detection"), $__angular2_47_change_95_detection__ && $__angular2_47_change_95_detection__.__esModule && $__angular2_47_change_95_detection__ || {default: $__angular2_47_change_95_detection__}).AST; var SetterFn = ($__angular2_47_src_47_reflection_47_types__ = require("angular2/src/reflection/types"), $__angular2_47_src_47_reflection_47_types__ && $__angular2_47_src_47_reflection_47_types__.__esModule && $__angular2_47_src_47_reflection_47_types__ || {default: $__angular2_47_src_47_reflection_47_types__}).SetterFn; var $__3 = ($__angular2_47_src_47_facade_47_collection__ = require("angular2/src/facade/collection"), $__angular2_47_src_47_facade_47_collection__ && $__angular2_47_src_47_facade_47_collection__.__esModule && $__angular2_47_src_47_facade_47_collection__ || {default: $__angular2_47_src_47_facade_47_collection__}), List = $__3.List, ListWrapper = $__3.ListWrapper; var protoViewModule = ($__proto_95_view__ = require("./proto_view"), $__proto_95_view__ && $__proto_95_view__.__esModule && $__proto_95_view__ || {default: $__proto_95_view__}); var ElementBinder = function ElementBinder() { var $__5 = arguments[0] !== (void 0) ? arguments[0] : {}, textNodeIndices = $__5.textNodeIndices, contentTagSelector = $__5.contentTagSelector, nestedProtoView = $__5.nestedProtoView, componentId = $__5.componentId, eventLocals = $__5.eventLocals, localEvents = $__5.localEvents, globalEvents = $__5.globalEvents, parentIndex = $__5.parentIndex, distanceToParent = $__5.distanceToParent, propertySetters = $__5.propertySetters; this.textNodeIndices = textNodeIndices; this.contentTagSelector = contentTagSelector; this.nestedProtoView = nestedProtoView; this.componentId = componentId; this.eventLocals = eventLocals; this.localEvents = localEvents; this.globalEvents = globalEvents; this.parentIndex = parentIndex; this.distanceToParent = distanceToParent; this.propertySetters = propertySetters; }; ($traceurRuntime.createClass)(ElementBinder, { hasStaticComponent: function() { return isPresent(this.componentId) && isPresent(this.nestedProtoView); }, hasDynamicComponent: function() { return isPresent(this.componentId) && isBlank(this.nestedProtoView); } }, {}); var Event = function Event(name, target, fullName) { this.name = name; this.target = target; this.fullName = fullName; }; ($traceurRuntime.createClass)(Event, {}, {}); Object.defineProperty(Event, "parameters", {get: function() { return [[$traceurRuntime.type.string], [$traceurRuntime.type.string], [$traceurRuntime.type.string]]; }}); //# sourceMappingURL=element_binder.js.map //# sourceMappingURL=./element_binder.map