Cleanup unused var warnings
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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,7 +1,6 @@
|
||||
import SafeString from "./safe-string";
|
||||
|
||||
var toString = Object.prototype.toString,
|
||||
isArray = Array.isArray;
|
||||
var isArray = Array.isArray;
|
||||
|
||||
var escape = {
|
||||
"&": "&",
|
||||
|
||||
Reference in New Issue
Block a user