Skip to content

Releases: canjs/can-legacy-view-helpers

Restore all of legacy can.view

12 Apr 22:16
Compare
Choose a tag to compare

To assist in the upgrade path for CanJS 2.x projects, especially ones using EJS, this 1.0.0 release of can-legacy-view-helpers provides all of the functionality of the legacy can.view module, including:

  • a legacy Deferred object that works like jQuery.Deferred prior to jQuery 3.1, including synchronous resolution.
  • can.view(), which takes a renderer or path to a template and a context object, and returns the rendered view as a fragment with bindings resolved.
  • can.view.render(), which takes a renderer or path to a template and a context object, and returns the rendered view as a string without bindings resolved.
  • can.view.fragment(), which resolves any bindings on a string view created with can.view.render() and returns the result as a document fragment.

See #37 for the majority of code changes since version 0.6.

Remove pre-release package references

05 Sep 15:29
Compare
Choose a tag to compare

The post-can-reflect releases from CanJS 3.9 are all stable, so packages shouldn't be depending on pre-releases now.

Also in this release: check if window is defined (#20)

can-reflect

23 Jun 01:58
Compare
Choose a tag to compare
v0.6.0

0.6.0