Skip to content

Commit

Permalink
jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 23, 2013
1 parent 14d8ce2 commit 29b91b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ function Compiler (vm, options) {
// Store things during parsing to be processed afterwards,
// because we want to have created all bindings before
// observing values / parsing dependencies.
var observables = compiler.observables = [],
computed = compiler.computed = []
var computed = compiler.computed = []

// prototypal inheritance of bindings
var parent = compiler.parentCompiler
Expand Down Expand Up @@ -467,7 +466,7 @@ CompilerProto.define = function (key, binding) {
scope[key] = undefined
}

if (scope.__observer__) {
if (scope.__observer__) {
Observer.convert(scope, key)
}

Expand Down
2 changes: 1 addition & 1 deletion src/observer.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ for (var method in extensions) {
/**
* Watch an Object, recursive.
*/
function watchObject (obj, path) {
function watchObject (obj) {
for (var key in obj) {
var keyPrefix = key.charAt(0)
if ((keyPrefix !== '$' && keyPrefix !== '_') || key === '$index') {
Expand Down

0 comments on commit 29b91b5

Please sign in to comment.