<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>LICENSE</filename>
    </added>
    <added>
      <filename>frog_wymeditor.js</filename>
    </added>
    <added>
      <filename>wymeditor_frog_language.js.php</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@
 &lt;frog-plugins&gt;
   &lt;frog-plugin&gt;
       &lt;id&gt;wymeditor&lt;/id&gt;
-      &lt;version&gt;0.0.2&lt;/version&gt;
+      &lt;version&gt;0.0.3&lt;/version&gt;
       &lt;status&gt;alpha&lt;/status&gt;
   &lt;/frog-plugin&gt;
 &lt;/frog-plugins&gt;
\ No newline at end of file</diff>
      <filename>frog-plugins.xml</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@ Plugin::setInfos(array(
     'id'          =&gt; $plugin_id,
     'title'       =&gt; __('WYMeditor'),
     'description' =&gt; __('WYMeditor is a web-based WYSIWYM (What You See Is What You Mean) XHTML editor (not WYSIWYG).'),
-    'version'     =&gt; '0.0.2',
+    'version'     =&gt; '0.0.3',
     'license'     =&gt; 'MIT',
     'author'      =&gt; 'THE M',
     'website'     =&gt; 'http://github.com/them/frog_wymeditor/',
@@ -18,7 +18,11 @@ Plugin::setInfos(array(
 Filter::add($plugin_id, $plugin_id.'/'.ucfirst($plugin_id).'.php');
 
 // Because the I18n is not available in javascript, it must be set somewhere from server side.
+// Store it in the user session, so that this file does not need the whole Frog infrastructure.
 $_SESSION[&quot;wymeditor_language&quot;] = I18n::getLocale();
-Plugin::addJavascript($plugin_id, 'wymeditor_language.js.php');
+
+Plugin::addJavascript($plugin_id, 'wymeditor_frog_language.js.php');
 Plugin::addJavascript($plugin_id, 'jquery.wymeditor.min.js');
+// Ensure that the Frog integration is included after the editor file
+Plugin::addJavascript($plugin_id, 'frog_wymeditor.js');
 ?&gt;
\ No newline at end of file</diff>
      <filename>index.php</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>wymeditor.js</filename>
    </removed>
    <removed>
      <filename>wymeditor_language.js.php</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>8c0e85aab77f7e3a9e58382328ba02fce4007d10</id>
    </parent>
  </parents>
  <author>
    <name>The M</name>
    <email>only.the.em@googlemail.com</email>
  </author>
  <url>http://github.com/them/frog_wymeditor/commit/da151eb3aeeff069f4b744703e9ee06a6b85a58b</url>
  <id>da151eb3aeeff069f4b744703e9ee06a6b85a58b</id>
  <committed-date>2009-07-07T12:46:47-07:00</committed-date>
  <authored-date>2009-07-07T12:46:47-07:00</authored-date>
  <message>Version: 0.0.3
- [fix] popups work now with Safari, 'base' tag is
  not used by WYMeditor
- [cosmetic] renamed files to make them more obvious
- [doc] added documentation about the WYMeditor
  integration for Frog CMS</message>
  <tree>9b17c3815da2b9d83876815fd2dbce958f37a936</tree>
  <committer>
    <name>The M</name>
    <email>only.the.em@googlemail.com</email>
  </committer>
</commit>
