nl_tokens: Load and parse . properties files
pl_tokens: function loadAndParseFile ( filename , settings , nextFile ) { if ( settings . debug ) { debug ( 'loadAndParseFile(\'' + filename + '\')' ) ; debug ( 'totalFiles: ' + settings . totalFiles ) ; debug ( 'filesLoaded: ' + settings . filesLoaded ) ; } if ( filename !== null && typeof filename !== 'undefined' ) { $ . ajax ( { <mask> : filename , async : settings . async , cache : settings . cache , dataType : 'text' , success : function ( data , status ) { if ( settings . debug ) { debug ( 'Succeeded in downloading ' + filename + '.' ) ; debug ( data ) ; } parseData ( data , settings ) ; nextFile ( ) ; } , error : function ( jqXHR , textStatus , errorThrown ) { if ( settings . debug ) { debug ( 'Failed to download or parse ' + filename + '. errorThrown: ' + errorThrown ) ; } if ( jqXHR . status === 404 ) { settings . totalFiles -= 1 ; } nextFile ( ) ; } } ) ; } }