<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>res/guide.css</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,29 +1,3 @@
-WireIt installation
---------------------
-
-WireIt is mostly a bunch of static files.
-
-	* download the latest WireIt zip (from http://javascript.neyric.com/wireit)
-		or
-	  clone the WireIt repository (http://github.com/neyric/wireit/tree/master)
-	
-	* Copy the following directory structure to your project's library directory:
-
-	wireit/
- 	 - build/
- 	 - css/
- 	 - images/
- 	 - js/
- 	 - lib/
-
-
-WiringEditor installation
--------------------------
-
- (PHP only yet, but you can add your own !)
-
-	* Configure the backend:
-	  	* copy the backend/php directory to your wireit directory
-		* edit the script with your database access config (backend/php/WiringEditor.php)
-		* make sure the backend files are accessible by your webserver and that the php module is loaded 
+see guide.html in a web browser
 
+or go to http://javascript.neyric.com/wireit/guide.html
\ No newline at end of file</diff>
      <filename>INSTALL.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,16 +1,15 @@
 WireIt README
 
+WireIt is an open-source javascript library to create web wirable interfaces for dataflow applications, visual programming languages, graphical modeling, or graph editors.
 
-WireIt is an open-source javascript library to create web wirable interfaces for dataflow applications, visual programming languages or graphical modeling.
-It was inspired by Yahoo Pipes and is used by Tarpipe (http://tarpipe.com).
-It currently supports Firefox 2.0+, Safari 2.0+, IE 7.0, Opera 9+ and Chrome 1.0+.
+Project home page:
+    http://javascript.neyric.com/wireit/
 
+WireIt guide:
+	http://javascript.neyric.com/wireit/guide.html
 
 The code for Wireit is provided under a BSD license:
     http://javascript.neyric.com/wireit/license.txt
-
-Project home page:
-    http://javascript.neyric.com/wireit/
     
 Source code:
     http://github.com/neyric/wireit
@@ -21,46 +20,4 @@ Issue tracker:
 Blog: 
     http://javascript.neyric.com/blog/category/wireit/
 
-    
-Files:
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-backend/
-	Contains backend (server-side) code for the WiringEditor
-
-build/
-	Contains the minified javascript and build scripts
-	
-css/
-	Contains the css WireIt components
-
-doc/
-	Auto-generated API documentation
-
-examples/
-	Examples or applications that are part of the library
-	
-images/
-	WireIt images
-	
-index.html
-	WireIt Home page
-	
-INSTALL.txt
-	Installation instructions
-
-js/
-	javascript sources
-	
-lib/
-	Librairies required by WireIt
-
-license.txt
-   Open-source license details
-
-README.txt
-   This file
-
-VERSION.txt
-   The change log
-
+ 
\ No newline at end of file</diff>
      <filename>README.txt</filename>
    </modified>
    <modified>
      <diff>@@ -7,30 +7,47 @@ not released yet
 
 Current:
 	* Layer.onChangeEvt (+implementation in WiringEditor for saved state, + implementation in Layouts to reinit the layout)
+	* Wire Labels
+	* Default language propertiesForm (guide + examples)
+	* document autoload feature
 
 TODO:
 
-	* Guide
-	* Do Ajax + REST adapter
+	* Adapters:
+		* Ajax (3 different actions)
+		* REST
+		* XML REST Adapter
+	* BUG: WiringEditor: Containers are mispositionned when the layer is scrolled
 	* BUG: jsBox: form values in input fields are overriden !!
-	* Autoload in WiringEditor: example, si http://.../editor/?name=test/math =&gt; charger &quot;test/math&quot;
-	* Default language propertiesForm
-	* Provide XML Adapter using REST Adapter
-	* Gears adapter if no backend usable
+	* BUG: jsBox should be broken (because of autoload)
 	* BUG: if terminal not visible, give the offset of the first parent DOM element visible
 	
-LATER
+Before release:
 
+	* API Doc
+	* Rollup files for wireit-base and wiringEditor	
+	* Presentation 
+	
+Later:
 	* Uneditable layer
-	* Only one cissor
+	*
 
 Changeset:
 
-	* filter box in load panel
+	* WiringEditor:
+		* AccordionView on right panel
+		* filter box in load panel
+		* alert panel
+		* Autoload: example, http://.../editor/?autoload=myWiring  autoloads the &quot;myWiring&quot; layout
+		* Adapters: (removed the complicated SMD &amp; YUI-RPC stuff)
+			* JSON-RPC (the old adapter)
+			* Gears (if no backend usable)
+			
+	* WireIt Guide
+	* Show only one scissor at a time
 	* InOutContainer
 	* Spring Layout (experimental) (+examples)
 	* Wire mouse events
-	* Adapters for WiringEditor (removed the complicated SMD &amp; YUI-RPC stuff)
 	* Bug fix for wire positioning using FormContainer
 	* Added drawing method 'bezierArrows' (early alpha)
 </diff>
      <filename>VERSION.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 #!/bin/sh
 # The location of your yuidoc install
-yuidoc_home=~/Outils/yuidoc
+yuidoc_home=~/Tools/yuidoc
 
 # The location of the files to parse.  Parses subdirectories, but will fail if
 # there are duplicate file names in these directories.  You can specify multiple
@@ -20,7 +20,7 @@ generator_out=~/Projets/WireIt/master/doc/
 template=~/Projets/WireIt/master/build/doc-template
 
 # The version of your project to display within the documentation.
-version=0.4.0
+version=0.5.0
 
 # The version of YUI the project is using.  This effects the output for
 # YUI configuration attributes.  This should start with '2' or '3'.</diff>
      <filename>build/yuidoc.sh</filename>
    </modified>
    <modified>
      <diff>@@ -151,4 +151,8 @@ body {
 
 #loadPanelBody ul li {
    list-style-type: disc;
+}
+
+#alertPanelBody {
+	padding: 10px 0;
 }
\ No newline at end of file</diff>
      <filename>css/WireItEditor.css</filename>
    </modified>
    <modified>
      <diff>@@ -4,10 +4,10 @@ var demoLanguage = {
 	languageName: &quot;meltingpotDemo&quot;,
 
 	// inputEx fields for pipes properties
-	propertiesFields: [
+	/*propertiesFields: [
 		{&quot;type&quot;: &quot;string&quot;, inputParams: {&quot;name&quot;: &quot;name&quot;, label: &quot;Title&quot;, typeInvite: &quot;Enter a title&quot; } },
 		{&quot;type&quot;: &quot;text&quot;, inputParams: {&quot;name&quot;: &quot;description&quot;, label: &quot;Description&quot;, cols: 30} }
-	],
+	],*/
 	
 	// List of node types definition
 	modules: [</diff>
      <filename>examples/WiringEditor/demo.js</filename>
    </modified>
    <modified>
      <diff>@@ -89,7 +89,6 @@ div.Bubble div.body {
 &lt;!-- YUI-Accordion --&gt;
 &lt;script src=&quot;../../lib/accordionview/accordionview-min.js&quot;  type='text/javascript'&gt;&lt;/script&gt;
 
-
 &lt;!-- WireIt --&gt;
 &lt;!--[if IE]&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;../../lib/excanvas.js&quot;&gt;&lt;/script&gt;&lt;![endif]--&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;../../js/WireIt.js&quot;&gt;&lt;/script&gt;</diff>
      <filename>examples/WiringEditor/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -11,7 +11,7 @@
 	&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;WireIt blog&quot; href=&quot;http://javascript.neyric.com/blog/feed/&quot; /&gt;
 	&lt;link rel=&quot;shortcut icon&quot; type=&quot;images/x-icon&quot; href=&quot;res/favicon.ico&quot; /&gt;
 	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;res/style.css&quot; /&gt;
-	&lt;!--link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;res/guide.css&quot; /--&gt;
+	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;res/guide.css&quot; /&gt;
 
 	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;res/SyntaxHighlighter/shCore.css&quot; /&gt;	
 	&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;res/SyntaxHighlighter/shThemeDefault.css&quot; id=&quot;shTheme&quot;/&gt;
@@ -68,67 +68,66 @@
 &lt;div id='book'&gt;
 	&lt;ol class=&quot;topLevel&quot;&gt;
 		&lt;li&gt;
-			&lt;span&gt;Overview&lt;/span&gt;
+			&lt;a href=&quot;#overview&quot;&gt;&lt;span&gt;Overview&lt;/span&gt;&lt;/a&gt;
 			
 			&lt;ol class=&quot;secondLevel&quot;&gt;
-	    		&lt;li&gt;Presentation&lt;/li&gt;
-				&lt;li&gt;Components/Widgets&lt;/li&gt;
-	    		&lt;li&gt;WireIt applications&lt;/li&gt;
-				&lt;li&gt;Directory structure&lt;/li&gt;
+	    		&lt;li&gt;&lt;a href=&quot;#presentation&quot;&gt;Presentation&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#components&quot;&gt;Components/Widgets&lt;/a&gt;&lt;/li&gt;
+	    		&lt;li&gt;&lt;a href=&quot;#WireItApplication&quot;&gt;WireIt applications&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#directoryStructure&quot;&gt;Directory structure&lt;/a&gt;&lt;/li&gt;
 			&lt;/ol&gt;
 		&lt;/li&gt;	
 		
 		&lt;li&gt;
-			&lt;span&gt;Getting Started&lt;/span&gt;
+			&lt;a href=&quot;#GettingStarted&quot;&gt;&lt;span&gt;Getting Started&lt;/span&gt;&lt;/a&gt;
 
 			&lt;ol class=&quot;secondLevel&quot;&gt;
-	    		&lt;li&gt;Overview&lt;/li&gt;
-				&lt;li&gt;Installation&lt;/li&gt;
-	    		&lt;li&gt;Create Your First WireIt App&lt;/li&gt;
+	    		&lt;li&gt;&lt;a href=&quot;#installation&quot;&gt;Installation&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#WiringEditorInstallation&quot;&gt;WiringEditor installation&lt;/a&gt;&lt;/li&gt;
+	    		&lt;li&gt;&lt;a href=&quot;#firstApp&quot;&gt;Create Your First WireIt Application&lt;/a&gt;&lt;/li&gt;
 			&lt;/ol&gt;
 		&lt;/li&gt;
 		
 		&lt;li&gt;
-			&lt;span&gt;Create your visual language&lt;/span&gt;
+			&lt;a href=&quot;#visualLanguage&quot;&gt;&lt;span&gt;Create your visual language&lt;/span&gt;&lt;/a&gt;
 			
 			&lt;ol class=&quot;secondLevel&quot;&gt;
-			 	&lt;li&gt;Choosing the right Containers&lt;/li&gt;
-				&lt;li&gt;Using the standard Container&lt;/li&gt;
-				&lt;li&gt;Using InOutContainer&lt;/li&gt;
-				&lt;li&gt;Using InputExContainer&lt;/li&gt;
-				&lt;li&gt;Using ImageContainer&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#otherContainers&quot;&gt;Using other Containers&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#InOutContainer&quot;&gt;Using InOutContainer&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#FormContainer&quot;&gt;Using FormContainer&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#ImageContainer&quot;&gt;Using ImageContainer&lt;/a&gt;&lt;/li&gt;
 			&lt;/ol&gt;
 		&lt;/li&gt;
 		
 		
 		&lt;li&gt;
-			&lt;span&gt;Adapters - Connecting to another database or backend&lt;/span&gt;
+			&lt;a href=&quot;#adapters&quot;&gt;&lt;span&gt;Adapters - Connecting to another database or backend&lt;/span&gt;&lt;/a&gt;
 
 			&lt;ol class=&quot;secondLevel&quot;&gt;
-				&lt;li&gt;Available adapters&lt;/li&gt;
-	    		&lt;li&gt;Create an adapter&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#adaptersIntroduction&quot;&gt;Introduction&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#adaptersConfiguration&quot;&gt;Configuring the adapter&lt;/a&gt;&lt;/li&gt;
+	    		&lt;li&gt;&lt;a href=&quot;#adaptersCreation&quot;&gt;Create an adapter&lt;/a&gt;&lt;/li&gt;
 			&lt;/ol&gt;
 		&lt;/li&gt;
 		
 		&lt;li&gt;
-			&lt;span&gt;Advanced Topics&lt;/span&gt;
+			&lt;a href=&quot;#advancedTopics&quot;&gt;&lt;span&gt;Advanced Topics&lt;/span&gt;&lt;/a&gt;
 
 			&lt;ol class=&quot;secondLevel&quot;&gt;
-				&lt;li&gt;Handling Wire mouse events&lt;/li&gt;
-				&lt;li&gt;Creating new Containers / Extending existing containers&lt;/li&gt;
-				&lt;li&gt;notes on production&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#mouseEvents&quot;&gt;Handling Wire mouse events&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#createContainers&quot;&gt;Creating new Containers / Extending existing containers&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#production&quot;&gt;notes on production&lt;/a&gt;&lt;/li&gt;
 			&lt;/ol&gt;
 		&lt;/li&gt;
 		
 		&lt;li&gt;
-			&lt;span&gt;More information&lt;/span&gt;
+			&lt;a href=&quot;#moreInformation&quot;&gt;&lt;span&gt;More information&lt;/span&gt;&lt;/a&gt;
 			
 			&lt;ol class=&quot;secondLevel&quot;&gt;
-				&lt;li&gt;Contribute&lt;/li&gt;
-				&lt;li&gt;Roadmap&lt;/li&gt;
-				&lt;li&gt;API References&lt;/li&gt;
-				&lt;li&gt;Other resources&lt;/li&gt;
-				&lt;li&gt;WireIt-based projects&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#apiReferences&quot;&gt;API References&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#otherResources&quot;&gt;Other resources&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#projects&quot;&gt;WireIt-based projects&lt;/a&gt;&lt;/li&gt;
+				&lt;li&gt;&lt;a href=&quot;#contribute&quot;&gt;Contribute&lt;/a&gt;&lt;/li&gt;
 			&lt;/ol&gt;
 		&lt;/li&gt;
 		
@@ -141,9 +140,9 @@
 	
 	
 
-&lt;h1&gt;Overview&lt;/h1&gt;
+&lt;a name=&quot;overview&quot;&gt;&lt;h1&gt;Overview&lt;/h1&gt;&lt;/a&gt;
 
-&lt;h2&gt;Presentation&lt;/h2&gt;
+&lt;a name=&quot;presentation&quot;&gt;&lt;h2&gt;Presentation&lt;/h2&gt;&lt;/a&gt;
 
 &lt;p&gt;WireIt is an open-source javascript library to create &lt;i&gt;web wirable interfaces&lt;/i&gt; for &lt;b&gt;dataflow applications&lt;/b&gt;, &lt;b&gt;visual programming languages, graphical modeling,&lt;/b&gt; or &lt;b&gt;graph editors&lt;/b&gt;.&lt;/p&gt;
 
@@ -155,7 +154,7 @@
 &lt;p&gt;The code for Wireit is provided under a &lt;a href=&quot;license.txt&quot;&gt;MIT license&lt;/a&gt;.&lt;/p&gt;
 
 
-&lt;h2&gt;Components/Widgets&lt;/h2&gt;
+&lt;a name=&quot;components&quot;&gt;&lt;h2&gt;Components/Widgets&lt;/h2&gt;&lt;/a&gt;
 
 &lt;p&gt;Here are the main widget classes :&lt;/p&gt;
 	
@@ -176,7 +175,8 @@
 &lt;p&gt;You can create your own container by subclassing the base &lt;i&gt;Container&lt;/i&gt; class, and still benefit from the drop-in use of the WiringEditor in your web application.&lt;/p&gt;
 
 
-&lt;h2&gt;WireIt applications&lt;/h2&gt;	
+
+&lt;a name=&quot;WireItApplication&quot;&gt;&lt;h2&gt;WireIt applications&lt;/h2&gt;	
 
 &lt;p&gt;WireIt provides another useful component: the &lt;b&gt;WiringEditor&lt;/b&gt;, a single-page editor for your &lt;i&gt;visual language&lt;/i&gt;.&lt;/p&gt;
 
@@ -185,7 +185,7 @@
 &lt;p&gt;The WiringEditor requires a connection to a database to use save/load features. You can customize it using adapters. A default adapter is provided, which uses JSON-RPC through ajax calls, and a PHP/MySQL backend.&lt;/p&gt;
 
 
-&lt;h2&gt;Directory structure&lt;/h2&gt;	
+&lt;a name=&quot;directoryStructure&quot;&gt;&lt;h2&gt;Directory structure&lt;/h2&gt;&lt;/a&gt;
 
 &lt;table&gt;
 	&lt;thead&gt;
@@ -253,69 +253,67 @@
 
 
 
-&lt;h1&gt;Getting Started&lt;/h1&gt;
+&lt;a name=&quot;GettingStarted&quot;&gt;&lt;h1&gt;Getting Started&lt;/h1&gt;&lt;/a&gt;
 
-&lt;h2&gt;Installation&lt;/h2&gt;
 
-&lt;p&gt;Create a directory for your project.&lt;/p&gt;
 
-&lt;p&gt;WireIt is mostly a bunch of static files.&lt;/p&gt;
 
-&lt;pre&gt;
-	* download the latest WireIt zip (from http://javascript.neyric.com/wireit)
-		or
-	  clone the WireIt repository (http://github.com/neyric/wireit/tree/master)
+
+&lt;a name=&quot;installation&quot;&gt;&lt;h2&gt;Installation&lt;/h2&gt;&lt;/a&gt;
+
+&lt;p&gt;WireIt is mostly a bunch of static javascript, css, and image files, so you can just &lt;a href=&quot;http://javascript.neyric.com/wireit&quot;&gt;download the library&lt;/a&gt; and put the files in your project library directory.&lt;/p&gt;
 	
-	* Copy the following directory structure to your project's library directory:
+&lt;p&gt;However, the WiringEditor requires a database connection to use the save/load features. (see &lt;a href=&quot;#WiringEditorInstallation&quot;&gt;WiringEditor installation&lt;/a&gt;)&lt;/p&gt;
 
-	wireit/
- 	 - build/
- 	 - css/
- 	 - images/
- 	 - js/
- 	 - lib/
-&lt;/pre&gt;
 
+&lt;p class=&quot;advanced&quot;&gt;You could also clone the &lt;a href=&quot;http://github.com/neyric/wireit/tree/master&quot;&gt;development repository&lt;/a&gt; to get the edge version.&lt;/p&gt;
 
-&lt;h3&gt;WiringEditor installation&lt;/h3&gt;
+&lt;p class=&quot;advanced&quot;&gt;In a production environment, documentation and examples are not necessary. More on this in &lt;a href=&quot;#production&quot;&gt;production&lt;/p&gt;
 
- (PHP only yet, but you can add your own !)
 
-	* Configure the backend:
-	  	* copy the backend/php directory to your wireit directory
-		* edit the script with your database access config (backend/php/WiringEditor.php)
-		* make sure the backend files are accessible by your webserver and that the php module is loaded 
 
 
 
-&lt;h2&gt;Create Your First WireIt App&lt;/h2&gt;
 
-&lt;p&gt;Copy examples/WiringEditor/index.html into your file&lt;/p&gt;
+&lt;a name=&quot;WiringEditorInstallation&quot;&gt;&lt;h3&gt;WiringEditor installation&lt;/h3&gt;&lt;/a&gt;
 
-&lt;pre class=&quot;brush:js&quot;&gt;
-	
-    alert(&quot;Hello world&quot;);
+&lt;p&gt;WireIt provides two default (adapter+backends) for the WiringEditor&lt;/p&gt;
 
-	var myObject = {
-		super: &quot;Cool !&quot;
-	};
+&lt;ul&gt;
+	&lt;li&gt;
+		&lt;p&gt;Json-RPC Adapter + PHP backend&lt;/p&gt;
+		&lt;pre&gt;
+		* copy the backend/php directory to your wireit directory
+		* edit the script with your database access config (backend/php/WiringEditor.php)
+		* make sure the backend files are accessible by your webserver and that the php module is loaded 
+		&lt;/pre&gt;
+	&lt;/li&gt;
+	&lt;li&gt;
+		&lt;p&gt;Gears Adapter&lt;/p&gt;
+		&lt;p&gt;Requires &lt;a href=&quot;http://gears.google.com&quot;&gt;google gears installation&lt;/a&gt;.&lt;/p&gt;
+		&lt;p&gt;This adapter is very useful for prototyping your project, since it can be used without any installation.&lt;/p&gt;
+	&lt;/li&gt;
+&lt;/ul&gt;
+
+&lt;p class=&quot;advanced&quot;&gt;You can &lt;a href=&quot;#adapters&quot;&gt;create your own adapters&lt;/a&gt;.&lt;/p&gt;
 
-&lt;/pre&gt;
 
+&lt;a name=&quot;firstApp&quot;&gt;&lt;h2&gt;Create Your First WireIt Application&lt;/h2&gt;&lt;/a&gt;
 
+&lt;p&gt;Depending on which default adapter you decided to use, copy the examples/gearsAdapter/ or examples/WiringEditor/ files into your project directory.&lt;/p&gt;
 
+&lt;p&gt;Edit the index.html file you copied to check that the paths to javascript and css files are correct. (You might want to create your project directory directly in the examples/ folder so that the paths remain unchanged.)&lt;/p&gt;
 
+&lt;p&gt;Launch the index.html file in your browser. You're ready to create your &lt;a href=&quot;#visualLanguage&quot;&gt;visual language&lt;/a&gt;.&lt;/p&gt;
 
 
 
 
-&lt;h1&gt;Create your visual language&lt;/h1&gt;
 
-&lt;h2&gt;Choosing the right Containers&lt;/h2&gt;
 
-&lt;p&gt;TODO&lt;/p&gt;
+&lt;a name=&quot;visualLanguage&quot;&gt;&lt;h1&gt;Create your visual language&lt;/h1&gt;&lt;/a&gt;
 
-&lt;h2&gt;Defining your visual language&lt;/h2&gt;
+&lt;a name=&quot;visualLanguageDefinition&quot;&gt;&lt;h2&gt;Defining your visual language&lt;/h2&gt;&lt;/a&gt;
 
 &lt;p&gt;The visual language is defined in a JSON format&lt;/p&gt;
 
@@ -335,7 +333,7 @@
 
 &lt;p&gt;The values are automatically saved with your pipes.&lt;/p&gt;
 
-&lt;p&gt;&lt;u&gt;Advanced :&lt;/u&gt; The HiddenField can be used to store additional wirings informations.&lt;/p&gt;
+&lt;p class=&quot;advanced&quot;&gt;The HiddenField can be used to store additional wirings informations.&lt;/p&gt;
 
 &lt;p&gt;Using inputEx. For a list of available fields please refer to &lt;a href=&quot;http://javascript.neyric.com/inputex&quot;&gt;inputEx documentation.&lt;/a&gt;&lt;/p&gt;
 
@@ -383,7 +381,7 @@
 &lt;p&gt;Of course, you can use containers provided in WireIt (ImageContainer, FormContainer, InOutContainer), or a &lt;a href=&quot;#customContainer&quot;&gt;custom container&lt;/a&gt;.&lt;/p&gt;
 
 
-&lt;h2&gt;Using InOutContainer&lt;/h2&gt;
+&lt;a name=&quot;InOutContainer&quot;&gt;&lt;h2&gt;Using InOutContainer&lt;/h2&gt;&lt;/a&gt;
 
 &lt;p&gt;Set &quot;xtype&quot;: &quot;WireIt.InOutContainer&quot;. Provide inputs/outputs. see inputEx. Example: &lt;/p&gt;
 
@@ -398,7 +396,8 @@
 }
 &lt;/pre&gt;
 
-&lt;h2&gt;Using FormContainer&lt;/h2&gt;
+
+&lt;a name=&quot;FormContainer&quot;&gt;&lt;h2&gt;Using FormContainer&lt;/h2&gt;&lt;/a&gt;
 
 &lt;p&gt;Set &quot;xtype&quot;: &quot;WireIt.FormContainer&quot;. Provide fields. see inputEx. Example: &lt;/p&gt;
 
@@ -425,7 +424,7 @@
 &lt;/pre&gt;	
 
 
-&lt;h2&gt;Using ImageContainer&lt;/h2&gt;
+&lt;a name=&quot;ImageContainer&quot;&gt;&lt;h2&gt;Using ImageContainer&lt;/h2&gt;&lt;/a&gt;
 
 &lt;p&gt;Set &quot;xtype&quot;: &quot;WireIt.ImageContainer&quot;. Provide image. Example: &lt;/p&gt;
 
@@ -447,45 +446,79 @@
 
 
 
-&lt;h2&gt;Adapters - Connecting to another database or backend&lt;/h2&gt;
+&lt;a name=&quot;adapters&quot;&gt;&lt;h2&gt;Adapters - Connecting to another database or backend&lt;/h2&gt;&lt;/a&gt;
 
-&lt;p&gt;TODO&lt;/p&gt;
+&lt;a name=&quot;adaptersIntroduction&quot;&gt;&lt;h2&gt;Introduction&lt;/h2&gt;&lt;/a&gt;
 
-&lt;h2&gt;Available adapters&lt;/h2&gt;
+&lt;p&gt;Adapters are used by the WiringEditor to provide the loading/saving features. It makes it easy to &quot;plug&quot; the WiringEditor into your application. They usually connect to a database of some kind through Ajax calls to store the wirings and bring them back.&lt;/p&gt;
 
+&lt;p&gt;WireIt provides two default adapters :&lt;/p&gt;
 
+&lt;ul&gt;
+	&lt;li&gt;Gears&lt;/li&gt;
+	&lt;li&gt;Json-rpc + php&lt;/li&gt;
+&lt;/ul&gt;
 
+&lt;p&gt;Why would you build your own ?&lt;/p&gt;
 
-&lt;p&gt;General case: you don't use PHP&lt;/p&gt;
+&lt;ul&gt;
+	&lt;li&gt;You use a different language&lt;/li&gt;
+	&lt;li&gt;You probably use a framework to develop your website, which provides its own models (ex: Django,Rails,Symfony,...)&lt;/li&gt;
+	&lt;li&gt;Convert the wirings into another workflow model. (ex: XProc XML)&lt;/li&gt;
+&lt;/ul&gt;
 
-&lt;p&gt;Use &quot;adapters&quot; to connect to the storage of your choice&lt;/p&gt;
 
+&lt;a name=&quot;adaptersConfiguration&quot;&gt;&lt;h2&gt;Configuring the adapter&lt;/h2&gt;&lt;/a&gt;
+
+&lt;pre class=&quot;brush:js&quot;&gt;
+	
+	// Override 
+	WireIt.WiringEditor.adapters.MyAdapter.config.configParam1 = value1;
+	
+	new WireIt.WiringEditor({
+		...
+		adapter: WireIt.WiringEditor.adapters.MyAdapter
+		...
+	})
+
+&lt;/pre&gt;
 
 
-&lt;h2&gt;Create an adapter&lt;/h2&gt;
 
-&lt;p&gt;You can convert data client-side or server-side, plug it to your framework.&lt;/p&gt;
+&lt;a name=&quot;adaptersCreation&quot;&gt;&lt;h2&gt;Create an adapter&lt;/h2&gt;&lt;/a&gt;
 
-&lt;p&gt;example:&lt;/p&gt;
+&lt;p&gt;Here is the skeleton of an adapter :&lt;/p&gt;
 
 &lt;pre class=&quot;brush:js&quot;&gt;
 
 WireIt.WiringEditor.adapters.MyAdapter = {
-
+	
+	// adapter default options
 	config: {
-		// general configuration options
+		// ...
+	},
+
+	// Initialization method called by the WiringEditor
+	init: function() {
+		
 	},
 
+	/**
+	 * save/list/delete asynchronous methods
+	 */
 	saveWiring: function(val, callbacks) {
 		// ...
+		// don't forget to call the callbacks !
 	},
 
 	deleteWiring: function(val, callbacks) {
 		// ...
+		// don't forget to call the callbacks !
 	},
 
 	listWirings: function(val, callbacks) {
 		// ...
+		// don't forget to call the callbacks !
 	}
 
 	// + private methods or properties
@@ -494,41 +527,92 @@ WireIt.WiringEditor.adapters.MyAdapter = {
 })();
 &lt;/pre&gt;
 
-&lt;p&gt;All 3 methods of these adapters use asynchronous callbacks.&lt;/p&gt;
+&lt;p&gt;The main three methods use asynchronous callbacks to push back the results to the WiringEditor. Here is the structure of the callbacks that are passed to these methods : &lt;/p&gt;
 
 &lt;pre class=&quot;brush:js&quot;&gt;
 	var callbacks = {
 		success: function() {
-			
 		},
 		failure: function() {
-			
 		},
-		scope: this // optional
+		scope: this
 	};
 &lt;/pre&gt;
 
-&lt;p&gt;Then, you would just have to instantiate the WiringEditor with your custom adapter:&lt;/p&gt;
+
+&lt;p&gt;To call the callbacks, in a synchronous way, use something like :&lt;/p&gt;
 
 &lt;pre class=&quot;brush:js&quot;&gt;
-new WiringEditor({
-   ...,
-   adapter: WireIt.WiringEditor.adapters.MyAdapter,
-   ...
-});
-&lt;/pre&gt;		
+	function(val, callbacks) {
+		
+		if(everythingGoesFine) {
+			callbacks.success.call(callbacks.scope, results);
+		}
+		else {
+			callbacks.failure.call(callbacks.scope, results);
+		}
+		
+	}
+&lt;/pre&gt;
 
 
+&lt;p&gt;The asynchronous pattern is particularly useful for ajax-based adapters. Here is an example with YUI :&lt;/p&gt;
+
+&lt;pre class=&quot;brush:js&quot;&gt;
+	function(val, callbacks) {
+		
+		YAHOO.util.Connect.asyncRequest('POST', 'myUrl', {
+			success: function(r) {
+				//...
+				
+				callbacks.success.call(callbacks.scope, results);
+			},
+			failure: function(r) {
+				callbacks.failure.call(callbacks.scope, error);
+			}
+		});
+		
+	}
+&lt;/pre&gt;
 
 
 
-&lt;h1&gt;Advanced Topics&lt;/h1&gt;
 
+&lt;a name=&quot;advancedTopics&quot;&gt;&lt;h1&gt;Advanced Topics&lt;/h1&gt;&lt;/a&gt;
 
-&lt;h2&gt;Handling Wire mouse events&lt;/h2&gt;
 
-&lt;p&gt;2 methods: Override Wire.prototype.onMouseClick , or listen to wire events.&lt;/p&gt;
+&lt;a name=&quot;mouseEvents&quot;&gt;&lt;h2&gt;Handling Wire mouse events&lt;/h2&gt;&lt;/a&gt;
+
+&lt;p&gt;There are two methods to handle wire mouse events :&lt;/p&gt;
+
+&lt;ul&gt;
+	&lt;li&gt;
+		&lt;p&gt;Listen to wire events (recommanded)&lt;/p&gt;
+		
+		&lt;pre class=&quot;brush:js&quot;&gt;
+		wire.eventMouseIn.subscribe(wireRed, wire, true);
+		wire.eventMouseOut.subscribe(wireBlue, wire, true);
+		wire.eventMouseClick.subscribe(wireClick, wire, true);
+		&lt;/pre&gt;
+		
+	&lt;/li&gt;
+	&lt;li&gt;
+		&lt;p&gt;Override Wire.prototype methods&lt;/p&gt;
+		&lt;pre class=&quot;brush:js&quot;&gt;
+			Wire.prototype.onWireIn = function(x,y) {
+			};
+			
+			Wire.prototype.onWireOut = function(x,y) {
+			};
+			
+			Wire.prototype.onWireClick = function(x,y) {
+			};
+		&lt;/pre&gt;
+	&lt;/li&gt;
+&lt;/ul&gt;
+
 
+&lt;p&gt;Here is an example to create a random layer and lister for wire events :&lt;/p&gt;
 
 &lt;pre class=&quot;brush:js&quot;&gt;
 	
@@ -547,7 +631,7 @@ new WiringEditor({
 	
 	// Generate a random layer
 	var layer = new WireIt.Layer({});
-	for(var i = 0 ; i &lt; 5 ; i++) {
+	for(var i = 0 ; i &amp;lt; 5 ; i++) {
 		layer.addContainer({
 			terminals: [ {direction: [0,1], offsetPosition: {bottom: -13, left: 25} }],
 			title: &quot;Block #&quot;+i,
@@ -555,7 +639,7 @@ new WiringEditor({
 		});
 	}
 	
-	for(var i = 0 ; i &lt; 7 ; i++) {
+	for(var i = 0 ; i &amp;lt; 7 ; i++) {
 	
 		var w = layer.addWire({
 			src: {moduleId: Math.floor(Math.random()*5), terminalId: 0},
@@ -571,7 +655,7 @@ new WiringEditor({
 
 
 
-&lt;a name=&quot;customContainer&quot;&gt;&lt;h2&gt;Creating new Containers / Extending existing containers&lt;/h2&gt;&lt;/a&gt;
+&lt;a name=&quot;createContainers&quot;&gt;&lt;h2&gt;Creating new Containers / Extending existing containers&lt;/h2&gt;&lt;/a&gt;
 
 &lt;p&gt;The general way to create a new &lt;i&gt;Container&lt;/i&gt; class is to extend the WireIt.Container class. We do this YUI-style :&lt;/p&gt;
 
@@ -601,7 +685,7 @@ WireIt.ImageContainer.myMethod = function () {
 
 
 
-&lt;h2&gt;notes on production&lt;/h2&gt;
+&lt;a name=&quot;production&quot;&gt;&lt;h2&gt;notes on production&lt;/h2&gt;&lt;/a&gt;
 
 &lt;p&gt;You might mant to use rollup versions. The advantage is to reduce the number of HTTP requests on page load.&lt;/p&gt;
 
@@ -614,7 +698,16 @@ WireIt.ImageContainer.myMethod = function () {
 &lt;/pre&gt;
 
 
+&lt;p&gt;The WireIt zip file contains example, guides, documentation, which are not necessary. We recommend you only copy this files on your webserver :&lt;/p&gt;
 
+&lt;pre&gt;
+	wireit/
+ 	 - build/
+ 	 - css/
+ 	 - images/
+ 	 - js/
+ 	 - lib/
+&lt;/pre&gt;
 
 
 
@@ -624,34 +717,33 @@ WireIt.ImageContainer.myMethod = function () {
 
 
 
-&lt;h1&gt;More information&lt;/h2&gt;
 
-&lt;h2&gt;API References&lt;/h2&gt;
+&lt;a name=&quot;moreInformation&quot;&gt;&lt;h1&gt;More information&lt;/h2&gt;&lt;/a&gt;
+
+&lt;a name=&quot;apiReferences&quot;&gt;&lt;h2&gt;API References&lt;/h2&gt;&lt;/a&gt;
 
 &lt;p&gt;Deeper hacking into WireIt might require some knowledge in the libraries used :&lt;/p&gt;
 	
 &lt;ul class=&quot;secondLevel&quot;&gt;
-	&lt;li&gt;&lt;a href=&quot;doc/index.html&quot;&gt;WireIt API Documentation&lt;/a&gt;&lt;/li&gt;
+	&lt;li&gt;&lt;a href=&quot;doc/index.html&quot; style=&quot;font-size: 120%;&quot;&gt;WireIt API Documentation&lt;/a&gt;&lt;/li&gt;
 	&lt;li&gt;&lt;a href=&quot;http://javascript.neyric.com/inputex/&quot;&gt;inputEx Documentation&lt;/a&gt;&lt;/li&gt;
 	&lt;li&gt;&lt;a href=&quot;http://developer.yahoo.com/yui/&quot;&gt;YUI Documentation&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 
 
-&lt;h2&gt;Other resources&lt;/h2&gt;
+&lt;a name=&quot;otherResources&quot;&gt;&lt;h2&gt;Other resources&lt;/h2&gt;&lt;/a&gt;
 		
 &lt;ul&gt;
-	&lt;li&gt;&lt;a href=&quot;doc/index.html&quot;&gt;API documentation&lt;/a&gt; built with &lt;a href=&quot;http://developer.yahoo.com/yui/yuidoc/&quot;&gt;YUI Doc&lt;/a&gt;&lt;/li&gt;
-	&lt;li&gt;You can also get some help on the &lt;a href=&quot;&quot;&gt;forum&lt;/a&gt;.&lt;/li&gt;
-	&lt;li&gt;Please report your issues or feature request at &lt;a href=&quot;http://neyric.lighthouseapp.com/projects/25048-wireit&quot;&gt;LightHouse&lt;/a&gt;.&lt;/li&gt;
-	&lt;li&gt;Project home page  http://javascript.neyric.com/wireit/&lt;/li&gt;
-	&lt;li&gt;Source code: http://github.com/neyric/wireit&lt;/li&gt;
-	&lt;li&gt;Issue tracker: http://neyric.lighthouseapp.com/projects/25048-wireit/tickets?q=all&lt;/li&gt;
-	&lt;li&gt;Blog: http://javascript.neyric.com/blog/category/wireit/&lt;/li&gt;
+	&lt;li&gt;You can get some help on the &lt;a href=&quot;http://groups.google.com/group/wireit/&quot;&gt;forum&lt;/a&gt;.&lt;/li&gt;
+	&lt;li&gt;&lt;a href=&quot;http://javascript.neyric.com/wireit/&quot;&gt;Project home page&lt;/a&gt;&lt;/li&gt;
+	&lt;li&gt;&lt;a href=&quot;http://github.com/neyric/wireit&quot;&gt;Source code repository&lt;/a&gt; on GitHub&lt;/li&gt;
+	&lt;li&gt;&lt;a href=&quot;http://neyric.lighthouseapp.com/projects/25048-wireit/&quot;&gt;Issue tracker&lt;/a&gt; on LightHouse&lt;/li&gt;
+	&lt;li&gt;&lt;a href=&quot;http://javascript.neyric.com/blog/category/wireit/&quot;&gt;WireIt Blog&lt;/a&gt;&lt;/li&gt;
 	&lt;li&gt;&lt;a href=&quot;http://wiki.github.com/neyric/wireit&quot;&gt;Wiki&lt;/a&gt;&lt;/li&gt;
 	&lt;li&gt;&lt;a href=&quot;http://twitter.com/wireit&quot;&gt;WireIt changelog on twitter&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 			
-&lt;h2&gt;WireIt-based projects&lt;/h2&gt;
+&lt;a name=&quot;projects&quot;&gt;&lt;h2&gt;WireIt-based projects&lt;/h2&gt;&lt;/a&gt;
 
 &lt;ul&gt;
 	&lt;li&gt;&lt;a href=&quot;http://tarpipe.com&quot;&gt;Tarpipe&lt;/a&gt; - share content across social applications&lt;/li&gt;
@@ -659,15 +751,30 @@ WireIt.ImageContainer.myMethod = function () {
 	&lt;li&gt;&lt;a href=&quot;http://graphpipes.de/&quot;&gt;Graphpipes&lt;/a&gt; - easy way to aggregate semantic data&lt;/li&gt;
 &lt;/ul&gt;
 
+&lt;p&gt;Email me your own: &amp;lt;eric.abouaf at gmail&amp;gt;&lt;/p&gt;
 
-&lt;h2&gt;Contribute&lt;/h2&gt;
+&lt;a name=&quot;contribute&quot;&gt;&lt;h2&gt;Contribute&lt;/h2&gt;&lt;/a&gt;
 
-&lt;p&gt;Code examples, new features, styling&lt;/p&gt;
+&lt;p&gt;You can contribute in a lot of different ways :&lt;/p&gt;
 
+&lt;ul&gt;
+	&lt;li&gt;Design/Styling - images or css&lt;/li&gt;
+	&lt;li&gt;Adapters/backend code&lt;/li&gt;
+	&lt;li&gt;write new examples&lt;/li&gt;
+	&lt;li&gt;improve documentation&lt;/li&gt;
+&lt;/ul&gt;
+
+&lt;p&gt;If you use this project in a commercial application, or simply wish to see this project continue, you can donate on PayPal. Donations will be used for WireIt development and promotion.&lt;/p&gt;
+	
+	&lt;form action=&quot;https://www.paypal.com/cgi-bin/webscr&quot; method=&quot;post&quot;&gt;
+	&lt;input type=&quot;hidden&quot; name=&quot;cmd&quot; value=&quot;_s-xclick&quot;&gt;
+	&lt;input type=&quot;hidden&quot; name=&quot;encrypted&quot; value=&quot;-----BEGIN PKCS7-----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-----END PKCS7-----
+	&quot;&gt;
+	&lt;input type=&quot;image&quot; src=&quot;https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif&quot; border=&quot;0&quot; name=&quot;submit&quot; alt=&quot;PayPal - The safer, easier way to pay online!&quot;&gt;
+	&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://www.paypal.com/fr_FR/i/scr/pixel.gif&quot; width=&quot;1&quot; height=&quot;1&quot;&gt;
+	&lt;/form&gt;
 
-&lt;h2&gt;Roadmap&lt;/h2&gt;
 
-				
 &lt;!-- END OF THE GUIDE --&gt;
 
 </diff>
      <filename>guide.html</filename>
    </modified>
    <modified>
      <diff>@@ -187,6 +187,7 @@
 					&lt;li&gt;&lt;a href=&quot;examples/wire_tooltips.html&quot;&gt;Wire context menu&lt;/a&gt;&lt;/li&gt;
 					&lt;li&gt;&lt;a href=&quot;examples/spring_layout.html&quot;&gt;Spring Layout&lt;/a&gt;&lt;/li&gt;
 					&lt;li&gt;&lt;a href=&quot;examples/dotparser/&quot;&gt;Dot parser&lt;/a&gt;&lt;/li&gt;
+					&lt;li&gt;&lt;a href=&quot;examples/gearsAdapter/&quot;&gt;Gears Adapter&lt;/a&gt;&lt;/li&gt;
 				&lt;/ul&gt;
 			
 			</diff>
      <filename>index.html</filename>
    </modified>
    <modified>
      <diff>@@ -25,6 +25,7 @@
       
       this.initScissors();
    };
+	WireIt.Scissors.visibleInstance = null;
    lang.extend(WireIt.Scissors, util.Element, {
       
       /**
@@ -81,6 +82,13 @@
       show: function() {
          this.setPosition();
          this.setStyle('display','');
+			
+			if(WireIt.Scissors.visibleInstance &amp;&amp; WireIt.Scissors.visibleInstance != this) {
+				if(WireIt.Scissors.visibleInstance.terminalTimeout) { WireIt.Scissors.visibleInstance.terminalTimeout.cancel(); }
+				WireIt.Scissors.visibleInstance.hideNow(); 
+			}
+			WireIt.Scissors.visibleInstance = this;
+			
          if(this.terminalTimeout) { this.terminalTimeout.cancel(); }
       },
       /**
@@ -93,6 +101,7 @@
        * @method hideNow
        */
       hideNow: function() {
+			WireIt.Scissors.visibleInstance = null;
          this.setStyle('display','none');
       }
 </diff>
      <filename>js/Terminal.js</filename>
    </modified>
    <modified>
      <diff>@@ -564,7 +564,7 @@ YAHOO.lang.extend(WireIt.Wire, WireIt.CanvasElement, {
       ctxt.lineTo(p2[0],p2[1]);
       ctxt.stroke();
    },
-   
+
    /**
     * Redraw the canvas (according to the drawingMethod option)
     * @method redraw</diff>
      <filename>js/Wire.js</filename>
    </modified>
    <modified>
      <diff>@@ -159,7 +159,10 @@ WireIt.WiringEditor.prototype = {
      
     this.options.languageName = options.languageName || 'anonymousLanguage';
     
-    this.options.propertiesFields = options.propertiesFields;
+    this.options.propertiesFields = options.propertiesFields || [
+		{&quot;type&quot;: &quot;string&quot;, inputParams: {&quot;name&quot;: &quot;name&quot;, label: &quot;Title&quot;, typeInvite: &quot;Enter a title&quot; } },
+		{&quot;type&quot;: &quot;text&quot;, inputParams: {&quot;name&quot;: &quot;description&quot;, label: &quot;Description&quot;, cols: 30, rows: 4} }
+	 ];
     
     this.options.layoutOptions = options.layoutOptions || {
 	 	units: [
@@ -256,7 +259,7 @@ WireIt.WiringEditor.prototype = {
        Dom.addClass(container.el, &quot;WiringEditor-module-&quot;+module.name);
     }
     catch(ex) {
-       console.log(&quot;Error Layer.addContainer&quot;, ex.message);
+       this.alert(&quot;Error Layer.addContainer: &quot;+ ex.message);
     }    
  },
 
@@ -314,14 +317,14 @@ WireIt.WiringEditor.prototype = {
 
     this.alert(&quot;Saved !&quot;);
 
-	 console.log(this.tempSavedWiring);
+	 //console.log(this.tempSavedWiring);
 	var name = this.tempSavedWiring.name;
 	
 	if(this.modulesByName.hasOwnProperty(name) ) {
-		console.log(&quot;already exists !&quot;);
+		//console.log(&quot;already exists !&quot;);
 	}
 	else {
-		console.log(&quot;new one !&quot;);
+		//console.log(&quot;new one !&quot;);
 	}
 	
  },
@@ -457,19 +460,41 @@ WireIt.WiringEditor.prototype = {
     
     this.adapter.listWirings({language: this.options.languageName},{
 			success: function(result) {
-				this.pipes = result.result;
-				this.pipesByName = {};
-				
-				this.renderLoadPanel();
-            this.updateLoadPanelList();
-            this.loadPanel.show();
+				this.onLoadSuccess(result);
 			},
 			scope: this
 		}
 		);
 
  },
- 
+
+ /**
+  * @method onLoadSuccess
+  */
+ onLoadSuccess: function(wirings) {
+		this.pipes = wirings;
+		this.pipesByName = {};
+		
+		this.renderLoadPanel();
+    	this.updateLoadPanelList();
+
+		if(!this.afterFirstRun) {
+			var p = window.location.search.substr(1).split('&amp;');
+			var oP = {};
+			for(var i = 0 ; i &lt; p.length ; i++) {
+				var v = p[i].split('=');
+				oP[v[0]]=window.decodeURIComponent(v[1]);
+			}
+			this.afterFirstRun = true;
+			if(oP.autoload) {
+				this.loadPipe(oP.autoload);
+				return;
+			}
+		}
+
+    this.loadPanel.show();
+	},
+
  /**
   * @method getPipeByName
   * @param {String} name Pipe's name
@@ -485,7 +510,7 @@ WireIt.WiringEditor.prototype = {
              return ret;
           }
           catch(ex) {
-             console.log(&quot;Unable to eval working json for module &quot;+name);
+             this.alert(&quot;Unable to eval working json for module &quot;+name);
              return null;
           }
        }
@@ -573,7 +598,7 @@ WireIt.WiringEditor.prototype = {
 
 	onLayerChanged: function() {
 		if(!this.preventLayerChangedEvent) {
-			console.log(&quot;layer changed !&quot;);
+			//console.log(&quot;layer changed !&quot;);
 			this.markUnsaved();
 		}
 	},</diff>
      <filename>js/WiringEditor.js</filename>
    </modified>
    <modified>
      <diff>@@ -32,7 +32,7 @@ WireIt.WiringEditor.adapters.JsonRpc = {
 			success: function(o) {
 				var s = o.responseText,
 					 r = YAHOO.lang.JSON.parse(s);
-			 	callbacks.success.call(callbacks.scope, r);
+			 	callbacks.success.call(callbacks.scope, r.result);
 			},
 			failure: function() {
 				callbacks.failure.call(callbacks.scope, r);</diff>
      <filename>js/adapters/json-rpc.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>194a78074b190030a20de43ed731c67d795961fb</id>
    </parent>
  </parents>
  <author>
    <name>neyric</name>
    <email>eric.abouaf@gmail.com</email>
  </author>
  <url>http://github.com/neyric/wireit/commit/a013de69ddbbf4091896121810925f3d1372e800</url>
  <id>a013de69ddbbf4091896121810925f3d1372e800</id>
  <committed-date>2009-07-21T11:39:13-07:00</committed-date>
  <authored-date>2009-07-21T11:39:13-07:00</authored-date>
  <message>documentation Guide + Default value for WiringEditor propertiesFields + show only one scissor at a time</message>
  <tree>50711d1eed4b1125fb4f2868265d153add672314</tree>
  <committer>
    <name>neyric</name>
    <email>eric.abouaf@gmail.com</email>
  </committer>
</commit>
