FuseJS/Bundle Module (JS)
The bundle API allows you to read files that is bundled with the application, defined in the project file (using <filename>:Bundle
).
var Bundle = require("FuseJS/Bundle");
You can read up on bundling files here
Location
- Namespace
- FuseJS
- Package
- FuseJS 2.9.1
Interface of Bundle
extract(bundleFilePath, destinationPath) js
list() js
read(filename) js
readBuffer(bundlePath) js
readSync(filename) js
ReadSync(string) : string uno
Inherited from NativeModule
AddMember(NativeMember) uno
Reset : EventHandler (object, EventArgs) ux
Inherited from Module
Dispose uno
Evaluate(Context, ModuleResult) uno
Evaluate(Context, string) : ModuleResult uno
Evaluated : EventHandler (object, EventArgs) ux
EvaluateExports(Context, string) : object uno
GetFile : FileSource uno
Returns the file source that will be watched by the Context for changes in Fuse preview. Override in subclasses and return correct file source to support live updates in Fuse preview.