Skip to content

Commit

Permalink
Update AMD import
Browse files Browse the repository at this point in the history
update code example according to ember-cli#1121
  • Loading branch information
flecno committed Jul 4, 2014
1 parent b585316 commit 5c92ea3
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions _posts/2013-04-08-managing-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,15 @@ Provide the asset path as the first argument, and the list of modules and export

{% highlight javascript linenos %}
app.import('vendor/ic-ajax/dist/named-amd/main.js', {
'ic-ajax': [
'default',
'defineFixture',
'lookupFixture',
'raw',
'request',
]
exports: {
'ic-ajax': [
'default',
'defineFixture',
'lookupFixture',
'raw',
'request',
]
}
});
{% endhighlight %}

Expand Down

0 comments on commit 5c92ea3

Please sign in to comment.