Skip to content

Error in documentation #1

@jeffcressman

Description

@jeffcressman

Hi,

I'm using Ember-cli 0.0.42 and some of the documentation code fails to parse because of a missing a comma and the requirement to include the javascript from Bootstrap, which is not mentioned.

In the controllers code here the comma was missing after the first Ember.Object.create

myModalButtons: [
    Ember.Object.create({title: 'Submit', clicked: 'submit'}),
    Ember.Object.create({title: 'Cancel', clicked: 'cancel', dismiss: 'modal'})
]

I think it would also be worth mentioning that if you are using Ember-cli you have to add the following to your Brocfile.js

var app = new EmberApp({
  'ember-cli-bootstrap': {
    'importBootstrapJS': true
  }
});

Cheers

I would have made a pull request but this repository is all minified code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions