MCPcopy
hub / github.com/dcloudio/mui / _clone

Function _clone

examples/hello-mui/js/mui.listpicker.js:360–368  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

358 "setSelectedValue"
359 ];
360 var _clone = function(name) {
361 if (typeof self[name] === 'function') {
362 self.box[name] = function() {
363 return self[name].apply(self, arguments);
364 };
365 } else {
366 self.box[name] = self[name];
367 }
368 };
369 for (var i in memberArray) {
370 var name = memberArray[i];
371 _clone(name);

Callers 1

mui.listpicker.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected