Skip to content

2017-04-30 #33

@fis-cz

Description

@fis-cz
  • Ajs and all examples are now compilable and runnable ES5, ES6, ES7
    • For debugging it is recommended to use ES7 with Chrome as it makes asynchronous debugging easy
  • Logger
    • improvements for async, still not ideal
    • currently initializes from boot to prevent logger service resolving all the time the log is called
  • DI
    • Container
      • Service constructor is not checked for params anymore. Now its developer responsibility to configure service properly
    • Added inheritable class for services requiring asynchronous initialization
    • Container is initializing services now (by calling initialize method) and wait until it gets initialized
  • AjsIndexedDB
    • added documentation and AjsIndexedDb usage example
    • refactored to have less anonymous functions for async
  • ViewComponentManager follows changes of DI container now
    • no more check for ctor params
    • waits for while the dependencies is created and initialized
    • Refactored, multiple changes, lot of code removed or moved directly to the ViewComponent
  • ViewComponent
    • setstate is now fully asynchronous so its possible to set states independently
  • Utils
    • fixed extend function (didn't copy properties)
  • Code style unification
    • type casting is now (variable) instead of (variable as type). Excluding debugiging tsx components where it is impossible to use < or > characters.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions