Permalink
Browse files

JSHint.

  • Loading branch information...
1 parent 811e4a3 commit 98288d4f416e128e22de16ba9c30f27f49a8a9fa @domenic domenic committed Aug 22, 2012
Showing with 7 additions and 8 deletions.
  1. +5 −4 .jshintrc
  2. +0 −1 lib/ui/Presenter.js
  3. +0 −1 lib/ui/plugins/Flyout.js
  4. +1 −1 lib/ui/util/knockout.js
  5. +1 −1 package.json
View
9 .jshintrc
@@ -1,20 +1,21 @@
{
+ "camelcase": true,
"curly": true,
"eqeqeq": true,
+ "es5": true,
+ "globalstrict": true,
"immed": true,
+ "indent": 4,
"latedef": true,
"newcap": true,
"noarg": true,
"nonew": true,
"trailing": true,
"undef": true,
+ "unused": true,
"white": true,
- "es5": true,
- "esnext": true,
- "globalstrict": true,
"node": true,
"browser": true,
- "indent": 4,
"predef": [
"MSApp",
"setImmediate",
View
1 lib/ui/Presenter.js
@@ -4,7 +4,6 @@ var ko = require("knockoutify");
var domify = require("domify");
var $ = require("jquery-browserify");
var Q = require("q");
-var _ = require("underscore");
var s = require("../resources").s;
function getElementFromTemplate(template) {
View
1 lib/ui/plugins/Flyout.js
@@ -1,6 +1,5 @@
"use strict";
-var Q = require("q");
var _ = require("underscore");
module.exports = function FlyoutPlugin(flyoutsMap) {
View
2 lib/ui/util/knockout.js
@@ -44,7 +44,7 @@ exports.addBindings = function () {
function createVoreachValueAccessor(element) {
return function () {
return element[VOREACH_KEY];
- }
+ };
}
ko.bindingHandlers.voreach = {
View
2 package.json
@@ -36,7 +36,7 @@
"chai-as-promised": ">= 3.2.1",
"coffee-script": ">= 1.3.3",
"jsdom": ">= 0.2.15",
- "jshint": ">= 0.7.1",
+ "jshint": ">= 0.8.0",
"mocha": ">= 1.3.0",
"mocha-as-promised": ">= 1.1.0",
"npm": "*",

0 comments on commit 98288d4

Please sign in to comment.