Skip to content

Commit

Permalink
feat(aurelia): initialize the binding system
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Oct 12, 2015
1 parent 471d8c5 commit d6f569f
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/aurelia.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,10 @@ import 'core-js';
import * as TheLogManager from 'aurelia-logging';
import {Container} from 'aurelia-dependency-injection';
import {Loader} from 'aurelia-loader';
import {FrameworkConfiguration} from './framework-configuration';
import {
BindingLanguage,
ViewEngine,
ViewSlot,
ViewResources,
CompositionEngine,
Animator
} from 'aurelia-templating';
import {BindingLanguage, ViewEngine, ViewSlot, ViewResources, CompositionEngine, Animator} from 'aurelia-templating';
import {DOM, PLATFORM} from 'aurelia-pal';
import {bindingSystem} from 'aurelia-binding';
import {FrameworkConfiguration} from './framework-configuration';

function preventActionlessFormSubmit() {
DOM.addEventListener('submit', evt => {
Expand Down Expand Up @@ -77,6 +71,8 @@ export class Aurelia {
Animator.configureDefault(this.container);
}

bindingSystem.initialize(this.container);

this.logger.info('Aurelia Started');
let evt = DOM.createCustomEvent('aurelia-started', { bubbles: true, cancelable: true });
DOM.dispatchEvent(evt);
Expand Down

0 comments on commit d6f569f

Please sign in to comment.