Skip to content

Releases: canjs/can-component

setting `viewModel: true` on scopes

10 May 15:47
Compare
Choose a tag to compare

skipping stache filename test in production

02 Apr 18:34
Compare
Choose a tag to compare

passing a filename to stache() for inline views

21 Mar 19:58
Compare
Choose a tag to compare

Filenames are now passed to stache() when using inline views like:

var MyComponent = Component.extend({
  tag: "my-filename-component",
  ViewModel: {},
  view: "<div></p>"
});

This way, useful error messages are given. For example, the view above gives:

MyFilenameComponentView:1: unexpected closing tag </p> expected </div>

#229

importing DefineList so that Arrays on the ViewModel will be converted

15 Mar 22:28
Compare
Choose a tag to compare

4.0.1

31 Jan 19:16
Compare
Choose a tag to compare

can-dom-data-state was incorrectly listed in the devDependencies object.

v3.3.10

26 Jan 22:05
Compare
Choose a tag to compare

Don’t mention 2.3 in the docs #195

v3.3.9

02 Jan 19:08
Compare
Choose a tag to compare

Fix issue with can-slot not working with <self-closing/> components #189

v3.3.8

21 Dec 17:35
Compare
Choose a tag to compare

Docs updates: #178 #182 #179 #187

v3.3.7

01 Dec 23:53
Compare
Choose a tag to compare
  • Change the can-globals semver range to <2.0.0 #177
  • Make the can-stache-key semver range more permissive #170

Various docs improvements

31 Oct 01:58
Compare
Choose a tag to compare
  • Update docs with new @parent & @collection #161
  • Update can-component docs with new binding syntax #149
  • Remove deprecated can-util methods and replace with can-globals #148

v3.3.5...v3.3.6