angular2
Version:
Angular 2 - a web framework for modern web apps
1 lines • 1.42 kB
Source Map (JSON)
{"version":3,"sources":["non_bindable.js"],"names":[],"mappings":"AAAA;AAAA,KAAK,iBAAiB,AAAC,CAAC,MAAK,QAAQ;aAArC,EAAC,GAAE,YAAqB;AAAE,wBAAwB;IAAE,AAA9B,CAAC;AAAvB,WAAS,CAAT,EAAC,KAAI,CAAO,KAAG,AAAS,CAAC;CAAgC,CAAC;;EAAlD,UAAQ,EAAhB,EAAC,4DAAoB,CAAA,OAAM,AAAC,6CAAkB,CACtC,CAAA,6DAAqB,sEAA2B,CAAA,6DAAqB,GAAK,EAAC,OAAM,4DAAmB,CAAC,AAD/D,CACgE;AAD9G,AAAI,EAAA,cAqBG,SAAM,YAAU;;AACvB,AAtBwC,CAAA;AAAxC,AAAC,eAAc,YAAY,CAAC,AAAC,qBAAwD;AAArF,KAAK,eAAe,AAAC,4BACb,EAAC,GAAE,CAAG,UAAS,AAAD,CAAG;AAAC,cAgBzB,UAAQ,AAAC,CAAC;AACT,aAAO,CAAG,iBAAe;AACzB,oBAAc,CAAG,MAAI;AAAA,IACvB,CAAC,EAnBgD;EAAC,CAAC,CAAC,CAAC;AAsBrD","file":"angular2/src/directives/non_bindable.js","sourcesContent":["import {Decorator} from 'angular2/src/core/annotations/annotations';\n\n/**\n * The `NonBindable` directive tells Angular not to compile or bind the contents of the current\n * DOM element. This is useful if the element contains what appears to be Angular directives and\n * bindings but which should be ignored by Angular. This could be the case if you have a site that\n * displays snippets of code, for instance.\n *\n * Example:\n *\n * ```\n * <div>Normal: {{1 + 2}}</div> // output \"Normal: 3\"\n * <div non-bindable>Ignored: {{1 + 2}}</div> // output \"Ignored: {{1 + 2}}\"\n * ```\n *\n * @exportedAs angular2/directives\n */\n@Decorator({\n selector: '[non-bindable]',\n compileChildren: false\n})\nexport class NonBindable {\n}\n"]}