Container Development: static app configuration
by OpenF2js
HTML
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/F2/1.3.3/f2.min.js"></script>
<!-- App is appended to <body> -->
CSS
/** Boostrap CSS is an external reference */
body {
margin: 20px;
}
JavaScript
/*
* F2 Docs
* http://docs.openf2.org
*
* Container Development: static app configuration
*
*/
var _appConfig = {
appId: 'com_openf2_examples_csharp_marketnews',
description: 'Example News',
manifestUrl: 'http://www.openf2.org/Examples/Apps',
name: 'Example News'
};
$(function(){
F2.init();
F2.registerApps(_appConfig);
});