You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

can-view-live

Package Overview
Dependencies
Maintainers
13
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-view-live - npm Package Compare versions

Comparing version

to
5.0.1

31

can-view-live.js
"use strict";
/**
* @module {{}} can-view-live can-view-live
* @parent can-views
* @collection can-infrastructure
* @package ../package.json
*
* Setup live-binding between the DOM and a compute manually.
*
* @option {Object} An object with the live-binding methods:
* [can-view-live.html], [can-view-live.list], [can-view-live.text], and
* [can-view-live.attr].
*
* @release 2.0.4
*
* @body
*
* ## Use
*
* [can-view-live] is an object with utility methods for setting up
* live-binding in relation to different parts of the DOM and DOM elements. For
* example, to make an `<h2>`'s text stay live with
* a compute:
*
* ```js
* var live = require("can-view-live");
* var text = canCompute("Hello World");
* var textNode = $("h2").text(" ")[0].childNodes[0];
* live.text(textNode, text);
* ```
*
*/
var live = {};

@@ -3,0 +34,0 @@ live.attr = require("./lib/attr");

2

package.json
{
"name": "can-view-live",
"version": "5.0.0",
"version": "5.0.1",
"description": "",

@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-view-live.html",