emscripten Humble Cloud interface
Edward Rudd
2014-09-15 bc8c19fe2f149e06d27b5c57adbc9eb3b353e72c

document HUMBLE_API.configure

1 files modified
5 ■■■■■ changed files
client/library/library_humble.js 5 ●●●●● patch | view | raw | blame | history
client/library/library_humble.js
@@ -11,6 +11,11 @@
            playerSize: null // function() { return { width: 800, height: 600, locked: true } }
        },
        /**
         * allows configuring the HUMBLE_API  simply call this method in a preRun to initialize..
         * any option is accepted and will be added to the configuration hash.
         * Also all hooks will be context of HUMBLE_API so this.options.myCustomKey will be accessible
         */
        configure: function(options) {
            for (var i in options) {
                HUMBLE_API.options[i] = options[i];