joomla/joomla-cms — pull request #3078 by piotrmocko (2014-02-08 21:43:47+00:00)
Title: JText::script is not loading Joomla core.js

JText::script should always load system JavaScript file: core.js which has declaration of function: Joomla.JText._ which should be used in JavaScript files for translating strings. If Mootools is not loaded or some other resource which is loading core.js then you will get an error trying to use: Joomla.JText._

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=33067