mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-01 15:46:18 +00:00
24 lines
299 B
JavaScript
24 lines
299 B
JavaScript
/*\
|
|
title: method/a.js
|
|
type: application/javascript
|
|
module-type: library
|
|
|
|
Method test
|
|
|
|
\*/
|
|
|
|
|
|
exports.foo = function () {
|
|
return this;
|
|
};
|
|
exports.set = function (x) {
|
|
this.x = x;
|
|
};
|
|
exports.get = function () {
|
|
return this.x;
|
|
};
|
|
exports.getClosed = function () {
|
|
return exports.x;
|
|
};
|
|
|