You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ca...@apache.org on 2014/03/06 16:39:10 UTC

git commit: [flex-asjs] [refs/heads/develop] - refactor TODO sample to package "sample.todo" last fixes

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 496c0e62b -> d21756911


refactor TODO sample to package "sample.todo" last fixes


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d2175691
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d2175691
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d2175691

Branch: refs/heads/develop
Commit: d21756911d00cfd87fe69ecc2c83c05109b79aa5
Parents: 496c0e6
Author: Carlos Rovira <ca...@apache.org>
Authored: Thu Mar 6 16:39:00 2014 +0100
Committer: Carlos Rovira <ca...@apache.org>
Committed: Thu Mar 6 16:39:00 2014 +0100

----------------------------------------------------------------------
 examples/TodoListSampleApp/src/TodoListSampleApp.mxml        | 8 ++++----
 .../src/sample/todo/views/TodoListView.mxml                  | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d2175691/examples/TodoListSampleApp/src/TodoListSampleApp.mxml
----------------------------------------------------------------------
diff --git a/examples/TodoListSampleApp/src/TodoListSampleApp.mxml b/examples/TodoListSampleApp/src/TodoListSampleApp.mxml
index 727c5c0..bcfa7cc 100644
--- a/examples/TodoListSampleApp/src/TodoListSampleApp.mxml
+++ b/examples/TodoListSampleApp/src/TodoListSampleApp.mxml
@@ -20,8 +20,8 @@
 -->
 <basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:basic="library://ns.apache.org/flexjs/basic"
-                   xmlns:controller="sample.todo.controllers.*"
-                   xmlns:model="sample.todo.models.*"
+                   xmlns:controllers="sample.todo.controllers.*"
+                   xmlns:models="sample.todo.models.*"
                    xmlns:views="sample.todo.views.*">
 
     <basic:valuesImpl>
@@ -29,11 +29,11 @@
     </basic:valuesImpl>
 
     <basic:controller>
-        <controller:TodoListController/>
+        <controllers:TodoListController/>
     </basic:controller>
 
     <basic:model>
-        <model:TodoListModel/>
+        <models:TodoListModel/>
     </basic:model>
 
     <basic:initialView>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d2175691/examples/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml
----------------------------------------------------------------------
diff --git a/examples/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml b/examples/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml
index 2c5ac10..844158e 100644
--- a/examples/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml
+++ b/examples/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml
@@ -90,7 +90,7 @@ limitations under the License.
 
     <fx:Style>
         @namespace basic "library://ns.apache.org/flexjs/basic";
-        @namespace renderer "renderer.*";
+        @namespace renderers "sample.todo.renderers.*";
 
         /* use className="todoList" on the List element in place of itemRenderer if you want to specify
          * the itemRenderer in a style definition along with other settings.
@@ -100,7 +100,7 @@ limitations under the License.
             IItemRenderer: ClassReference("sample.todo.renderers.TodoItemRenderer");
         }
 
-        renderer|TodoItemRenderer {
+        renderers|TodoItemRenderer {
             height: 40;
             IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.ItemRendererMouseController");
         }