Sha256: e365c7360b321b624f62196b5e9dd831801e39860c3803ab430067ca66cf57f6

Contents?: true

Size: 380 Bytes

Versions: 4

Compression:

Stored size: 380 Bytes

Contents

//>>built
define("dojox/mobile/dh/PatternFileTypeMap",["dojo/_base/lang"],function(_1){
var o={};
_1.setObject("dojox.mobile.dh.PatternFileTypeMap",o);
o.map={".*.html":"html",".*.json":"json"};
o.add=function(_2,_3){
this.map[_2]=_3;
};
o.getContentType=function(_4){
for(var _5 in this.map){
if((new RegExp(_5)).test(_4)){
return this.map[_5];
}
}
return null;
};
return o;
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/mobile/dh/PatternFileTypeMap.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/mobile/dh/PatternFileTypeMap.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/mobile/dh/PatternFileTypeMap.js
dojox-rails-0.11.0 vendor/assets/javascripts/mobile/dh/PatternFileTypeMap.js