Skip to content

Releases: canjs/can-view-model

QUNIT2 upgrade

28 May 20:21
Compare
Choose a tag to compare

This updates the tests to use QUnit@2.x.x.

#76

Update setting view-model

11 Feb 21:10
Compare
Choose a tag to compare

This update the docs to use domData.set without .call, like so:

import domData from "can-dom-data";
import DefineMap from "can-define/map/map";

const element = document.querySelector( "#my-id" );

const myVm = new DefineMap();

domData.set( element, "viewModel", myVm );

Updating can-globals dependency

01 Dec 22:49
Compare
Choose a tag to compare

Updated docs, added cycle detection, and use can-globals

01 Nov 23:15
Compare
Choose a tag to compare
  • Add a cycle detection script to test process #55
  • Update docs with new @parent & @collection #56
  • Remove deprecated can-util methods and replace with can-globals #52

v3.5.0...v3.5.1

Document the API changes from 3.2.0

28 Sep 14:28
Compare
Choose a tag to compare

With version 3.2.0, can-view-model gained the ability to read the view model of an element from a jQuery, array-like, or selector string. This was not documented at the time, but is now officially part of the API.

can-reflect

23 Jun 03:37
Compare
Choose a tag to compare
v3.3.0

3.3.0

Allow passing jquery element / set custom map on element

webpack

25 Nov 19:46
Compare
Choose a tag to compare

#8 - Webpack works