-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Ember Suave & Ember CLI Template Lint
* Add ember suave and make changes to abide by styleguide * Add `ember-cli-template-lint`
- Loading branch information
Showing
27 changed files
with
89 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"preset": "ember-suave" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* jshint node:true */ | ||
'use strict'; | ||
|
||
module.exports = { | ||
extends: 'recommended' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
<article class='post' id='post_3'> | ||
This is an article for John Doe. | ||
</article> | ||
|
||
<article class='post' id='post_1'> | ||
This is an article for Jane Doe. | ||
</article> | ||
|
||
<article class='post' id='post_2'> | ||
This is another article for Jane Doe. | ||
</article> | ||
<article class="post" id="post_3">This is an article for John Doe.</article> | ||
<article class="post" id="post_1">This is an article for Jane Doe.</article> | ||
<article class="post" id="post_2">This is another article for Jane Doe.</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
<!-- aside --> | ||
<aside class='post' id='post_1'> | ||
John Doe | ||
</aside> | ||
|
||
<aside class='post' id='post_2'> | ||
Jane Doe | ||
</aside> | ||
|
||
<aside class='post' id='post_3'> | ||
Jane Doe | ||
</aside> | ||
<aside class="post" id="post_1">John Doe</aside> | ||
<aside class="post" id="post_2">Jane Doe</aside> | ||
<aside class="post" id="post_3">Jane Doe </aside> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
<!-- footer --> | ||
<footer class='post' id='post_1'> | ||
John Doe | ||
</footer> | ||
|
||
<footer class='post' id='post_2'> | ||
Jane Doe | ||
</footer> | ||
|
||
<footer class='post' id='post_3'> | ||
Jane Doe | ||
</footer> | ||
<footer class="post" id="post_1">John Doe</footer> | ||
<footer class="post" id="post_2">Jane Doe</footer> | ||
<footer class="post" id="post_3">Jane Doe</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
<!-- form --> | ||
<form class='node-4 post' id='post_1'> | ||
<form class="node-4 post" id="post_1"> | ||
John Doe | ||
<label class='node-1' for='name'>Name</label> | ||
<input class='node-2' id='name' value='John Doe'> | ||
<label class='node-3' for='email'>Email</label> | ||
<input class='node-5' id='email' value='[email protected]'> | ||
<label class="node-1" for="name">Name</label> | ||
<input class="node-2" id="name" value="John Doe"> | ||
<label class="node-3" for="email">Email</label> | ||
<input class="node-5" id="email" value="[email protected]"> | ||
<button {{action "buttonClicked" "First target button clicked"}}>First Target Button</button> | ||
</form> | ||
|
||
<form class='node-6 post' id='post_2'> | ||
<form class="node-6 post" id="post_2"> | ||
Jane Doe | ||
<input class='node-7' id='name' value='Jane Doe'> | ||
<input class='node-8' id='email' value='[email protected]'> | ||
<input class="node-7" id="name" value="Jane Doe"> | ||
<input class="node-8" id="email" value="[email protected]"> | ||
<input type="button" {{action "buttonClicked" "Second target button clicked"}} value="Second Target Button"> | ||
</form> | ||
|
||
<form class='node-9 post' id='post_3'> | ||
<form class="node-9 post" id="post_3"> | ||
Jane Doe | ||
<input class='node-10' id='name' value='Jane Doe'> | ||
<input class='node-11' id='email' value='[email protected]'> | ||
<input class="node-10" id="name" value="Jane Doe"> | ||
<input class="node-11" id="email" value="[email protected]"> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
<!-- header --> | ||
<header class='post' id='post_1'> | ||
John Doe | ||
</header> | ||
|
||
<header class='post' id='post_2'> | ||
Jane Doe | ||
</header> | ||
|
||
<header class='post' id='post_3'> | ||
Jane Doe | ||
</header> | ||
<header class="post" id="post_1">John Doe</header> | ||
<header class="post" id="post_2">Jane Doe</header> | ||
<header class="post" id="post_3">Jane Doe</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
<!-- img --> | ||
<img src='http://example.com/johndoe' alt='John Doe'/> | ||
<img src="http://example.com/johndoe" alt="John Doe"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
<nav class='post' id='post_1'> | ||
John Doe | ||
</nav> | ||
|
||
<nav class='post' id='post_2'> | ||
Jane Doe | ||
</nav> | ||
|
||
<nav class='post' id='post_3'> | ||
Jane Doe | ||
</nav> | ||
<nav class="post" id="post_1">John Doe</nav> | ||
<nav class="post" id="post_2">Jane Doe</nav> | ||
<nav class="post" id="post_3">Jane Doe</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,3 @@ | ||
<!-- ol --> | ||
<ol class='posts' id='post_3'> | ||
John Doe | ||
</ol> | ||
|
||
<ol class='posts' id='post_2'> | ||
Jane Doe | ||
</ol> | ||
|
||
<ol class='posts' id='post_1'> | ||
Jane Doe | ||
</ol> | ||
|
||
|
||
<ol class="posts" id="post_3">John Doe</ol> | ||
<ol class="posts" id="post_2">Jane Doe</ol> | ||
<ol class="posts" id="post_1">Jane Doe</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
<!-- p --> | ||
<p class='post' id='post_3'> | ||
<p class="post" id="post_3"> | ||
This is a paragraph with the unique string of John Doe. | ||
</p> | ||
|
||
<p class='post' id='post_2'> | ||
<p class="post" id="post_2"> | ||
The first paragraph for Jane Doe. | ||
</p> | ||
|
||
<p class='post' id='post_1'> | ||
<p class="post" id="post_1"> | ||
The second paragraph for Jane Doe. | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
<!-- section --> | ||
<section class='post' id='post_3'> | ||
<section class="post" id="post_3"> | ||
A section with John Doe. | ||
</section> | ||
|
||
<section class='post' id='post_1'> | ||
<section class="post" id="post_1"> | ||
A section with Jane Doe. | ||
</section> | ||
|
||
<section class='post' id='post_2'> | ||
<section class="post" id="post_2"> | ||
Another section with Jane Doe. | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,9 @@ | ||
<!-- ul --> | ||
<ul class='posts' id='post_3'> | ||
John Doe | ||
</ul> | ||
|
||
<ul class='posts' id='post_2'> | ||
Jane Doe | ||
</ul> | ||
|
||
<ul class='posts' id='post_1'> | ||
Jane Doe | ||
</ul> | ||
<ul class="posts" id="post_3">John Doe</ul> | ||
<ul class="posts" id="post_2">Jane Doe</ul> | ||
<ul class="posts" id="post_1">Jane Doe</ul> | ||
|
||
<ul> | ||
<li class='post' id='post_3'>foo</li> | ||
<li class='post' id='post_2'>bar</li> | ||
<li class='post' id='post_1'>bar</li> | ||
<li class="post" id="post_3">foo</li> | ||
<li class="post" id="post_2">bar</li> | ||
<li class="post" id="post_1">bar</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import Ember from 'ember'; | ||
|
||
const { run } = Ember; | ||
|
||
export default function destroyApp(application) { | ||
Ember.run(application, 'destroy'); | ||
run(application, 'destroy'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.