UNPKG

can

Version:

MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy.

16 lines (15 loc) 366 B
/*! * CanJS - 2.3.34 * http://canjs.com/ * Copyright (c) 2018 Bitovi * Mon, 30 Apr 2018 20:56:51 GMT * Licensed MIT */ /*can@2.3.34#util/view_model/view_model*/ var can = require('../util.js'); var $ = can.$; if ($.fn) { $.fn.scope = $.fn.viewModel = function () { return can.viewModel.apply(can, [this].concat(can.makeArray(arguments))); }; }