10 lines
166 B
JavaScript
Vendored
10 lines
166 B
JavaScript
Vendored
define("lib", [], function() {
|
|
function A(x) {
|
|
this.x = x;
|
|
}
|
|
A.prototype.foo = function (y) {
|
|
return this.x + y;
|
|
};
|
|
|
|
return A;
|
|
}); |