API Docs for: 1.0 pre
Show:

Ember.platform Class

Platform specific methods and feature detectors needed by the framework.

Item Index

Methods

Methods

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:

Properties

hasPropertyAccessors

Unknown final

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