Ember.platform Namespace packages/ember-metal/lib/platform.js:15

Platform specific methods and feature detectors needed by the framework.

Show:

Methods

Properties

Show:

defineProperty

(obj, keyName, desc) Void

Identical to Object.defineProperty(). Implements as much functionality as possible if not available natively.

Parameters:

obj Object
The object to modify
keyName String
property name to modify
desc Object
descriptor hash

Returns:

Void
Show:

hasPropertyAccessors

constant

Set to true if the platform supports native getters and setters.