Versions Compared

Key

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

...

Takes a parameters object and a required keys array and compares the two. If any keys are missing from the array, then an error is logged and the error screen is shown (app.showErrors).

Basic Example: 

Code Block
var app = require('app');
app.init();
app.checkRequired(parameters);

...