Ember: jshint single quotes

- also remove .jshintrc from releases
This commit is contained in:
Hannah Wolfe 2014-06-02 20:12:02 +01:00
parent 5735aa063c
commit da04c5d6b3
6 changed files with 12 additions and 4 deletions

View File

@ -19,10 +19,11 @@ core/server/data/export/exported*
.af*
.git*
.groc*
.jshintrc
*.iml
config.js
CONTRIBUTING.md
SECURITY.md
.travis.yml
*.html
bower_components/**
bower_components/**

View File

@ -21,6 +21,7 @@
"esnext": true,
"onevar": true,
"white": true,
"quotmark": "single",
"globals": {
"Ember": true,
"Em": true,

View File

@ -1,3 +1,4 @@
/* jshint ignore:start */
var posts = [
{
"id": 1,
@ -4563,3 +4564,4 @@ var posts = [
];
export default posts;
/* jshint ignore:end */

View File

@ -1,3 +1,4 @@
/* jshint ignore:start */
var settings = {
"title": "Ghost",
"description": "Just a blogging platform.",
@ -21,4 +22,5 @@ var settings = {
"availableApps": []
};
export default settings;
export default settings;
/* jshint ignore:end */

View File

@ -1,3 +1,4 @@
/* jshint ignore:start */
var users = [
{
"id": 1,
@ -20,4 +21,5 @@ var users = [
}
];
export default users;
export default users;
/* jshint ignore:end */

View File

@ -18,7 +18,7 @@ var SigninRoute = Ember.Route.extend(styleBody, {
url: this.get('ghostPaths').adminUrl('signin'),
type: 'POST',
headers: {
"X-CSRF-Token": this.get('csrf')
'X-CSRF-Token': this.get('csrf')
},
data: data
}).then(