Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eugene Shen
todomvc
Commits
e1843aab
Commit
e1843aab
authored
Apr 30, 2012
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ember.js + require app: cleanup
parent
93a7b965
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
18 additions
and
16 deletions
+18
-16
dependency-examples/emberjs_require/README.md
dependency-examples/emberjs_require/README.md
+4
-3
dependency-examples/emberjs_require/index.html
dependency-examples/emberjs_require/index.html
+4
-3
dependency-examples/emberjs_require/js/app/controllers/entries.js
...cy-examples/emberjs_require/js/app/controllers/entries.js
+2
-2
dependency-examples/emberjs_require/js/app/controllers/todos.js
...ency-examples/emberjs_require/js/app/controllers/todos.js
+1
-1
dependency-examples/emberjs_require/js/app/models/store.js
dependency-examples/emberjs_require/js/app/models/store.js
+1
-1
dependency-examples/emberjs_require/js/app/models/todo.js
dependency-examples/emberjs_require/js/app/models/todo.js
+1
-1
dependency-examples/emberjs_require/js/app/specs/controllers/todos.js
...xamples/emberjs_require/js/app/specs/controllers/todos.js
+1
-1
dependency-examples/emberjs_require/js/app/specs/models/store.js
...ncy-examples/emberjs_require/js/app/specs/models/store.js
+1
-1
dependency-examples/emberjs_require/js/app/specs/views/basic_acceptance.js
...es/emberjs_require/js/app/specs/views/basic_acceptance.js
+1
-1
dependency-examples/emberjs_require/js/app/views/clear_button.html
...y-examples/emberjs_require/js/app/views/clear_button.html
+1
-1
dependency-examples/emberjs_require/js/app/views/items.html
dependency-examples/emberjs_require/js/app/views/items.html
+1
-1
No files found.
dependency-examples/emberjs_require/README.md
View file @
e1843aab
# Ember.js + Require.js • [TodoMVC](http://todomvc.com)
## Running tests
To fire specs runner, append
`#specs`
to the url in address bar,
and reload the webpage.
To fire specs runner, append
`#specs`
to the url in address bar,
and reload the webpage.
## Credit
Initial release by @tomdale.
Refactoring and maintenance by @stas.
Refactoring and maintenance by @stas.
\ No newline at end of file
dependency-examples/emberjs_require/index.html
View file @
e1843aab
...
...
@@ -19,11 +19,12 @@
<p>
Double-click to edit a todo
</p>
<p>
Template by
<a
href=
"http://sindresorhus.com"
>
Sindre Sorhus
</a></p>
<p>
Created by
<a
href=
"http://github.com/tomdale/"
>
Tom Dale
</a>
,
<a
href=
"http://github.com/stas/"
>
Стас Сушков
</a>
Created by
<a
href=
"http://github.com/tomdale"
>
Tom Dale
</a>
,
<a
href=
"http://github.com/stas"
>
Стас Сушков
</a>
</p>
<p>
Part of
<a
href=
"http://todomvc.com"
>
TodoMVC
</a></p>
</footer>
<script
data-main=
"js/app.js"
src=
"js/lib/require/require.js"
></script>
</body>
</html>
</html>
\ No newline at end of file
dependency-examples/emberjs_require/js/app/controllers/entries.js
View file @
e1843aab
...
...
@@ -51,7 +51,7 @@ define('app/controllers/entries', ['ember'],
this
.
setEach
(
'
completed
'
,
value
);
return
value
;
}
else
{
return
!!
this
.
get
(
'
length
'
)
&&
return
!!
this
.
get
(
'
length
'
)
&&
this
.
everyProperty
(
'
completed
'
,
true
);
}
}.
property
(
'
@each.completed
'
),
...
...
@@ -66,4 +66,4 @@ define('app/controllers/entries', ['ember'],
}
});
}
);
);
\ No newline at end of file
dependency-examples/emberjs_require/js/app/controllers/todos.js
View file @
e1843aab
...
...
@@ -117,4 +117,4 @@ define('app/controllers/todos', [
}
});
}
);
);
\ No newline at end of file
dependency-examples/emberjs_require/js/app/models/store.js
View file @
e1843aab
...
...
@@ -77,4 +77,4 @@ define('app/models/store', [
};
};
}
);
);
\ No newline at end of file
dependency-examples/emberjs_require/js/app/models/todo.js
View file @
e1843aab
...
...
@@ -17,4 +17,4 @@ define('app/models/todo', ['ember'],
}.
observes
(
'
title
'
,
'
completed
'
)
});
}
);
);
\ No newline at end of file
dependency-examples/emberjs_require/js/app/specs/controllers/todos.js
View file @
e1843aab
...
...
@@ -62,4 +62,4 @@ describe( 'controllers/todos', function() {
done
();
});
});
});
\ No newline at end of file
dependency-examples/emberjs_require/js/app/specs/models/store.js
View file @
e1843aab
...
...
@@ -28,4 +28,4 @@ describe( 'models/store', function() {
store
.
remove
(
todo
);
});
});
});
\ No newline at end of file
dependency-examples/emberjs_require/js/app/specs/views/basic_acceptance.js
View file @
e1843aab
...
...
@@ -26,4 +26,4 @@ describe( 'views/*', function() {
});
});
});
});
\ No newline at end of file
dependency-examples/emberjs_require/js/app/views/clear_button.html
View file @
e1843aab
Clear completed ({{completedCount}})
Clear completed ({{completedCount}})
\ No newline at end of file
dependency-examples/emberjs_require/js/app/views/items.html
View file @
e1843aab
...
...
@@ -10,4 +10,4 @@
{{else}}
{{view Todos.todosController.todoEditor todoBinding="content" valueBinding="content.title"}}
{{/unless}}
{{/collection}}
{{/collection}}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment