Skip to content
Katherine ChengLi edited this page Apr 11, 2015 · 4 revisions

config.js

  • Create a config.js under js folder.Example:Tomcat_directory\webapps\Application_name\js\config.js
  • Change the application name as named in your Tomcat_directory\webapps directory
define(function(){
    var config = {};
    config.jqueryVersion="1.7.1.min";
    config.jqueryMobileVersion="1.3.2.min";
    config.jqueryMobileCss = "jquery.mobile-1.3.2.min.css";
    config.jqueryDataTableCss = "jquery/jquery.dataTables.css";
    config.jqueryMobileEnable = true;
    config.jqueryMobileTheme = "";
    config.jqueryUITheme = "";

    config.loginCss = "quickforms/login.css";
	
    config.dataNativeMenu = false;
    config.app = 'test';             ////////////////////** Required//////////////////////////
    config.quickformsEnding = ""; // "" or ".asp"
    config.defaultPageTransition = "none"; // slide, pop, none
    config.defaultDialogTransition = "none"; // slide, pop, none
    config.rememberLength = 365;
    config.dataTransferType = "text"; // text, jsonp (for cross domain);
    config.qfEmail = 'quickforms.server@gmail.com';
        
    config.version = '1.0';
    config.build = '1001';
    config.debug = false; // kills cache of js/css files if true

    config.extraScripts = ['dom/authenticate']; // set to empty array if app does not require login

    config.offline = false;
    return config;
});
Clone this wiki locally