dist/ember-template-compiler.js in ember-source-1.11.3.1 vs dist/ember-template-compiler.js in ember-source-1.11.4

- old
+ new

@@ -3,11 +3,11 @@ * @copyright Copyright 2011-2015 Tilde Inc. and contributors * Portions Copyright 2006-2011 Strobe Inc. * Portions Copyright 2008-2011 Apple Inc. All rights reserved. * @license Licensed under MIT license * See https://raw.github.com/emberjs/ember.js/master/LICENSE - * @version 1.11.3 + * @version 1.11.4 */ (function() { var enifed, requireModule, eriuqer, requirejs, Ember; var mainContext = this; @@ -131,11 +131,11 @@ The core Runtime framework is based on the jQuery API with a number of performance optimizations. @class Ember @static - @version 1.11.3 + @version 1.11.4 */ if ('undefined' === typeof Ember) { // Create core object. Make it act like an instance of Ember.Namespace so that // objects assigned to it are given a sane string representation. @@ -159,14 +159,14 @@ /** @property VERSION @type String - @default '1.11.3' + @default '1.11.4' @static */ - Ember.VERSION = '1.11.3'; + Ember.VERSION = '1.11.4'; /** Standard environmental variables. You can define these in a global `EmberENV` variable before loading Ember to control various configuration settings. @@ -555,54 +555,54 @@ }; exports['default'] = TransformWithAsToHash; }); -enifed('ember-template-compiler/system/compile', ['exports', 'ember-template-compiler/system/compile_options', 'ember-template-compiler/system/template'], function (exports, compileOptions, template) { +enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-metal/core', 'ember-template-compiler/plugins'], function (exports, Ember, plugins) { 'use strict'; /** @module ember @submodule ember-template-compiler */ - var compile; - exports['default'] = function(templateString) { - if (!compile && Ember.__loader.registry['htmlbars-compiler/compiler']) { - compile = requireModule('htmlbars-compiler/compiler').compile; - } + exports['default'] = function() { + var disableComponentGeneration = true; + + return { + revision: 'Ember@1.11.4', - if (!compile) { - throw new Error('Cannot call `compile` without the template compiler loaded. Please load `ember-template-compiler.js` prior to calling `compile`.'); - } + disableComponentGeneration: disableComponentGeneration, - var templateSpec = compile(templateString, compileOptions['default']()); - - return template['default'](templateSpec); + plugins: plugins['default'] + }; } }); -enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-metal/core', 'ember-template-compiler/plugins'], function (exports, Ember, plugins) { +enifed('ember-template-compiler/system/compile', ['exports', 'ember-template-compiler/system/compile_options', 'ember-template-compiler/system/template'], function (exports, compileOptions, template) { 'use strict'; /** @module ember @submodule ember-template-compiler */ - exports['default'] = function() { - var disableComponentGeneration = true; - - return { - revision: 'Ember@1.11.3', + var compile; + exports['default'] = function(templateString) { + if (!compile && Ember.__loader.registry['htmlbars-compiler/compiler']) { + compile = requireModule('htmlbars-compiler/compiler').compile; + } - disableComponentGeneration: disableComponentGeneration, + if (!compile) { + throw new Error('Cannot call `compile` without the template compiler loaded. Please load `ember-template-compiler.js` prior to calling `compile`.'); + } - plugins: plugins['default'] - }; + var templateSpec = compile(templateString, compileOptions['default']()); + + return template['default'](templateSpec); } }); enifed('ember-template-compiler/system/precompile', ['exports', 'ember-template-compiler/system/compile_options'], function (exports, compileOptions) { @@ -1553,10 +1553,10 @@ var processOpcodes = __dependency6__.processOpcodes; var repeat = __dependency7__.repeat; function TemplateCompiler(options) { this.options = options || {}; - this.revision = this.options.revision || "HTMLBars@v0.11.2"; + this.revision = this.options.revision || "HTMLBars@v0.11.2-1"; this.fragmentOpcodeCompiler = new FragmentOpcodeCompiler(); this.fragmentCompiler = new FragmentJavaScriptCompiler(); this.hydrationOpcodeCompiler = new HydrationOpcodeCompiler(); this.hydrationCompiler = new HydrationJavaScriptCompiler(); this.templates = []; \ No newline at end of file