Skip to content

Commit

Permalink
Commit 69 (v1.0.0-beta.69 - Beta Candidate)
Browse files Browse the repository at this point in the history
NEW FEATURES

- Support for $(selector).unlink(); or $.unlink(selector);

Bug Fixes:

- BorisMoore#315
  • Loading branch information
BorisMoore committed Sep 7, 2015
1 parent 0f02597 commit 809ee6c
Show file tree
Hide file tree
Showing 21 changed files with 459 additions and 184 deletions.
8 changes: 4 additions & 4 deletions jquery.observable.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JsObservable v1.0.0-beta.68 (Beta Candidate): http://jsviews.com/#jsobservable */
/*! JsObservable v1.0.0-beta.69 (Beta Candidate): http://jsviews.com/#jsobservable */
/*
* Subcomponent of JsViews
* Data change events for data-linking
Expand Down Expand Up @@ -397,7 +397,7 @@ if (!$.observe) {
// Uses the contextCb callback to execute the compiled exprOb template in the context of the view/data etc. to get the returned value, typically an object or array.
// If it is an array, registers array binding
var origRt = root;
// Note: For https://github.com/BorisMoore/jsviews/issues/292ctxCb will need var ctxCb = contextCb || function(exprOb, origRt) {return exprOb._jsv(origRt);};
// Note: For https://github.com/BorisMoore/jsviews/issues/292ctxCb will need var ctxCb = contextCb || function(exprOb, origRt) {return exprOb._jsv(origRt);};

exprOb.ob = contextCb(exprOb, origRt); // Initialize object

Expand Down Expand Up @@ -456,7 +456,7 @@ if (!$.observe) {
paths = this != 1 // Using != for IE<10 bug- see https://github.com/BorisMoore/jsviews/issues/237
? concat.apply([], arguments) // Flatten the arguments - this is a 'recursive call' with params using the 'wrapped array'
// style - such as innerObserve([object], path.path, [origRoot], path.prm, innerCb, ...);
: slice.call(arguments), // Don't flatten - this is the first 'top-level call, to innerObserve.apply(1, paths)
: slice.call(arguments), // Don't flatten - this is the first 'top-level call, to innerObserve.apply(1, paths)
lastArg = paths.pop() || false,
root = paths.shift(),
object = root,
Expand Down Expand Up @@ -643,7 +643,7 @@ if (!$.observe) {
origRoot = paths[0];

if (origRoot + "" === origRoot && allowArray) {
initialNs = origRoot; // The first arg is a namespace, since it is a string, and this call is not from observeAndBind
initialNs = origRoot; // The first arg is a namespace, since it is a string, and this call is not from observeAndBind
paths.shift();
origRoot = paths[0];
}
Expand Down
2 changes: 1 addition & 1 deletion jquery.observable.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jquery.observable.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 809ee6c

Please sign in to comment.