/** @license * RequireJS plugin for loading files without adding the JS extension, useful for * JSONP services and any other kind of resource that already contain a file * extension or that shouldn't have one (like dynamic scripts). * Author: Miller Medeiros * Version: 0.3.1 (2011/12/07) * Released under the MIT license */define(function(){varQUERY_PARAM='noext';//APIreturn{load:function(name,req,onLoad,config){req([req.toUrl(name)],function(mod){onLoad(mod);});},normalize:function(name,norm){//append query string to avoid adding .js extension//needs to be on normalize otherwise it won't work after buildname+=(name.indexOf('?')<0)?'?':'&';returnname+QUERY_PARAM+'=1';}};});