Skip to content

Commit 509f95e

Browse files
committed
Add Elm namespacing
1 parent bcd322a commit 509f95e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Now, you will have access to the `elmComponent` directive:
1818

1919
```js
2020
// app/components/example_controller.js
21-
$scope.elmTodoComponent = require('../../dist/elm/todomvc.js');
21+
$scope.elmTodoComponent = require('../../dist/elm/todomvc.js').Todo;
2222
```
2323

2424
```html

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-elm-components",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Write Angular components in Elm",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)