diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/classes/GetNodeJS.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/classes/GetNodeJS.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,2088 @@ + + + + + GetNodeJS - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

GetNodeJS Class

+
+ + + + + +
+ Defined in: get/js/get-nodejs.js:1 +
+ + + + + Module: get-nodejs + + + + +
+ + + +
+

NodeJS specific Get module used to load remote resources. +It contains the same signature as the default Get module so there is no code change needed.

+
+ + + +
+ + +
+
+

Item Index

+ + +
+

Methods

+ + +
+ + + + + + + +
+ + +
+

Methods

+ + +
+

_exec

+ + +
+ (
    + +
  • + + data + +
  • + +
  • + + url + +
  • + +
  • + + cb + +
  • + +
) +
+ + + + + + + + private + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + get/js/get-nodejs.js:43 + +

+ + + + + +
+ +
+

Takes the raw JS files and wraps them to be executed in the YUI context so they can be loaded +into the YUI object

+
+ + +
+

Parameters:

+ +
    + +
  • + + data + String + + + + +
    +

    The JS to execute

    +
    + + +
  • + +
  • + + url + String + + + + +
    +

    The path to the file that was parsed

    +
    + + +
  • + +
  • + + cb + Callback + + + + +
    +

    The callback to execute when this is completed

    +
    + + +
      + +
    • + + err=null + Error + + +
      +

      Error object

      +
      + + +
    • + +
    • + + url + String + + +
      +

      The URL that was just parsed

      +
      + + +
    • + +
    + +
  • + +
+
+ + + + + +
+ + +
+

_include

+ + +
+ (
    + +
  • + + url + +
  • + +
  • + + cb + +
  • + +
) +
+ + + + + + + + private + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + get/js/get-nodejs.js:76 + +

+ + + + + +
+ +
+

Fetches the content from a remote URL or a file from disc and passes the content +off to _exec for parsing

+
+ + +
+

Parameters:

+ +
    + +
  • + + url + String + + + + +
    +

    The URL/File path to fetch the content from

    +
    + + +
  • + +
  • + + cb + Callback + + + + +
    +

    The callback to fire once the content has been executed via _exec

    +
    + + +
  • + +
+
+ + + + + +
+ + +
+

js

+ + +
+ (
    + +
  • + + s + +
  • + +
  • + + options + +
  • + +
) +
+ + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + get/js/get-nodejs.js:130 + +

+ + + + + +
+ +
+

Override for Get.script for loading local or remote YUI modules.

+
+ + +
+

Parameters:

+ +
    + +
  • + + s + Array | String + + + + +
    +

    The URL's to load into this context

    +
    + + +
  • + +
  • + + options + Object + + + + +
    +

    Transaction options

    +
    + + +
  • + +
+
+ + + + + +
+ + +
+

script

+ + + () + + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + get/js/get-nodejs.js:182 + +

+ + + + + +
+ +
+

Alias for Y.Get.js

+
+ + + + + + +
+ + +
+ + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + + + +