Build CRUD apps in fewer lines of code.
Couple of fixes:
Couple of documentation fixes: https://github.com/canjs/can-param/pull/18 https://github.com/canjs/can-deparam/pull/20 https://github.com/canjs/canjs/pull/5510
Upgrade can-ajax
and can-make-map
with versions that fix package/main to work better with tools like webpack, babel and jest.
Fix can-view-live
package.json
path for documentation generation.
See canjs/can-control#143 for more
null
or undefined
, for example:class Foo extends ObservableObject() {
static get props() {
return {
nullProp: { default: null },
undefinedProp: { default: undefined }
};
}
}
var foo = new Foo();
foo.nullProp // -> null
foo.undefinedProp // -> undefined
and
class Foo extends ObservableObject() {
static get props() {
return {
nullProp: null ,
undefinedProp: undefined
};
}
}
var foo = new Foo();
foo.nullProp // -> null
foo.undefinedProp // -> undefined
canjs/can-observable-mixin#154
canRoute.register
from reading canRoute.data
data
before or after register
ing the routes.canjs/can-route#256
.register()
will read .data
when it’s called, so setting .data
later may have unintended consequences. The new warning lets you know when .data
is set after .register()
is called.node.contains(node)
returns true
canjs/can-simple-dom#99
{{scope.index}}
correctly.This enables for loops to loop through numbers:
{{# for(this.count) }}
{{ scope.index }}
{{/ for }}
can
package in docs
Use can
package in documentation instead of can/everything
:import { StacheElement } from "can/everything";
-> import { StacheElement } from "can";
canjs/can-stache-element#99
With this PR, all updates in can-view-live are queued on the dom queue and therefore updated in DOM order, whether they are html, text, list, or attribute updates.
See #155 for more.
canjs/can-view-live#154