Class Ember
publicThis namespace contains all Ember methods and functions. Future versions of Ember may overwrite this namespace and therefore, you should avoid adding any new properties.
You can also use the shorthand Em
instead of Ember
.
At the heart of Ember is Ember-Runtime, a set of core functions that provide cross-platform compatibility and object property observing. Ember-Runtime is small and performance-focused so you can use it alongside other cross-platform libraries such as jQuery. For more details, see Ember-Runtime.
ArrayPolyfills public
Defined in packages/ember-metal/lib/array.js:122
Array polyfills to support ES5 features in older browsers.
ENV public
Defined in packages/ember-metal/lib/core.js:60
The hash of environment variables used to control various configuration
settings. To specify your own or override default settings, add the
desired properties to a global hash named EmberENV
(or ENV
for
backwards compatibility with earlier versions of Ember). The EmberENV
hash must be created before loading Ember.
EXTEND_PROTOTYPES public
Defined in packages/ember-metal/lib/core.js:149
Determines whether Ember should add to Array
, Function
, and String
native object prototypes, a few extra methods in order to provide a more
friendly API.
We generally recommend leaving this option set to true however, if you need
to turn it off, you can add the configuration property
EXTEND_PROTOTYPES
to EmberENV
and set it to false
.
Note, when disabled (the default configuration for Ember Addons), you will instead have to access all methods and functions from the Ember namespace.
LOG_BINDINGS public
Defined in packages/ember-metal/lib/binding.js:26
Debug parameter you can turn on. This will log all bindings that fire to the console. This should be disabled in production code. Note that you can also enable this from the console or temporarily.
LOG_STACKTRACE_ON_DEPRECATION public
Defined in packages/ember-metal/lib/core.js:174
The LOG_STACKTRACE_ON_DEPRECATION
property, when true, tells Ember to log
a full stack trace during deprecation warnings.
LOG_VERSION public
Defined in packages/ember-metal/lib/core.js:196
The LOG_VERSION
property, when true, tells Ember to log versions of all
dependent libraries in use.
SHIM_ES5 public
Defined in packages/ember-metal/lib/core.js:185
The SHIM_ES5
property, when true, tells Ember to add ECMAScript 5 Array
shims to older browsers.
VERSION public
Defined in packages/ember-metal/lib/core.js:49
The semantic version.