Sha256: d73c4fcd885c1be100eb612504480529a3f8acc4cf81fb3bb0ad6721d4510a45

Contents?: true

Size: 755 Bytes

Versions: 26

Compression:

Stored size: 755 Bytes

Contents

'use strict'

define 'aura/extensions/platform', ->

  # TODO require shims, and other fixes here, and make it part of ende
  # inestead of an extension

  name: 'platform'
  version: '0.1.0'
  initialize: (application) ->
    descriptors = platform: get: -> true

    # Force core to be a dom element, so we can use getters and setters
    application.core    = Object.create application.core, descriptors
    application.sandbox = Object.create application.sandbox, descriptors

    # TODO copy other properties to the main application


    # TODO detect aura version and warn for updates
    application.components = {}
    application.components.config    = application.config
    application.components.addSource = application.registerWidgetsSource

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ende-0.5.22 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.21 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.20 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.19 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.18 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.17 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.16 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.15 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.14 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.13 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.12 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.10 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.9 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.8 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.7 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.6 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.5 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.4 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.3 lib/assets/javascripts/aura/extensions/platform.js.coffee
ende-0.5.2 lib/assets/javascripts/aura/extensions/platform.js.coffee