diff --git a/contributor/browser-jsapi-suite.js b/contributor/browser-jsapi-suite.js
index 73185482f..6beea7c40 100644
--- a/contributor/browser-jsapi-suite.js
+++ b/contributor/browser-jsapi-suite.js
@@ -26,7 +26,6 @@
suite.part(id, part);
};
- add("js/object/", getSlimePart("js/object/api.html"));
add("js/document/", getSlimePart("js/document/api.html"));
// TODO: does js/promise have any real tests?
add("js/promise/", getSlimePart("js/promise/api.html"));
diff --git a/contributor/jrunscript.jsh.js b/contributor/jrunscript.jsh.js
index 824718fde..8492c859a 100644
--- a/contributor/jrunscript.jsh.js
+++ b/contributor/jrunscript.jsh.js
@@ -79,10 +79,6 @@
// TODO loader/jrunscript/test/data/2/ has some tests but they require some classes in classpath
}));
- suite.add("js/object/other", new jsh.unit.html.Part({
- pathname: SRC.getRelativePath("js/object/api.html")
- }));
-
suite.add("js/document", new jsh.unit.html.Part({
pathname: SRC.getRelativePath("js/document/api.html")
}));
diff --git a/js/object/api.html b/js/object/api.html
deleted file mode 100644
index b00142899..000000000
--- a/js/object/api.html
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
- JavaScript language constructs
-
-
-
-
-
-
Context
-
-
-
globals
- (boolean) Whether to modify the global scope by supplying implementations of missing methods. If
- true, this module, in addition to providing the exports below, supplies implementations of the
- following JavaScript constructs if they are not supplied by the environment. These constructs do not currently
- have any automated tests implemented and thus should be treated as suspect.
-
-
-
-
Object
-
-
ECMA 262v5: Object.keys
-
-
-
Array
-
-
JS 1.6: Array.prototype.indexOf
-
JS 1.6: Array.prototype.filter
-
JS 1.6: Array.prototype.forEach
-
JS 1.6: Array.prototype.map
-
-
-
-
-
-
-
-
-
-
Exports
-
-
-
- task
-
- A JavaScript function representing an operation that can be scheduled. Although it is both a function, and
- represents a function-like operation (it can return a value), it does not receive arguments in the ordinary
- sense; it can receive a single argument called a tell to which its results will be sent, or it can
- return them directly to the caller.
-
-
- tell
- An object to notify with the results of an task.
-
has properties:
-
-
-
returned
- A function that will be invoked when the task completes.
-
-
- (optional)
- An object that will be this when the returned or threw functions
- are invoked upon completion of the task.
-
-
-
-
-
-
Arguments
-
-
- tell
-
- (optional)
- A recipient for the result of this task.
-
-
-
-
-
-
Returns
-
- If no tell was supplied, the value returned by the task.
-
-
-
-
-
-
diff --git a/js/object/module.fifty.ts b/js/object/module.fifty.ts
index 675b4d879..827ba10d2 100644
--- a/js/object/module.fifty.ts
+++ b/js/object/module.fifty.ts
@@ -11,6 +11,14 @@
*/
namespace slime.$api.old {
export interface Context {
+ /**
+ * Whether to modify the global scope by supplying implementations of missing methods. If `true`, this module,
+ * in addition to providing the exports below, supplies implementations of the following JavaScript constructs if they are
+ * not supplied by the environment. These constructs do not currently have any automated tests implemented and thus should
+ * be treated as suspect.
+ *
+ *