dist/ember.debug.js in ember-source-1.12.0.beta.3 vs dist/ember.debug.js in ember-source-1.12.0
- 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.12.0-beta.3
+ * @version 1.12.0
*/
(function() {
var enifed, requireModule, eriuqer, requirejs, Ember;
var mainContext = this;
@@ -8470,11 +8470,11 @@
buffer.push(output);
}
}
function renderHTMLBarsTemplate(view, buffer, template) {
- Ember['default'].assert("The template being rendered by `" + view + "` was compiled with `" + template.revision + "` which does not match `Ember@1.12.0-beta.3` (this revision).", template.revision === "Ember@1.12.0-beta.3");
+ Ember['default'].assert("The template being rendered by `" + view + "` was compiled with `" + template.revision + "` which does not match `Ember@1.12.0` (this revision).", template.revision === "Ember@1.12.0");
var contextualElement = buffer.innerContextualElement();
var args = view._blockArguments;
var env = {
view: this,
@@ -8509,11 +8509,11 @@
'use strict';
exports['default'] = template['default']((function () {
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8557,11 +8557,11 @@
'use strict';
exports['default'] = template['default']((function () {
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8597,11 +8597,11 @@
'use strict';
exports['default'] = template['default']((function () {
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8645,11 +8645,11 @@
'use strict';
exports['default'] = template['default']((function () {
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8693,11 +8693,11 @@
'use strict';
exports['default'] = template['default']((function () {
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8742,11 +8742,11 @@
exports['default'] = template['default']((function () {
var child0 = (function () {
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8786,11 +8786,11 @@
})();
var child1 = (function () {
var child0 = (function () {
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8828,11 +8828,11 @@
}
};
})();
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8872,11 +8872,11 @@
})();
var child2 = (function () {
var child0 = (function () {
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8914,11 +8914,11 @@
}
};
})();
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8956,11 +8956,11 @@
}
};
})();
return {
isHTMLBars: true,
- revision: "Ember@1.12.0-beta.3",
+ revision: "Ember@1.12.0",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -11613,11 +11613,11 @@
The core Runtime framework is based on the jQuery API with a number of
performance optimizations.
@class Ember
@static
- @version 1.12.0-beta.3
+ @version 1.12.0
*/
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.
@@ -11642,14 +11642,14 @@
};
/**
@property VERSION
@type String
- @default '1.12.0-beta.3'
+ @default '1.12.0'
@static
*/
- Ember.VERSION = '1.12.0-beta.3';
+ Ember.VERSION = '1.12.0';
/**
Standard environmental variables. You can define these in a global `EmberENV`
variable before loading Ember to control various configuration settings.
@@ -11824,15 +11824,29 @@
exports.addDependentKeys = addDependentKeys;
exports.removeDependentKeys = removeDependentKeys;
- // Remove "use strict"; from transpiled module until
- // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
+ "REMOVE_USE_STRICT: true"; /**
+ @module ember-metal
+ */
+
+ // ..........................................................
+ // DEPENDENT KEYS
//
- "REMOVE_USE_STRICT: true";
+ // data structure:
+ // meta.deps = {
+ // 'depKey': {
+ // 'keyName': count,
+ // }
+ // }
+
+ /*
+ This function returns a map of unique dependencies for a
+ given object and key.
+ */
function keysForDep(depsMeta, depKey) {
var keys = depsMeta[depKey];
if (!keys) {
// if there are no dependencies yet for a the given key
// create a new empty list of dependencies for the key
@@ -12171,15 +12185,11 @@
exports.hasListeners = hasListeners;
exports.listenersFor = listenersFor;
exports.on = on;
exports.removeListener = removeListener;
- // Remove "use strict"; from transpiled module until
- // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
- //
- "REMOVE_USE_STRICT: true";
-
+ "REMOVE_USE_STRICT: true"; /* listener flags */
var ONCE = 1;
var SUSPENDED = 2;
/*
The event system uses a series of nested hashes to store listeners on an
@@ -13772,23 +13782,18 @@
exports.observer = observer;
exports.immediateObserver = immediateObserver;
exports.beforeObserver = beforeObserver;
exports.Mixin = Mixin;
- // Remove "use strict"; from transpiled module until
- // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
- //
- "REMOVE_USE_STRICT: true";
-
/**
@method mixin
@for Ember
@param obj
@param mixins*
@return obj
*/
- var REQUIRED;
+ "REMOVE_USE_STRICT: true";var REQUIRED;
var a_slice = [].slice;
function superFunction() {
var func = this.__nextSuper;
var ret;
@@ -14831,15 +14836,25 @@
});
enifed('ember-metal/platform/create', ['exports', 'ember-metal/platform/define_properties'], function (exports, defineProperties) {
- // Remove "use strict"; from transpiled module until
- // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
- //
- 'REMOVE_USE_STRICT: true';
+
+ 'REMOVE_USE_STRICT: true'; /**
+ @class platform
+ @namespace Ember
+ @static
+ */
+
+ /**
+ Identical to `Object.create()`. Implements if not available natively.
+
+ @since 1.8.0
+ @method create
+ @for Ember
+ */
var create;
// ES5 15.2.3.5
// http://es5.github.com/#x15.2.3.5
if (!(Object.create && !Object.create(null).hasOwnProperty)) {
/* jshint scripturl:true, proto:true */
@@ -15922,11 +15937,11 @@
});
}
});
```
- In this example, we use Ember.run.bind to bind the setupEditor message to the
+ In this example, we use Ember.run.bind to bind the setupEditor method to the
context of the App.RichTextEditorComponent and to have the invocation of that
method be safely handled and executed by the Ember run loop.
@method bind
@namespace Ember
@@ -17015,24 +17030,30 @@
exports.meta = meta;
exports.typeOf = typeOf;
exports.isArray = isArray;
exports.canInvoke = canInvoke;
- // Remove "use strict"; from transpiled module until
- // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
- //
- "REMOVE_USE_STRICT: true";
-
/**
Generates a universally unique identifier. This method
is used internally by Ember for assisting with
the generation of GUID's and other unique identifiers
such as `bind-attr` data attributes.
@public
@return {Number} [description]
*/
+ "REMOVE_USE_STRICT: true"; /**
+ @module ember-metal
+ */
+
+ /**
+ Previously we used `Ember.$.uuid`, however `$.uuid` has been removed from
+ jQuery master. We'll just bootstrap our own uuid now.
+
+ @private
+ @return {Number} the uuid
+ */
var _uuid = 0;
function uuid() {
return ++_uuid;
}
@@ -22957,11 +22978,12 @@
var EmberRouter = EmberObject['default'].extend(Evented['default'], {
/**
The `location` property determines the type of URL's that your
application will use.
The following location types are currently available:
- * `hash`
+ * `auto`
+ * `hash`
* `history`
* `none`
@property location
@default 'hash'
@see {Ember.Location}
@@ -30496,23 +30518,20 @@
});
enifed('ember-runtime/system/core_object', ['exports', 'ember-metal', 'ember-metal/merge', 'ember-metal/property_get', 'ember-metal/utils', 'ember-metal/platform/create', 'ember-metal/chains', 'ember-metal/events', 'ember-metal/mixin', 'ember-metal/enumerable_utils', 'ember-metal/error', 'ember-metal/platform/define_property', 'ember-metal/keys', 'ember-runtime/mixins/action_handler', 'ember-metal/properties', 'ember-metal/binding', 'ember-metal/computed', 'ember-metal/injected_property', 'ember-metal/run_loop', 'ember-metal/watching', 'ember-metal/core', 'ember-runtime/inject'], function (exports, Ember, merge, property_get, utils, o_create, chains, events, mixin, enumerable_utils, EmberError, define_property, keys, ActionHandler, ember_metal__properties, ember_metal__binding, computed, InjectedProperty, run, watching, core, inject) {
- // Remove "use strict"; from transpiled module until
- // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
- //
- "REMOVE_USE_STRICT: true";
+
/**
@module ember
@submodule ember-runtime
*/
// using ember-metal/lib/main here to ensure that ember-debug is setup
// if present
- var schedule = run['default'].schedule;
+ "REMOVE_USE_STRICT: true";var schedule = run['default'].schedule;
var applyMixin = mixin.Mixin._apply;
var finishPartial = mixin.Mixin.finishPartial;
var reopen = mixin.Mixin.prototype.reopen;
var hasCachedComputedProperties = false;
@@ -33414,10 +33433,10 @@
// `options` being true, and causing an error during compilation.
if (options === true) {
options = {};
}
- options.revision = "Ember@1.12.0-beta.3";
+ options.revision = "Ember@1.12.0";
options.disableComponentGeneration = disableComponentGeneration;
options.plugins = plugins['default'];
return options;
}
\ No newline at end of file