UNPKG

can

Version:

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

17 lines (16 loc) 407 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*/ define(['can/util/library'], function (can) { var $ = can.$; if ($.fn) { $.fn.scope = $.fn.viewModel = function () { return can.viewModel.apply(can, [this].concat(can.makeArray(arguments))); }; } });