How to use js method in ghostjs

Best JavaScript code snippet using ghostjs

config.js

Source:config.js Github

copy

Full Screen

1System.config({2 baseURL: "/",3 defaultJSExtensions: true,4 transpiler: "typescript",5 typescriptOptions: {6 "module": "system",7 "noImplicitAny": false,8 "typeCheck": true9 },10 paths: {11 "npm:*": "jspm_packages/npm/*",12 "github:*": "jspm_packages/github/*"13 },14 packages: {15 "src": {16 "main": "app.ts",17 "defaultExtension": "ts"18 }19 },20 map: {21 "aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.0-beta.1.1.2",22 "text": "github:systemjs/plugin-text@0.0.4",23 "typescript": "npm:typescript@1.8.0",24 "github:jspm/nodelibs-assert@0.1.0": {25 "assert": "npm:assert@1.3.0"26 },27 "github:jspm/nodelibs-path@0.1.0": {28 "path-browserify": "npm:path-browserify@0.0.0"29 },30 "github:jspm/nodelibs-process@0.1.2": {31 "process": "npm:process@0.11.2"32 },33 "github:jspm/nodelibs-util@0.1.0": {34 "util": "npm:util@0.10.3"35 },36 "npm:assert@1.3.0": {37 "util": "npm:util@0.10.3"38 },39 "npm:aurelia-binding@1.0.0-beta.1.1.3": {40 "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.4",41 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",42 "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.1",43 "core-js": "npm:core-js@2.1.0"44 },45 "npm:aurelia-bootstrapper@1.0.0-beta.1.1.2": {46 "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-beta.1.1.1",47 "aurelia-framework": "npm:aurelia-framework@1.0.0-beta.1.1.3",48 "aurelia-history": "npm:aurelia-history@1.0.0-beta.1.1.1",49 "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0-beta.1.1.2",50 "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0-beta.1.1.2",51 "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0-beta.1.1.4",52 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",53 "aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0-beta.1.1.3",54 "aurelia-router": "npm:aurelia-router@1.0.0-beta.1.1.1",55 "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.1",56 "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0-beta.1.1.1",57 "aurelia-templating-resources": "npm:aurelia-templating-resources@1.0.0-beta.1.1.1",58 "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0-beta.1.1.1",59 "core-js": "npm:core-js@2.1.0"60 },61 "npm:aurelia-dependency-injection@1.0.0-beta.1.1.3": {62 "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1",63 "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.4",64 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",65 "core-js": "npm:core-js@2.1.0"66 },67 "npm:aurelia-event-aggregator@1.0.0-beta.1.1.1": {68 "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1"69 },70 "npm:aurelia-framework@1.0.0-beta.1.1.3": {71 "aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.1.3",72 "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.3",73 "aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.1.1",74 "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1",75 "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.4",76 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",77 "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0",78 "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.1",79 "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.1",80 "core-js": "npm:core-js@2.1.0"81 },82 "npm:aurelia-history-browser@1.0.0-beta.1.1.2": {83 "aurelia-history": "npm:aurelia-history@1.0.0-beta.1.1.1",84 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",85 "core-js": "npm:core-js@2.1.0"86 },87 "npm:aurelia-loader-default@1.0.0-beta.1.1.2": {88 "aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.1.1",89 "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.4",90 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1"91 },92 "npm:aurelia-loader@1.0.0-beta.1.1.1": {93 "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.4",94 "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0"95 },96 "npm:aurelia-logging-console@1.0.0-beta.1.1.4": {97 "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1",98 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1"99 },100 "npm:aurelia-metadata@1.0.0-beta.1.1.4": {101 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",102 "core-js": "npm:core-js@2.1.0"103 },104 "npm:aurelia-pal-browser@1.0.0-beta.1.1.3": {105 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",106 "core-js": "npm:core-js@2.1.0"107 },108 "npm:aurelia-route-recognizer@1.0.0-beta.1.1.1": {109 "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0",110 "core-js": "npm:core-js@2.1.0"111 },112 "npm:aurelia-router@1.0.0-beta.1.1.1": {113 "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.3",114 "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-beta.1.1.1",115 "aurelia-history": "npm:aurelia-history@1.0.0-beta.1.1.1",116 "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1",117 "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0",118 "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.0.0-beta.1.1.1",119 "core-js": "npm:core-js@2.1.0"120 },121 "npm:aurelia-task-queue@1.0.0-beta.1.1.1": {122 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1"123 },124 "npm:aurelia-templating-binding@1.0.0-beta.1.1.1": {125 "aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.1.3",126 "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1",127 "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.1"128 },129 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1": {130 "aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.1.3",131 "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.3",132 "aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.1.1",133 "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1",134 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",135 "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0",136 "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.1",137 "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.1",138 "core-js": "npm:core-js@2.1.0"139 },140 "npm:aurelia-templating-router@1.0.0-beta.1.1.1": {141 "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.3",142 "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1",143 "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.4",144 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",145 "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0",146 "aurelia-router": "npm:aurelia-router@1.0.0-beta.1.1.1",147 "aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.1"148 },149 "npm:aurelia-templating@1.0.0-beta.1.1.1": {150 "aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.1.3",151 "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.3",152 "aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.1.1",153 "aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.1",154 "aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.4",155 "aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",156 "aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0",157 "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.1",158 "core-js": "npm:core-js@2.1.0"159 },160 "npm:core-js@2.1.0": {161 "fs": "github:jspm/nodelibs-fs@0.1.2",162 "path": "github:jspm/nodelibs-path@0.1.0",163 "process": "github:jspm/nodelibs-process@0.1.2",164 "systemjs-json": "github:systemjs/plugin-json@0.1.0"165 },166 "npm:inherits@2.0.1": {167 "util": "github:jspm/nodelibs-util@0.1.0"168 },169 "npm:path-browserify@0.0.0": {170 "process": "github:jspm/nodelibs-process@0.1.2"171 },172 "npm:process@0.11.2": {173 "assert": "github:jspm/nodelibs-assert@0.1.0"174 },175 "npm:util@0.10.3": {176 "inherits": "npm:inherits@2.0.1",177 "process": "github:jspm/nodelibs-process@0.1.2"178 }179 },180 bundles: {181 "app-build-9b2c5f8545.js": [182 "github:jspm/nodelibs-process@0.1.2.js",183 "github:jspm/nodelibs-process@0.1.2/index.js",184 "npm:aurelia-binding@1.0.0-beta.1.1.3.js",185 "npm:aurelia-binding@1.0.0-beta.1.1.3/aurelia-binding.js",186 "npm:aurelia-bootstrapper@1.0.0-beta.1.1.2.js",187 "npm:aurelia-bootstrapper@1.0.0-beta.1.1.2/aurelia-bootstrapper.js",188 "npm:aurelia-dependency-injection@1.0.0-beta.1.1.3.js",189 "npm:aurelia-dependency-injection@1.0.0-beta.1.1.3/aurelia-dependency-injection.js",190 "npm:aurelia-event-aggregator@1.0.0-beta.1.1.1.js",191 "npm:aurelia-event-aggregator@1.0.0-beta.1.1.1/aurelia-event-aggregator.js",192 "npm:aurelia-framework@1.0.0-beta.1.1.3.js",193 "npm:aurelia-framework@1.0.0-beta.1.1.3/aurelia-framework.js",194 "npm:aurelia-history-browser@1.0.0-beta.1.1.2.js",195 "npm:aurelia-history-browser@1.0.0-beta.1.1.2/aurelia-history-browser.js",196 "npm:aurelia-history@1.0.0-beta.1.1.1.js",197 "npm:aurelia-history@1.0.0-beta.1.1.1/aurelia-history.js",198 "npm:aurelia-loader-default@1.0.0-beta.1.1.2.js",199 "npm:aurelia-loader-default@1.0.0-beta.1.1.2/aurelia-loader-default.js",200 "npm:aurelia-loader@1.0.0-beta.1.1.1.js",201 "npm:aurelia-loader@1.0.0-beta.1.1.1/aurelia-loader.js",202 "npm:aurelia-logging-console@1.0.0-beta.1.1.4.js",203 "npm:aurelia-logging-console@1.0.0-beta.1.1.4/aurelia-logging-console.js",204 "npm:aurelia-logging@1.0.0-beta.1.1.1.js",205 "npm:aurelia-logging@1.0.0-beta.1.1.1/aurelia-logging.js",206 "npm:aurelia-metadata@1.0.0-beta.1.1.4.js",207 "npm:aurelia-metadata@1.0.0-beta.1.1.4/aurelia-metadata.js",208 "npm:aurelia-pal-browser@1.0.0-beta.1.1.3.js",209 "npm:aurelia-pal-browser@1.0.0-beta.1.1.3/aurelia-pal-browser.js",210 "npm:aurelia-pal@1.0.0-beta.1.1.1.js",211 "npm:aurelia-pal@1.0.0-beta.1.1.1/aurelia-pal.js",212 "npm:aurelia-path@1.0.0-beta.1.1.0.js",213 "npm:aurelia-path@1.0.0-beta.1.1.0/aurelia-path.js",214 "npm:aurelia-route-recognizer@1.0.0-beta.1.1.1.js",215 "npm:aurelia-route-recognizer@1.0.0-beta.1.1.1/aurelia-route-recognizer.js",216 "npm:aurelia-router@1.0.0-beta.1.1.1.js",217 "npm:aurelia-router@1.0.0-beta.1.1.1/aurelia-router.js",218 "npm:aurelia-task-queue@1.0.0-beta.1.1.1.js",219 "npm:aurelia-task-queue@1.0.0-beta.1.1.1/aurelia-task-queue.js",220 "npm:aurelia-templating-binding@1.0.0-beta.1.1.1.js",221 "npm:aurelia-templating-binding@1.0.0-beta.1.1.1/aurelia-templating-binding.js",222 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1.js",223 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/analyze-view-factory.js",224 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/array-repeat-strategy.js",225 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/aurelia-templating-resources.js",226 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/binding-mode-behaviors.js",227 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/binding-signaler.js",228 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/compile-spy.js",229 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/compose.js",230 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/css-resource.js",231 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/debounce-binding-behavior.js",232 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/dynamic-element.js",233 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/focus.js",234 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/html-sanitizer.js",235 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/if.js",236 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/map-repeat-strategy.js",237 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/null-repeat-strategy.js",238 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/number-repeat-strategy.js",239 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/repeat-strategy-locator.js",240 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/repeat-utilities.js",241 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/repeat.js",242 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/replaceable.js",243 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/sanitize-html.js",244 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/set-repeat-strategy.js",245 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/show.js",246 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/signal-binding-behavior.js",247 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/throttle-binding-behavior.js",248 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/update-trigger-binding-behavior.js",249 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/view-spy.js",250 "npm:aurelia-templating-resources@1.0.0-beta.1.1.1/with.js",251 "npm:aurelia-templating-router@1.0.0-beta.1.1.1.js",252 "npm:aurelia-templating-router@1.0.0-beta.1.1.1/aurelia-templating-router.js",253 "npm:aurelia-templating-router@1.0.0-beta.1.1.1/route-href.js",254 "npm:aurelia-templating-router@1.0.0-beta.1.1.1/route-loader.js",255 "npm:aurelia-templating-router@1.0.0-beta.1.1.1/router-view.js",256 "npm:aurelia-templating@1.0.0-beta.1.1.1.js",257 "npm:aurelia-templating@1.0.0-beta.1.1.1/aurelia-templating.js",258 "npm:core-js@2.1.0.js",259 "npm:core-js@2.1.0/index.js",260 "npm:core-js@2.1.0/modules/_a-function.js",261 "npm:core-js@2.1.0/modules/_a-number-value.js",262 "npm:core-js@2.1.0/modules/_add-to-unscopables.js",263 "npm:core-js@2.1.0/modules/_an-instance.js",264 "npm:core-js@2.1.0/modules/_an-object.js",265 "npm:core-js@2.1.0/modules/_array-copy-within.js",266 "npm:core-js@2.1.0/modules/_array-fill.js",267 "npm:core-js@2.1.0/modules/_array-from-iterable.js",268 "npm:core-js@2.1.0/modules/_array-includes.js",269 "npm:core-js@2.1.0/modules/_array-methods.js",270 "npm:core-js@2.1.0/modules/_array-reduce.js",271 "npm:core-js@2.1.0/modules/_array-species-create.js",272 "npm:core-js@2.1.0/modules/_bind.js",273 "npm:core-js@2.1.0/modules/_classof.js",274 "npm:core-js@2.1.0/modules/_cof.js",275 "npm:core-js@2.1.0/modules/_collection-strong.js",276 "npm:core-js@2.1.0/modules/_collection-to-json.js",277 "npm:core-js@2.1.0/modules/_collection-weak.js",278 "npm:core-js@2.1.0/modules/_collection.js",279 "npm:core-js@2.1.0/modules/_core.js",280 "npm:core-js@2.1.0/modules/_ctx.js",281 "npm:core-js@2.1.0/modules/_defined.js",282 "npm:core-js@2.1.0/modules/_descriptors.js",283 "npm:core-js@2.1.0/modules/_dom-create.js",284 "npm:core-js@2.1.0/modules/_enum-bug-keys.js",285 "npm:core-js@2.1.0/modules/_enum-keys.js",286 "npm:core-js@2.1.0/modules/_export.js",287 "npm:core-js@2.1.0/modules/_fails-is-regexp.js",288 "npm:core-js@2.1.0/modules/_fails.js",289 "npm:core-js@2.1.0/modules/_fix-re-wks.js",290 "npm:core-js@2.1.0/modules/_flags.js",291 "npm:core-js@2.1.0/modules/_for-of.js",292 "npm:core-js@2.1.0/modules/_global.js",293 "npm:core-js@2.1.0/modules/_has.js",294 "npm:core-js@2.1.0/modules/_hide.js",295 "npm:core-js@2.1.0/modules/_html.js",296 "npm:core-js@2.1.0/modules/_ie8-dom-define.js",297 "npm:core-js@2.1.0/modules/_inherit-if-required.js",298 "npm:core-js@2.1.0/modules/_invoke.js",299 "npm:core-js@2.1.0/modules/_iobject.js",300 "npm:core-js@2.1.0/modules/_is-array-iter.js",301 "npm:core-js@2.1.0/modules/_is-array.js",302 "npm:core-js@2.1.0/modules/_is-integer.js",303 "npm:core-js@2.1.0/modules/_is-object.js",304 "npm:core-js@2.1.0/modules/_is-regexp.js",305 "npm:core-js@2.1.0/modules/_iter-call.js",306 "npm:core-js@2.1.0/modules/_iter-create.js",307 "npm:core-js@2.1.0/modules/_iter-define.js",308 "npm:core-js@2.1.0/modules/_iter-detect.js",309 "npm:core-js@2.1.0/modules/_iter-step.js",310 "npm:core-js@2.1.0/modules/_iterators.js",311 "npm:core-js@2.1.0/modules/_keyof.js",312 "npm:core-js@2.1.0/modules/_library.js",313 "npm:core-js@2.1.0/modules/_math-expm1.js",314 "npm:core-js@2.1.0/modules/_math-log1p.js",315 "npm:core-js@2.1.0/modules/_math-sign.js",316 "npm:core-js@2.1.0/modules/_meta.js",317 "npm:core-js@2.1.0/modules/_metadata.js",318 "npm:core-js@2.1.0/modules/_microtask.js",319 "npm:core-js@2.1.0/modules/_object-assign.js",320 "npm:core-js@2.1.0/modules/_object-create.js",321 "npm:core-js@2.1.0/modules/_object-define.js",322 "npm:core-js@2.1.0/modules/_object-dp.js",323 "npm:core-js@2.1.0/modules/_object-dps.js",324 "npm:core-js@2.1.0/modules/_object-gopd.js",325 "npm:core-js@2.1.0/modules/_object-gopn-ext.js",326 "npm:core-js@2.1.0/modules/_object-gopn.js",327 "npm:core-js@2.1.0/modules/_object-gops.js",328 "npm:core-js@2.1.0/modules/_object-gpo.js",329 "npm:core-js@2.1.0/modules/_object-keys-internal.js",330 "npm:core-js@2.1.0/modules/_object-keys.js",331 "npm:core-js@2.1.0/modules/_object-pie.js",332 "npm:core-js@2.1.0/modules/_object-sap.js",333 "npm:core-js@2.1.0/modules/_object-to-array.js",334 "npm:core-js@2.1.0/modules/_own-keys.js",335 "npm:core-js@2.1.0/modules/_parse-float.js",336 "npm:core-js@2.1.0/modules/_parse-int.js",337 "npm:core-js@2.1.0/modules/_partial.js",338 "npm:core-js@2.1.0/modules/_path.js",339 "npm:core-js@2.1.0/modules/_property-desc.js",340 "npm:core-js@2.1.0/modules/_redefine-all.js",341 "npm:core-js@2.1.0/modules/_redefine.js",342 "npm:core-js@2.1.0/modules/_replacer.js",343 "npm:core-js@2.1.0/modules/_same-value.js",344 "npm:core-js@2.1.0/modules/_set-proto.js",345 "npm:core-js@2.1.0/modules/_set-species.js",346 "npm:core-js@2.1.0/modules/_set-to-string-tag.js",347 "npm:core-js@2.1.0/modules/_shared-key.js",348 "npm:core-js@2.1.0/modules/_shared.js",349 "npm:core-js@2.1.0/modules/_species-constructor.js",350 "npm:core-js@2.1.0/modules/_strict-method.js",351 "npm:core-js@2.1.0/modules/_string-at.js",352 "npm:core-js@2.1.0/modules/_string-context.js",353 "npm:core-js@2.1.0/modules/_string-html.js",354 "npm:core-js@2.1.0/modules/_string-pad.js",355 "npm:core-js@2.1.0/modules/_string-repeat.js",356 "npm:core-js@2.1.0/modules/_string-trim.js",357 "npm:core-js@2.1.0/modules/_string-ws.js",358 "npm:core-js@2.1.0/modules/_task.js",359 "npm:core-js@2.1.0/modules/_to-index.js",360 "npm:core-js@2.1.0/modules/_to-integer.js",361 "npm:core-js@2.1.0/modules/_to-iobject.js",362 "npm:core-js@2.1.0/modules/_to-length.js",363 "npm:core-js@2.1.0/modules/_to-object.js",364 "npm:core-js@2.1.0/modules/_to-primitive.js",365 "npm:core-js@2.1.0/modules/_typed-array.js",366 "npm:core-js@2.1.0/modules/_typed-buffer.js",367 "npm:core-js@2.1.0/modules/_typed.js",368 "npm:core-js@2.1.0/modules/_uid.js",369 "npm:core-js@2.1.0/modules/_wks.js",370 "npm:core-js@2.1.0/modules/core.delay.js",371 "npm:core-js@2.1.0/modules/core.dict.js",372 "npm:core-js@2.1.0/modules/core.function.part.js",373 "npm:core-js@2.1.0/modules/core.get-iterator-method.js",374 "npm:core-js@2.1.0/modules/core.get-iterator.js",375 "npm:core-js@2.1.0/modules/core.is-iterable.js",376 "npm:core-js@2.1.0/modules/core.number.iterator.js",377 "npm:core-js@2.1.0/modules/core.object.classof.js",378 "npm:core-js@2.1.0/modules/core.object.define.js",379 "npm:core-js@2.1.0/modules/core.object.is-object.js",380 "npm:core-js@2.1.0/modules/core.object.make.js",381 "npm:core-js@2.1.0/modules/core.regexp.escape.js",382 "npm:core-js@2.1.0/modules/core.string.escape-html.js",383 "npm:core-js@2.1.0/modules/core.string.unescape-html.js",384 "npm:core-js@2.1.0/modules/es6.array.copy-within.js",385 "npm:core-js@2.1.0/modules/es6.array.every.js",386 "npm:core-js@2.1.0/modules/es6.array.fill.js",387 "npm:core-js@2.1.0/modules/es6.array.filter.js",388 "npm:core-js@2.1.0/modules/es6.array.find-index.js",389 "npm:core-js@2.1.0/modules/es6.array.find.js",390 "npm:core-js@2.1.0/modules/es6.array.for-each.js",391 "npm:core-js@2.1.0/modules/es6.array.from.js",392 "npm:core-js@2.1.0/modules/es6.array.index-of.js",393 "npm:core-js@2.1.0/modules/es6.array.is-array.js",394 "npm:core-js@2.1.0/modules/es6.array.iterator.js",395 "npm:core-js@2.1.0/modules/es6.array.join.js",396 "npm:core-js@2.1.0/modules/es6.array.last-index-of.js",397 "npm:core-js@2.1.0/modules/es6.array.map.js",398 "npm:core-js@2.1.0/modules/es6.array.of.js",399 "npm:core-js@2.1.0/modules/es6.array.reduce-right.js",400 "npm:core-js@2.1.0/modules/es6.array.reduce.js",401 "npm:core-js@2.1.0/modules/es6.array.slice.js",402 "npm:core-js@2.1.0/modules/es6.array.some.js",403 "npm:core-js@2.1.0/modules/es6.array.sort.js",404 "npm:core-js@2.1.0/modules/es6.array.species.js",405 "npm:core-js@2.1.0/modules/es6.date.now.js",406 "npm:core-js@2.1.0/modules/es6.date.to-iso-string.js",407 "npm:core-js@2.1.0/modules/es6.date.to-json.js",408 "npm:core-js@2.1.0/modules/es6.date.to-string.js",409 "npm:core-js@2.1.0/modules/es6.function.bind.js",410 "npm:core-js@2.1.0/modules/es6.function.has-instance.js",411 "npm:core-js@2.1.0/modules/es6.function.name.js",412 "npm:core-js@2.1.0/modules/es6.map.js",413 "npm:core-js@2.1.0/modules/es6.math.acosh.js",414 "npm:core-js@2.1.0/modules/es6.math.asinh.js",415 "npm:core-js@2.1.0/modules/es6.math.atanh.js",416 "npm:core-js@2.1.0/modules/es6.math.cbrt.js",417 "npm:core-js@2.1.0/modules/es6.math.clz32.js",418 "npm:core-js@2.1.0/modules/es6.math.cosh.js",419 "npm:core-js@2.1.0/modules/es6.math.expm1.js",420 "npm:core-js@2.1.0/modules/es6.math.fround.js",421 "npm:core-js@2.1.0/modules/es6.math.hypot.js",422 "npm:core-js@2.1.0/modules/es6.math.imul.js",423 "npm:core-js@2.1.0/modules/es6.math.log10.js",424 "npm:core-js@2.1.0/modules/es6.math.log1p.js",425 "npm:core-js@2.1.0/modules/es6.math.log2.js",426 "npm:core-js@2.1.0/modules/es6.math.sign.js",427 "npm:core-js@2.1.0/modules/es6.math.sinh.js",428 "npm:core-js@2.1.0/modules/es6.math.tanh.js",429 "npm:core-js@2.1.0/modules/es6.math.trunc.js",430 "npm:core-js@2.1.0/modules/es6.number.constructor.js",431 "npm:core-js@2.1.0/modules/es6.number.epsilon.js",432 "npm:core-js@2.1.0/modules/es6.number.is-finite.js",433 "npm:core-js@2.1.0/modules/es6.number.is-integer.js",434 "npm:core-js@2.1.0/modules/es6.number.is-nan.js",435 "npm:core-js@2.1.0/modules/es6.number.is-safe-integer.js",436 "npm:core-js@2.1.0/modules/es6.number.max-safe-integer.js",437 "npm:core-js@2.1.0/modules/es6.number.min-safe-integer.js",438 "npm:core-js@2.1.0/modules/es6.number.parse-float.js",439 "npm:core-js@2.1.0/modules/es6.number.parse-int.js",440 "npm:core-js@2.1.0/modules/es6.number.to-fixed.js",441 "npm:core-js@2.1.0/modules/es6.number.to-precision.js",442 "npm:core-js@2.1.0/modules/es6.object.assign.js",443 "npm:core-js@2.1.0/modules/es6.object.create.js",444 "npm:core-js@2.1.0/modules/es6.object.define-properties.js",445 "npm:core-js@2.1.0/modules/es6.object.define-property.js",446 "npm:core-js@2.1.0/modules/es6.object.freeze.js",447 "npm:core-js@2.1.0/modules/es6.object.get-own-property-descriptor.js",448 "npm:core-js@2.1.0/modules/es6.object.get-own-property-names.js",449 "npm:core-js@2.1.0/modules/es6.object.get-prototype-of.js",450 "npm:core-js@2.1.0/modules/es6.object.is-extensible.js",451 "npm:core-js@2.1.0/modules/es6.object.is-frozen.js",452 "npm:core-js@2.1.0/modules/es6.object.is-sealed.js",453 "npm:core-js@2.1.0/modules/es6.object.is.js",454 "npm:core-js@2.1.0/modules/es6.object.keys.js",455 "npm:core-js@2.1.0/modules/es6.object.prevent-extensions.js",456 "npm:core-js@2.1.0/modules/es6.object.seal.js",457 "npm:core-js@2.1.0/modules/es6.object.set-prototype-of.js",458 "npm:core-js@2.1.0/modules/es6.object.to-string.js",459 "npm:core-js@2.1.0/modules/es6.parse-float.js",460 "npm:core-js@2.1.0/modules/es6.parse-int.js",461 "npm:core-js@2.1.0/modules/es6.promise.js",462 "npm:core-js@2.1.0/modules/es6.reflect.apply.js",463 "npm:core-js@2.1.0/modules/es6.reflect.construct.js",464 "npm:core-js@2.1.0/modules/es6.reflect.define-property.js",465 "npm:core-js@2.1.0/modules/es6.reflect.delete-property.js",466 "npm:core-js@2.1.0/modules/es6.reflect.enumerate.js",467 "npm:core-js@2.1.0/modules/es6.reflect.get-own-property-descriptor.js",468 "npm:core-js@2.1.0/modules/es6.reflect.get-prototype-of.js",469 "npm:core-js@2.1.0/modules/es6.reflect.get.js",470 "npm:core-js@2.1.0/modules/es6.reflect.has.js",471 "npm:core-js@2.1.0/modules/es6.reflect.is-extensible.js",472 "npm:core-js@2.1.0/modules/es6.reflect.own-keys.js",473 "npm:core-js@2.1.0/modules/es6.reflect.prevent-extensions.js",474 "npm:core-js@2.1.0/modules/es6.reflect.set-prototype-of.js",475 "npm:core-js@2.1.0/modules/es6.reflect.set.js",476 "npm:core-js@2.1.0/modules/es6.regexp.constructor.js",477 "npm:core-js@2.1.0/modules/es6.regexp.flags.js",478 "npm:core-js@2.1.0/modules/es6.regexp.match.js",479 "npm:core-js@2.1.0/modules/es6.regexp.replace.js",480 "npm:core-js@2.1.0/modules/es6.regexp.search.js",481 "npm:core-js@2.1.0/modules/es6.regexp.split.js",482 "npm:core-js@2.1.0/modules/es6.regexp.to-string.js",483 "npm:core-js@2.1.0/modules/es6.set.js",484 "npm:core-js@2.1.0/modules/es6.string.anchor.js",485 "npm:core-js@2.1.0/modules/es6.string.big.js",486 "npm:core-js@2.1.0/modules/es6.string.blink.js",487 "npm:core-js@2.1.0/modules/es6.string.bold.js",488 "npm:core-js@2.1.0/modules/es6.string.code-point-at.js",489 "npm:core-js@2.1.0/modules/es6.string.ends-with.js",490 "npm:core-js@2.1.0/modules/es6.string.fixed.js",491 "npm:core-js@2.1.0/modules/es6.string.fontcolor.js",492 "npm:core-js@2.1.0/modules/es6.string.fontsize.js",493 "npm:core-js@2.1.0/modules/es6.string.from-code-point.js",494 "npm:core-js@2.1.0/modules/es6.string.includes.js",495 "npm:core-js@2.1.0/modules/es6.string.italics.js",496 "npm:core-js@2.1.0/modules/es6.string.iterator.js",497 "npm:core-js@2.1.0/modules/es6.string.link.js",498 "npm:core-js@2.1.0/modules/es6.string.raw.js",499 "npm:core-js@2.1.0/modules/es6.string.repeat.js",500 "npm:core-js@2.1.0/modules/es6.string.small.js",501 "npm:core-js@2.1.0/modules/es6.string.starts-with.js",502 "npm:core-js@2.1.0/modules/es6.string.strike.js",503 "npm:core-js@2.1.0/modules/es6.string.sub.js",504 "npm:core-js@2.1.0/modules/es6.string.sup.js",505 "npm:core-js@2.1.0/modules/es6.string.trim.js",506 "npm:core-js@2.1.0/modules/es6.symbol.js",507 "npm:core-js@2.1.0/modules/es6.typed.array-buffer.js",508 "npm:core-js@2.1.0/modules/es6.typed.data-view.js",509 "npm:core-js@2.1.0/modules/es6.typed.float32-array.js",510 "npm:core-js@2.1.0/modules/es6.typed.float64-array.js",511 "npm:core-js@2.1.0/modules/es6.typed.int16-array.js",512 "npm:core-js@2.1.0/modules/es6.typed.int32-array.js",513 "npm:core-js@2.1.0/modules/es6.typed.int8-array.js",514 "npm:core-js@2.1.0/modules/es6.typed.uint16-array.js",515 "npm:core-js@2.1.0/modules/es6.typed.uint32-array.js",516 "npm:core-js@2.1.0/modules/es6.typed.uint8-array.js",517 "npm:core-js@2.1.0/modules/es6.typed.uint8-clamped-array.js",518 "npm:core-js@2.1.0/modules/es6.weak-map.js",519 "npm:core-js@2.1.0/modules/es6.weak-set.js",520 "npm:core-js@2.1.0/modules/es7.array.includes.js",521 "npm:core-js@2.1.0/modules/es7.error.is-error.js",522 "npm:core-js@2.1.0/modules/es7.map.to-json.js",523 "npm:core-js@2.1.0/modules/es7.math.iaddh.js",524 "npm:core-js@2.1.0/modules/es7.math.imulh.js",525 "npm:core-js@2.1.0/modules/es7.math.isubh.js",526 "npm:core-js@2.1.0/modules/es7.math.umulh.js",527 "npm:core-js@2.1.0/modules/es7.object.entries.js",528 "npm:core-js@2.1.0/modules/es7.object.get-own-property-descriptors.js",529 "npm:core-js@2.1.0/modules/es7.object.values.js",530 "npm:core-js@2.1.0/modules/es7.reflect.define-metadata.js",531 "npm:core-js@2.1.0/modules/es7.reflect.delete-metadata.js",532 "npm:core-js@2.1.0/modules/es7.reflect.get-metadata-keys.js",533 "npm:core-js@2.1.0/modules/es7.reflect.get-metadata.js",534 "npm:core-js@2.1.0/modules/es7.reflect.get-own-metadata-keys.js",535 "npm:core-js@2.1.0/modules/es7.reflect.get-own-metadata.js",536 "npm:core-js@2.1.0/modules/es7.reflect.has-metadata.js",537 "npm:core-js@2.1.0/modules/es7.reflect.has-own-metadata.js",538 "npm:core-js@2.1.0/modules/es7.reflect.metadata.js",539 "npm:core-js@2.1.0/modules/es7.set.to-json.js",540 "npm:core-js@2.1.0/modules/es7.string.at.js",541 "npm:core-js@2.1.0/modules/es7.string.pad-end.js",542 "npm:core-js@2.1.0/modules/es7.string.pad-start.js",543 "npm:core-js@2.1.0/modules/es7.string.trim-left.js",544 "npm:core-js@2.1.0/modules/es7.string.trim-right.js",545 "npm:core-js@2.1.0/modules/es7.system.global.js",546 "npm:core-js@2.1.0/modules/web.dom.iterable.js",547 "npm:core-js@2.1.0/modules/web.immediate.js",548 "npm:core-js@2.1.0/modules/web.timers.js",549 "npm:core-js@2.1.0/shim.js",550 "npm:process@0.11.2.js",551 "npm:process@0.11.2/browser.js",552 "src/app.html!github:systemjs/plugin-text@0.0.4.js",553 "src/app.ts",554 "src/main.ts"555 ]556 }...

Full Screen

Full Screen

loader.js

Source:loader.js Github

copy

Full Screen

1/*2 * See the NOTICE file distributed with this work for additional3 * information regarding copyright ownership.4 *5 * This is free software; you can redistribute it and/or modify it6 * under the terms of the GNU Lesser General Public License as7 * published by the Free Software Foundation; either version 2.1 of8 * the License, or (at your option) any later version.9 *10 * This software is distributed in the hope that it will be useful,11 * but WITHOUT ANY WARRANTY; without even the implied warranty of12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU13 * Lesser General Public License for more details.14 *15 * You should have received a copy of the GNU Lesser General Public16 * License along with this software; if not, write to the Free17 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA18 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.19 *20 */21/**22 * Bootloader for Ajax.org Platform23 *24 * Include apf.js, then just go about it as you would with the25 * packaged version. Adapt this file to include your preferred modules26 */27// #ifndef __PACKAGED28apf.$loader29 .setGlobalDefaults({30 BasePath: apf.basePath,31 //AlwaysPreserveOrder: true,32 AllowDuplicates : true33 //UsePreloading : false34 })35apf.$x = apf.$loader36 .script(37 "core/class.js",38 "core/crypto/base64.js",39 "core/crypto/md5.js",40 "core/lib/util/abstractevent.js",41 "core/lib/util/async.js",42 "core/lib/util/utilities.js",43 "core/lib/util/color.js",44 "core/lib/util/cookie.js",45 "core/lib/util/style.js",46 "core/lib/util/ecmaext.js",47 "core/lib/util/flash.js",48 "core/lib/util/hotkey.js",49 "core/lib/util/iepngfix.js",50 "core/lib/util/json.js",51 "core/lib/util/nameserver.js",52 "core/lib/util/plane.js",53 "core/lib/util/popup.js",54 "core/lib/util/silverlight.js",55 "core/lib/util/syntax.js",56 "core/lib/util/xml.js",57 "core/lib/util/xmldiff.js",58 "core/lib/util/zmanager.js",59 "core/lib/util/visibilitymanager.js",60 "core/lib/tween.js",61 "core/lib/date.js",62 "core/lib/data.js",63 "core/lib/flow.js",64 "core/lib/geolocation.js",65 "core/lib/history.js",66 "core/lib/html.js",67 "core/lib/layout.js",68 "core/lib/printer.js",69 "core/lib/queue.js",70 "core/lib/resize.js",71 "core/lib/selection.js",72 "core/lib/sort.js",73 "core/lib/skins.js",74 "core/lib/language.js",75 "core/lib/xmldb.js",76 "core/lib/teleport/http.js", // for simple HTTP transactions77 "core/lib/teleport/iframe.js", // for IE secure environments78 "core/lib/draw.js",79 "core/browsers/gecko.js",80 "core/browsers/ie.js",81 "core/browsers/iphone.js",82 "core/browsers/opera.js",83 "core/browsers/webkit.js",84 "core/browsers/non_ie.js",85 "core/browsers/gears.js",86 "core/markup/domparser.js"87 )88 .wait()89 .script(90 "core/window.js",91 "core/lib/config.js",92 "core/lib/draw/canvas.js",93 "core/lib/draw/vml.js",94 "core/lib/draw/chartdraw.js",95 "core/lib/offline.js",96 "core/lib/storage.js",97 "core/lib/uirecorder.js",98 "core/parsers/xpath.js",99 //"parsers/jslt_2.0.js",100 "core/parsers/livemarkup.js",101 "core/parsers/js.js",102 "core/parsers/url.js",103 /*"markup/html5.js",104 "core/markup/xforms.js",*/105 "core/markup/xslt/xslt.js",106 "core/markup/aml.js",107 "core/markup/xhtml.js",108 "core/markup/xsd.js"109 )110 .wait()111 .script(112 "core/lib/offline/transactions.js",113 "core/lib/offline/models.js",114 "core/lib/offline/state.js",115 "core/lib/offline/queue.js",116 "core/lib/offline/detector.js",117 "core/lib/offline/application.js",118 "core/lib/offline/gears.js",119 "core/lib/storage/air.js",120 "core/lib/storage/air.file.js",121 "core/lib/storage/air.sql.js",122 "core/lib/storage/flash.js",123 "core/lib/storage/gears.js",124 "core/lib/storage/html5.js",125 "core/lib/storage/memory.js",126 "core/lib/storage/cookie.js",127 "core/lib/vector.js",128 "core/markup/aml/node.js"129 )130 .wait()131 .script(132 "core/markup/aml/element.js"133 )134 .wait()135 .script(136 "core/markup/aml/characterdata.js",137 "core/markup/aml/text.js",138 "core/markup/aml/namednodemap.js",139 "core/markup/aml/attr.js",140 "core/markup/aml/cdatasection.js",141 "core/markup/aml/comment.js",142 "core/markup/aml/configuration.js",143 "core/markup/aml/document.js",144 "core/markup/aml/documentfragment.js",145 "core/markup/aml/event.js",146 "core/markup/aml/textrectangle.js",147 "core/markup/aml/range.js",148 "core/markup/aml/selection.js",149 "core/markup/xhtml/element.js",150 "core/markup/xsd/element.js",151 "core/baseclasses/contenteditable.js",152 "core/baseclasses/liveedit.js"153 )154 .wait()155 .script(156 "core/baseclasses/contenteditable/clipboard.js",157 "core/baseclasses/contenteditable/commands.js",158 "core/baseclasses/contenteditable/interactive.js",159 "core/baseclasses/contenteditable/selectrect.js",160 "core/baseclasses/contenteditable/visualselect.js",161 "core/baseclasses/contenteditable/visualconnect.js",162 "core/baseclasses/liveedit/richtext.js",163 "core/markup/xhtml/ignore.js",164 "core/markup/xhtml/option.js",165 "core/markup/xhtml/body.js",166 "core/markup/xhtml/html.js",167 "core/markup/xhtml/skipchildren.js",168 "core/markup/xhtml/input.js",169 "core/markup/xinclude.js",170 "core/markup/xinclude/include.js",171 //"markup/xinclude/fallback.js",172 "core/markup/xsd/enumeration.js",173 "core/markup/xsd/fractiondigits.js",174 "core/markup/xsd/length.js",175 "core/markup/xsd/list.js",176 "core/markup/xsd/maxexclusive.js",177 "core/markup/xsd/maxinclusive.js",178 "core/markup/xsd/maxlength.js",179 "core/markup/xsd/maxscale.js",180 "core/markup/xsd/minexclusive.js",181 "core/markup/xsd/mininclusive.js",182 "core/markup/xsd/minlength.js",183 "core/markup/xsd/minscale.js",184 "core/markup/xsd/pattern.js",185 "core/markup/xsd/restriction.js",186 "core/markup/xsd/schema.js",187 "core/markup/xsd/simpletype.js",188 "core/markup/xsd/totaldigits.js",189 "core/markup/xsd/union.js",190 "core/debug/debug.js",191 "core/debug/debugwin.js",192 //"debug/profiler.js",193 "core/baseclasses/anchoring.js",194 "core/baseclasses/dataaction.js"195 )196 .wait()197 .script(198 "core/markup/aml/processinginstruction.js",199 "core/baseclasses/liveedit/anchor.js",200 "core/baseclasses/liveedit/blockquote.js",201 "core/baseclasses/liveedit/charmap.js",202 "core/baseclasses/liveedit/clipboard.js",203 "core/baseclasses/liveedit/code.js",204 "core/baseclasses/liveedit/color.js",205 "core/baseclasses/liveedit/datetime.js",206 "core/baseclasses/liveedit/directions.js",207 "core/baseclasses/liveedit/emotions.js",208 "core/baseclasses/liveedit/fontbase.js",209 "core/baseclasses/liveedit/fontstyle.js",210 "core/baseclasses/liveedit/help.js",211 "core/baseclasses/liveedit/hr.js",212 "core/baseclasses/liveedit/image.js",213 "core/baseclasses/liveedit/links.js",214 "core/baseclasses/liveedit/list.js",215 "core/baseclasses/liveedit/media.js",216 "core/baseclasses/liveedit/printing.js",217 //"core/baseclasses/liveedit/spell.js",218 "core/baseclasses/liveedit/search.js",219 "core/baseclasses/liveedit/subsup.js",220 "core/baseclasses/liveedit/tables.js",221 "core/baseclasses/liveedit/visualaid.js",222 "core/baseclasses/guielement.js"223 )224 .wait()225 .script(226 "core/baseclasses/interactive.js",227 "core/baseclasses/childvalue.js",228 "core/baseclasses/cache.js",229 "core/baseclasses/presentation.js"230 )231 .wait()232 .script(233 "core/baseclasses/databinding.js",234 "core/baseclasses/databinding/standard.js",235 "core/baseclasses/databinding/multiselect.js",236 "core/baseclasses/validation.js",237 "core/baseclasses/delayedrender.js",238 "core/baseclasses/dragdrop.js",239 "core/baseclasses/focussable.js",240 "core/baseclasses/media.js",241 "core/baseclasses/multicheck.js",242 "core/baseclasses/multiselect.js",243 "core/baseclasses/rename.js",244 "core/baseclasses/teleport.js",245 "core/baseclasses/transaction.js",246 "core/baseclasses/virtualviewport.js",247 //"baseclasses/xforms.js",248 "core/baseclasses/basebutton.js",249 "core/baseclasses/baselist.js",250 "core/baseclasses/basetree.js",251 "core/baseclasses/basesimple.js",252 "core/baseclasses/basetab.js",253 "core/baseclasses/basestatebuttons.js"254 )255 .wait()256 .script(257 "elements/accordion.js",258 "elements/actions.js",259 "elements/actionrule.js",260 "elements/actiontracker.js",261 "elements/application.js",262 "elements/appsettings.js",263 "elements/audio.js",264 "elements/auth.js",265 "elements/axis.js",266 "elements/bar.js",267 "elements/bindings.js",268 "elements/bindingrule.js",269 "elements/body.js",270 "elements/browser.js",271 "elements/button.js",272 "elements/splitbutton.js",273 "elements/calendar.js",274 "elements/calendarlist.js",275 "elements/caldropdown.js",276 "elements/chart.js",277 "elements/checkbox.js",278 "elements/collection.js",279 "elements/comment.js",280 //"colorpicker.js",281 "elements/colorpicker2.js",282 "elements/contextmenu.js",283 "elements/datagrid.js",284 "elements/defaults.js",285 "elements/divider.js",286 "elements/dropdown.js",287 "elements/editor.js",288 "elements/errorbox.js",289 "elements/event.js",290 "elements/filler.js",291 "elements/flashplayer.js",292 "elements/flowchart.js",293 "elements/frame.js",294 "elements/gallery.js",295 "elements/graph.js",296 "elements/hbox.js",297 "elements/iconmap.js",298 "elements/img.js",299 "elements/item.js",300 "elements/junction.js",301 "elements/label.js",302 "elements/list.js",303 "elements/loader.js",304 "elements/loadindicator.js",305 "elements/map.js",306 "elements/menu.js",307 "elements/modalwindow.js",308 "elements/model.js",309 "elements/notifier.js",310 "elements/page.js",311 "elements/pager.js",312 "elements/palette.js",313 "elements/persist.js",314 "elements/portal.js",315 "elements/progressbar.js",316 "elements/propedit.js",317 "elements/radiobutton.js",318 "elements/remote.js",319 "elements/script.js",320 "elements/scrollbar.js",321 "elements/skin.js",322 "elements/slider.js",323 "elements/smartbinding.js",324 "elements/source.js",325 "elements/spinner.js",326 "elements/splitter.js",327 "elements/state.js",328 "elements/state-group.js",329 "elements/statusbar.js",330 "elements/style.js",331 "elements/tab.js",332 "elements/table.js",333 "elements/teleport.js",334 "elements/template.js",335 "elements/text.js",336 "elements/textbox.js",337 "elements/toc.js",338 "elements/toolbar.js",339 "elements/tree.js",340 "elements/upload.js",341 "elements/rpc.js", // RPC Baseclass (needs HTTP class)342 "elements/method.js",343 "elements/param.js",344 "elements/video.js",345 "elements/vectorflow.js",346 "elements/webdav.js",347 "elements/xmpp.js", // XMPP class providing the XMPP comm layer348 /*349 "elements/repeat.js",350 "elements/submitform.js",*/351 "elements/markupedit.js"352 /*"elements/validation"*/353 )354 .wait()355 .script(356 "elements/actiontracker/undodata.js",357 "elements/actiontracker/xmlactions.js",358 "elements/modalwindow/widget.js",359 "elements/textbox/masking.js",360 "elements/textbox/autocomplete.js",361 "elements/audio/type_flash.js",362 "elements/audio/type_native.js",363 //RPC extensions (all need rpc.js)364 "elements/rpc/xmlrpc.js", // XML-RPC365 "elements/rpc/soap.js", // SOAP366 "elements/rpc/jsonrpc.js", // JSON367 //"elements/rpc/jphp.js", // JPHP368 "elements/rpc/cgi.js", // CGI369 "elements/rpc/rdb.js", // RDB-RPC370 "elements/rpc/rest.js", // REST371 "elements/rpc/yql.js", // YQL372 "elements/upload/html4.js",373 "elements/upload/html5.js",374 "elements/upload/flash.js",375 "elements/video/type_flv.js",376 "elements/video/type_native.js",377 "elements/video/type_qt.js",378 "elements/video/type_silverlight.js",379 "elements/video/type_vlc.js",380 "elements/video/type_wmp.js",381 "elements/xmpp/muc.js",382 "elements/xmpp/rdb.js",383 "elements/xmpp/roster.js",384 "elements/bindingdndrule.js",385 "elements/bindingloadrule.js",386 "elements/bindingcolumnrule.js",387 //"elements/bindingcolorrule.js",388 "elements/bindingseriesrule.js",389 "elements/bindingeachrule.js",390 "processinginstructions/livemarkup.js"391 ).wait(function() {392 if (apf.$required.length)393 apf.$x.script.apply(apf.$x, apf.$required).wait(start);394 else {395 if (window.require && typeof require.def == "function") {396 require([397 "pilot/fixoldbrowsers",398 "apf/elements/codeeditor",399 "apf/elements/debugger",400 "apf/elements/debughost"401 ], start);402 }403 else404 start();405 }406 });407 //Let's start APF408 function start(){409 if (apf.started)410 return; //@todo ask @getify why this function is called twice411 apf.start();412 }413//Conditional compilation workaround... (can this be improved??)414if (document.all) {415 var oldWinError = window.onerror, z;416 window.onerror = z = function(m){417 apf.console.error("Error caught from early startup. Might be a html parser syntax error (not your fault). " + m);418 if (!arguments.caller)419 return true;420 }421}422apf.Init.addConditional(function(){423 if (document.all && window.onerror == z) //Conditional compilation workaround... (can this be improved??)424 window.onerror = oldWinError;425 apf.dispatchEvent("domready");426}, null, ["body", "class"]);427apf.require = function(){428 var dir = apf.getDirname(location.href), req = [];429 for (var i = 0, l = arguments.length; i < l; i++)430 req.push(apf.getAbsolutePath(dir, arguments[i]))431 apf.$x.script.apply(apf.$loader, req).wait();432};433/*if(document.body)434 apf.Init.run("body");435else*/436 apf.addDomLoadEvent(function(){apf.Init.run('body');});437//A way to prevent parsing body438/*window.onerror = function(){439 window.onerror = null;440 return true;441}442document.documentElement.appendChild(document.createElement("body"));*/...

Full Screen

Full Screen

storm.js

Source:storm.js Github

copy

Full Screen

1/*2 __ _____ __ __ __ __ _____ __ __ 3 / \/ | / \|__)|_ |__) (_ | / \|__)|\/|4 \__/\__ | \__/|__)|__| \ __) | \__/| \ | |5=require vendor/mustache/mustache.js6=require vendor/modernizr/modernizr.js7=require vendor/bootstrap/js/dropdown.js8=require vendor/bootstrap/js/transition.js9=require vendor/bootstrap/js/tab.js10=require vendor/bootstrap/js/modal.js11=require vendor/bootstrap/js/tooltip.js12=require vendor/raphael/raphael.js13=require vendor/flot/jquery.flot.js14=require vendor/flot/jquery.flot.tooltip.js15=require vendor/flot/jquery.flot.resize.js16=require vendor/flot/jquery.flot.time.js17=require vendor/select2/js/select2.full.js18=require vendor/mousewheel/mousewheel.js19=require vendor/sortable/jquery-sortable.js20=require vendor/moment/moment.js21=require vendor/moment/moment-timezone-with-data.js22=require vendor/pikaday/js/pikaday.js23=require vendor/pikaday/js/pikaday.jquery.js24=require vendor/clockpicker/js/jquery-clockpicker.js25=require js/foundation.baseclass.js26=require js/foundation.element.js27=require js/foundation.event.js28=require js/foundation.controlutils.js29=require js/flashmessage.js30=require js/autocomplete.js31=require js/checkbox.js32=require js/checkbox.balloon.js33=require js/dropdown.js34=require js/callout.js35=require js/datepicker.js36=require js/tooltip.js37=require js/toolbar.js38=require js/filter.js39=require js/filter.dates.js40=require js/filter.numbers.js41=require js/select.js42=require js/loader.base.js43=require js/loader.cursor.js44=require js/loader.stripe.js45=require js/popover.js46=require js/popup.js47=require js/chart.utils.js48=require js/chart.line.js49=require js/chart.bar.js50=require js/chart.pie.js51=require js/chart.meter.js52=require js/list.rowlink.js53=require js/input.monitor.js54=require js/input.hotkey.js55=require js/input.preset.js56=require js/input.trigger.js57=require js/drag.value.js58=require js/drag.sort.js59=require js/drag.scroll.js60=require js/tab.js61=require js/inspector.surface.js62=require js/inspector.manager.js63=require js/inspector.wrapper.base.js64=require js/inspector.wrapper.popup.js65=require js/inspector.wrapper.container.js66=require js/inspector.groups.js67=require js/inspector.engine.js68=require js/inspector.editor.base.js69=require js/inspector.editor.string.js70=require js/inspector.editor.checkbox.js71=require js/inspector.editor.dropdown.js72=require js/inspector.editor.popupbase.js73=require js/inspector.editor.text.js74=require js/inspector.editor.set.js75=require js/inspector.editor.objectlist.js76=require js/inspector.editor.object.js77=require js/inspector.editor.stringlist.js78=require js/inspector.editor.stringlistautocomplete.js79=require js/inspector.editor.dictionary.js80=require js/inspector.editor.autocomplete.js81=require js/inspector.helpers.js82=require js/inspector.validationset.js83=require js/inspector.validator.base.js84=require js/inspector.validator.basenumber.js85=require js/inspector.validator.required.js86=require js/inspector.validator.regex.js87=require js/inspector.validator.integer.js88=require js/inspector.validator.float.js89=require js/inspector.validator.length.js90=require js/inspector.externalparametereditor.js91=require js/list.sortable.js...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var ghost = require('ghostjs');2ghost.create(function(err, g) {3 g.set('viewportSize', {width: 1024, height: 768}, function(err) {4 g.screenshot('google.png', function(err) {5 g.exit();6 });7 });8 });9});10var ghost = require('ghostjs');11var webdriver = require('selenium-webdriver');12var driver = new webdriver.Builder().withCapabilities(webdriver.Capabilities.chrome()).build();13ghost.create({driver: driver}, function(err, g) {14 g.set('viewportSize', {width: 1024, height: 768}, function(err) {15 g.screenshot('google.png', function(err) {16 g.exit();17 });18 });19 });20});

Full Screen

Using AI Code Generation

copy

Full Screen

1const ghostjs = require('ghostjs');2(async () => {3 await ghostjs.waitForPageToLoad();4 await ghostjs.type('#lst-ib', 'ghostjs');5 await ghostjs.click('#tsbb');6 await ghostjs.waitForPageToLoad();7 await ghostjs.screenshot('google.png');8 await ghostjs.close();9})();10const ghostjs = require('ghostjs');11(async () => {12 await ghostjs.waitForPageToLoad();13 await ghostjs.type('#lst-ib', 'ghostjs');14 await ghostjs.click('#tsbb');15 await ghostjs.waitForPageToLoad();16 await ghostjs.screenshot('google.png');17 await ghostjs.close();18})();19const ghostjs = require('ghostjs');20(async () => {21 await ghostjs.waitForPageToLoad();22 await ghostjs.type('#lst-ib', 'ghostjs');23 await ghostjs.click('#tsbb');24 await ghostjs.waitForPageToLoad();25 await ghostjs.screenshot('google.png');26 await ghostjs.close();27})();28const ghostjs = require('ghostjs');29(async () => {30 await ghostjs.waitForPageToLoad();31 await ghostjs.type('#lst-ib', 'ghostjs');32 await ghostjs.click('#tsbb');33 await ghostjs.waitForPageToLoad();34 await ghostjs.screenshot('google.png');35 await ghostjs.close();36})();37const ghostjs = require('ghostjs');38(async () => {39 await ghostjs.waitForPageToLoad();40 await ghostjs.type('#lst-ib', 'ghostjs');41 await ghostjs.click('#tsbb');42 await ghostjs.waitForPageToLoad();43 await ghostjs.screenshot('google.png');44 await ghostjs.close();45})();

Full Screen

Using AI Code Generation

copy

Full Screen

1var ghost = require('ghostjs');2ghost.create().then(function (g) {3 g.set('#lst-ib', 'hello world').then(function () {4 g.click('[name="btnG"]').then(function () {5 g.wait(2000).then(function () {6 g.screenshot('test.png').then(function () {7 g.exit();8 });9 });10 });11 });12 });13});14var ghost = require('ghostjs');15ghost.create({driver: 'phantomjs'}).then(function (g) {16 g.set('#lst-ib', 'hello world').then(function () {17 g.click('[name="btnG"]').then(function () {18 g.wait(2000).then(function () {19 g.screenshot('test2.png').then(function () {20 g.exit();21 });22 });23 });24 });25 });26});27var ghost = require('ghostjs');28ghost.create({driver: 'phantomjs', phantomjs: {driver: 'slimerjs'}}).then(function (g) {29 g.set('#lst-ib', 'hello world').then(function () {30 g.click('[name="btnG"]').then(function () {31 g.wait(2000).then(function () {32 g.screenshot('test3.png').then(function () {33 g.exit();34 });35 });36 });37 });38 });39});40var ghost = require('ghostjs');41ghost.create({driver: 'phantomjs', phantomjs: {driver: 'slimerjs', slimerjs: {binary: 'C:\\Program Files (x86)\\SlimerJS\\slimerjs.exe'}}}).then(function (g) {42 g.set('#lst-ib', 'hello world').then(function () {43 g.click('[name="btnG"]').then(function () {44 g.wait(2000).then(function () {45 g.screenshot('test

Full Screen

Using AI Code Generation

copy

Full Screen

1var ghost = require('ghostjs');2var assert = require('assert');3 ghost.type('input[name="q"]', 'GhostJS', function() {4 ghost.press('enter', function() {5 ghost.wait('.srg .g', function() {6 ghost.screenshot('google.png', function() {7 ghost.exit();8 });9 });10 });11 });12});13var ghost = require('ghostjs');14var assert = require('assert');15 ghost.type('input[name="q"]', 'GhostJS', function() {16 ghost.press('enter', function() {17 ghost.wait('.srg .g', function() {18 ghost.screenshot('google.png', function() {19 ghost.exit();20 });21 });22 });23 });24});25var ghost = require('ghostjs');26var assert = require('assert');27 ghost.type('input[name="q"]', 'GhostJS', function() {28 ghost.press('enter', function() {29 ghost.wait('.srg .g', function() {30 ghost.screenshot('google.png', function() {31 ghost.exit();32 });33 });34 });35 });36});37var ghost = require('ghostjs');38var assert = require('assert');39 ghost.type('input[name="q"]', 'GhostJS', function() {40 ghost.press('enter', function() {41 ghost.wait('.srg .g', function() {42 ghost.screenshot('google.png', function() {43 ghost.exit();44 });45 });46 });47 });48});49var ghost = require('ghostjs');50var assert = require('assert');51 ghost.type('input[name="q"]', 'GhostJS', function() {52 ghost.press('enter', function() {53 ghost.wait('.srg .g', function() {

Full Screen

Using AI Code Generation

copy

Full Screen

1var ghost = require('ghostjs');2 return ghost.type('#lst-ib', 'Hello World');3}).then(function() {4 return ghost.click('input[name="btnK"]');5}).then(function() {6 return ghost.wait(5000);7}).then(function() {8 return ghost.screenshot('google.png');9}).then(function() {10 return ghost.exit();11}).done();

Full Screen

Using AI Code Generation

copy

Full Screen

1const ghost = require('ghostjs');2const ghostpy = require('ghostjs').py;3ghost.click('#gbqfbb');4ghost.type('#gbqfq', 'Hello World');5ghost.wait(1000);6ghost.click('#gbqfb');7ghost.wait(1000);8ghost.screenshot('google.png');9ghost.exit();10ghostpy.click('#gbqfbb');11ghostpy.type('#gbqfq', 'Hello World');12ghostpy.wait(1000);13ghostpy.click('#gbqfb');14ghostpy.wait(1000);15ghostpy.screenshot('google.png');16ghostpy.exit();17ghost.click('#gbqfbb');18ghost.type('#gbqfq', 'Hello World');19ghost.wait(1000);20ghost.click('#gbqfb');21ghost.wait(1000);22ghost.screenshot('google.png');23ghost.exit();24ghostpy.click('#gbqfbb');25ghostpy.type('#gbqfq', 'Hello World');26ghostpy.wait(1000);27ghostpy.click('#gbqfb');28ghostpy.wait(1000);29ghostpy.screenshot('google.png');30ghostpy.exit();31ghost.click('#gbqfbb');32ghost.type('#gbqfq', 'Hello World');33ghost.wait(1000);34ghost.click('#gbqfb');35ghost.wait(1000);36ghost.screenshot('google.png');37ghost.exit();38ghostpy.click('#gbqfbb');39ghostpy.type('#gbqfq', 'Hello World');40ghostpy.wait(1000);41ghostpy.click('#gbqfb');42ghostpy.wait(1000);43ghostpy.screenshot('google.png');44ghostpy.exit();45ghost.click('#gbqfbb');46ghost.type('#gbqfq', 'Hello World');47ghost.wait(1000

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run ghostjs automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful