how to load a flex properties file in to a javascript/jquery singlepage app -


i working on jquery based single page app , have been asked reuse properties localization file flex app used. can use require.js load them, how can use values substitution values in app?

here snippet of these files like

error_report_failed_title=submit error error_report_failed_message=we have been unable report error. screen_title_branch_search=branch search screen_label_find_branches=find branches screen_label_branch_name=branch name screen_label_select_branch=select branch 

i can't change files flex app using them same time single page app deployed.

was able , split on line break \n , split on = break in name value pairs


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -