Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Profound.js ships with a script named updatepui.js that provides for a simple way to use this API. You can call it like this:

Code Block
node updatepui

 


Example

Code Block
languagejavascript
titleupdatepui.js
// Load Profound.js
var profoundjs = require("profoundjs");

// Apply configuration
var config = require("./config.js");
profoundjs.applyConfig(config);

// Try updating Profound UI
profoundjs.updatepui();

...