@@ -36,7 +36,7 @@ var ObservableSlim = (function() {
3636
3737 /* Function: _create
3838 Private internal function that is invoked to create a new ES6 Proxy whose changes we can observe through
39- the Observerable .observe() method.
39+ the Observable .observe() method.
4040
4141 Parameters:
4242 target - required, plain JavaScript object that we want to observe for changes.
@@ -111,7 +111,7 @@ var ObservableSlim = (function() {
111111 // if the observable is paused, then we don't want to execute any of the observer functions
112112 if ( observable . paused === true ) return ;
113113
114- // execute observer functions on a 10ms settimeout , this prevents the observer functions from being executed
114+ // execute observer functions on a 10ms setTimeout , this prevents the observer functions from being executed
115115 // separately on every change -- this is necessary because the observer functions will often trigger UI updates
116116 if ( domDelay === true ) {
117117 setTimeout ( function ( ) {
@@ -290,7 +290,7 @@ var ObservableSlim = (function() {
290290
291291 var typeOfTargetProp = ( typeof targetProp ) ;
292292
293- // determine if we're adding something new or modifying somethat that already existed
293+ // determine if we're adding something new or modifying some that already existed
294294 var type = "update" ;
295295 if ( typeOfTargetProp === "undefined" ) type = "add" ;
296296
@@ -342,7 +342,7 @@ var ObservableSlim = (function() {
342342
343343 // if we didn't find an observable for this proxy, then that means .remove(proxy) was likely invoked
344344 // so we no longer need to notify any observer function about the changes, but we still need to update the
345- // value of the underlying original objectm see below: target[property] = value;
345+ // value of the underlying original objects see below: target[property] = value;
346346 if ( foundObservable ) {
347347
348348 // loop over each proxy and see if the target for this change has any other proxies
@@ -364,7 +364,7 @@ var ObservableSlim = (function() {
364364
365365 // if the property being overwritten is an object, then that means this observable
366366 // will need to stop monitoring this object and any nested objects underneath the overwritten object else they'll become
367- // orphaned and grow memory usage. we excute this on a setTimeout so that the clean-up process does not block
367+ // orphaned and grow memory usage. we execute this on a setTimeout so that the clean-up process does not block
368368 // the UI rendering -- there's no need to execute the clean up immediately
369369 setTimeout ( function ( ) {
370370
@@ -496,7 +496,7 @@ var ObservableSlim = (function() {
496496 observables . push ( observable ) ;
497497 }
498498
499- // store the proxy we've created so it isn't re-created unnecessairly via get handler
499+ // store the proxy we've created so it isn't re-created unnecessarily via get handler
500500 var proxyItem = { "target" :target , "proxy" :proxy , "observable" :observable } ;
501501
502502 // if we have already created a Proxy for this target object then we add it to the corresponding array
@@ -524,7 +524,7 @@ var ObservableSlim = (function() {
524524 return {
525525 /* Method:
526526 Public method that is invoked to create a new ES6 Proxy whose changes we can observe
527- through the Observerable .observe() method.
527+ through the Observable .observe() method.
528528
529529 Parameters
530530 target - Object, required, plain JavaScript object that we want to observe for changes.
@@ -673,7 +673,7 @@ var ObservableSlim = (function() {
673673
674674 /* Method: remove
675675 This method will remove the observable and proxy thereby preventing any further callback observers for
676- changes occuring to the target object.
676+ changes occurring to the target object.
677677
678678 Parameters:
679679 proxy - the ES6 Proxy returned by the create() method.
0 commit comments