Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: require() is case sensitive

...

To create an assetrealizer object, you will first need to create an assetpool instance and download files to it using an assetfetcher instance. Then, load the brightsign/assetrealizer module using the Requirethe require() method, and create an instance of the assetrealizer class using the assetpool instance and the destination directory for realization.

...

  • [DOMString] name: The name of the mismatched file (if the realize operation fails)
  • [bool] ok: A flag indicating whether the realize operation succeeded or failed
  • [DOMString] reason: An explanation for a failed realize operation. See the roAssetRealizerEvent page for a list of possible reason strings.

...