dist/ember-runtime.js in ember-source-1.4.0.beta.4 vs dist/ember-runtime.js in ember-source-1.4.0.beta.5
- old
+ new
@@ -3,11 +3,11 @@
* @copyright Copyright 2011-2014 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.4.0-beta.4+pre.88c597fa
+ * @version 1.4.0-beta.5
*/
(function() {
/*global __fail__*/
@@ -178,14 +178,25 @@
};
// Inform the developer about the Ember Inspector if not installed.
if (!Ember.testing) {
- if (typeof window !== 'undefined' && window.chrome && window.addEventListener) {
+ var isFirefox = typeof InstallTrigger !== 'undefined';
+ var isChrome = !!window.chrome && !window.opera;
+
+ if (typeof window !== 'undefined' && (isFirefox || isChrome) && window.addEventListener) {
window.addEventListener("load", function() {
if (document.body && document.body.dataset && !document.body.dataset.emberExtension) {
- Ember.debug('For more advanced debugging, install the Ember Inspector from https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi');
+ var downloadURL;
+
+ if(isChrome) {
+ downloadURL = 'https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi';
+ } else if(isFirefox) {
+ downloadURL = 'https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/'
+ }
+
+ Ember.debug('For more advanced debugging, install the Ember Inspector from ' + downloadURL);
}
}, false);
}
}
@@ -196,11 +207,11 @@
* @copyright Copyright 2011-2014 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.4.0-beta.4+pre.88c597fa
+ * @version 1.4.0-beta.5
*/
(function() {
var define, requireModule, require, requirejs;
@@ -279,11 +290,11 @@
The core Runtime framework is based on the jQuery API with a number of
performance optimizations.
@class Ember
@static
- @version 1.4.0-beta.4+pre.88c597fa
+ @version 1.4.0-beta.5
*/
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.
@@ -306,14 +317,14 @@
/**
@property VERSION
@type String
- @default '1.4.0-beta.4+pre.88c597fa'
+ @default '1.4.0-beta.5'
@static
*/
-Ember.VERSION = '1.4.0-beta.4+pre.88c597fa';
+Ember.VERSION = '1.4.0-beta.5';
/**
Standard environmental variables. You can define these in a global `EmberENV`
variable before loading Ember to control various configuration settings.
@@ -20823,10 +20834,10 @@
}
});
```
The itemController instances will have a `parentController` property set to
- to the `ArrayController` instance.
+ the `ArrayController` instance.
@class ArrayController
@namespace Ember
@extends Ember.ArrayProxy
@uses Ember.SortableMixin