make them dynamic. So I'm creating a globally scoped JavaScript array called rails_i18n which holds some of these messages. It's loaded in <head> before any of the JavaScript files so it should always be available. |
||
---|---|---|
.. | ||
application.js | ||
controls.js | ||
dragdrop.js | ||
effects.js | ||
map.js | ||
pngfix.js | ||
prototype.js | ||
site.js | ||
swfobject.js |