Created
June 25, 2012 08:36
-
-
Save klokan/2987404 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==ClosureCompiler== | |
// @compilation_level ADVANCED_OPTIMIZATIONS | |
// @use_closure_library true | |
// ==/ClosureCompiler== | |
/** | |
* @define {boolean} | |
*/ | |
ol.API = true; | |
/** | |
* @param {Object} opt_arg | |
* @constructor | |
* @notypecheck | |
*/ | |
ol.map = function(opt_arg) { | |
var param = ol.API ? opt_arg['param'] : opt_arg.param; | |
window.console.log(param); | |
} | |
var map = new ol.map({param:'asdfasdf'}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment