projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a9ac1c5486eca6979ef08a4fb15e6c439392e625
[platform/framework/web/crosswalk-tizen.git]
/
1
define(function () {
2
3
function F(){}
4
5
/**
6
* Do fn.apply on a constructor.
7
*/
8
function ctorApply(ctor, args) {
9
F.prototype = ctor.prototype;
10
var instance = new F();
11
ctor.apply(instance, args);
12
return instance;
13
}
14
15
return ctorApply;
16
17
});