Cleanup unused var warnings

This commit is contained in:
kpdecker
2013-10-09 03:53:09 -07:00
parent b47f2cfcf5
commit 9769045e04
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];
function Exception(message) {
function Exception(/* message */) {
var tmp = Error.prototype.constructor.apply(this, arguments);
// Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work.
+1 -1
View File
@@ -40,7 +40,7 @@ export function template(templateSpec, env) {
return partials[name](context, options);
};
} else {
invokePartialWrapper = function(partial, name, context, helpers, partials, data) {
invokePartialWrapper = function(partial, name /* , context, helpers, partials, data */) {
var result = invokePartial.apply(this, arguments);
if (result) { return result; }
throw new Exception("The partial " + name + " could not be compiled when running in runtime-only mode");
+1 -2
View File
@@ -1,7 +1,6 @@
import SafeString from "./safe-string";
var toString = Object.prototype.toString,
isArray = Array.isArray;
var isArray = Array.isArray;
var escape = {
"&": "&",