src/main.js
function LodeRactive( options ) {

  if ( typeof Ractive === 'undefined' ) throw Error('Couldn\'t find an instance of Ractive, you need to have it in order to use this framework.');

  if ( options && typeof options.DEBUG !== 'undefined') Ractive.DEBUG = options.DEBUG;

  this.router = new Router( options );

}
function LodeRactive( options ) {

  if ( typeof Ractive === 'undefined' ) throw Error('Couldn\'t find an instance of Ractive, you need to have it in order to use this framework.');

  if ( options && typeof options.DEBUG !== 'undefined') Ractive.DEBUG = options.DEBUG;

  this.router = new Router( options );

}
function LodeRactive ( options ) { if ( typeof Ractive === 'undefined' ) throw Error ( 'Couldn\'t find an instance of Ractive, you need to have it in order to use this framework.' ) ; if ( options && typeof options . DEBUG !== 'undefined' ) Ractive . DEBUG = options . DEBUG ; this . router = new Router ( options ) ; }
Constructor for the framework. It depends on Ractive as this is a POC
of using the router with Ractive.
@param {Object} options, the configuration options for the framework.
@returns {Void}, nothing returned
Constructor for the framework . It depends on Ractive as this is a POC of using the router with Ractive .