Skip to content

Commit 29b91b5

Browse files
committed
jshint
1 parent 14d8ce2 commit 29b91b5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/compiler.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ function Compiler (vm, options) {
5757
// Store things during parsing to be processed afterwards,
5858
// because we want to have created all bindings before
5959
// observing values / parsing dependencies.
60-
var observables = compiler.observables = [],
61-
computed = compiler.computed = []
60+
var computed = compiler.computed = []
6261

6362
// prototypal inheritance of bindings
6463
var parent = compiler.parentCompiler
@@ -467,7 +466,7 @@ CompilerProto.define = function (key, binding) {
467466
scope[key] = undefined
468467
}
469468

470-
if (scope.__observer__) {
469+
if (scope.__observer__) {
471470
Observer.convert(scope, key)
472471
}
473472

src/observer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ for (var method in extensions) {
9393
/**
9494
* Watch an Object, recursive.
9595
*/
96-
function watchObject (obj, path) {
96+
function watchObject (obj) {
9797
for (var key in obj) {
9898
var keyPrefix = key.charAt(0)
9999
if ((keyPrefix !== '$' && keyPrefix !== '_') || key === '$index') {

0 commit comments

Comments
 (0)