registration: Explain skipFunction more succinctly
authorJames D. Forrester <jforrester@wikimedia.org>
Sat, 23 Apr 2016 01:54:13 +0000 (18:54 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Sat, 23 Apr 2016 01:54:13 +0000 (18:54 -0700)
Don't use the RL documentation for skipFunction which is wordy and
not helpful, to be in keeping with the rest of this file.

Change-Id: Ic72672be94537176a9aa0a138052137c9715f7cf

docs/extension.schema.json

index 370e18e..ab0ac24 100644 (file)
                                                                },
                                                                "skipFunction": {
                                                                        "type": "string",
-                                                                       "description": "Modules that provide fallback functionality can provide a \"skip function\". This function, if provided, will be passed along to the module registry on the client. When this module is loaded (either directly or as a dependency of another module), then this function is executed first. If the function returns true, the module will instantly be considered \"ready\" without requesting the associated module resources. The value returned here must be valid javascript for execution in a private function. It must not contain the \"function () {\" and \"}\" wrapper though."
+                                                                       "description": "Path to a file containing a JavaScript \"skip function\", if desired."
                                                                },
                                                                "scripts": {
                                                                        "type": ["string", "array"],