[Groonga-commit] groonga/gcs [ember] Rename got*o methods

Back to archive index

Yoji SHIDARA null+****@clear*****
Tue Oct 2 11:44:58 JST 2012


Yoji SHIDARA	2012-10-02 11:44:58 +0900 (Tue, 02 Oct 2012)

  New Revision: f903d059366645f0a9552f465b6423762ac08dc5
  https://github.com/groonga/gcs/commit/f903d059366645f0a9552f465b6423762ac08dc5

  Log:
    Rename got*o methods

  Modified files:
    public/js/gcs/router.js
    views/index.jade

  Modified: public/js/gcs/router.js (+2 -2)
===================================================================
--- public/js/gcs/router.js    2012-10-02 11:41:34 +0900 (156c33e)
+++ public/js/gcs/router.js    2012-10-02 11:44:58 +0900 (92f30a4)
@@ -1,8 +1,8 @@
 App.Router = Ember.Router.extend({
   root: Ember.Route.extend({
     gotoIndex: Ember.State.transitionTo('root.index'),
-    gotoSearch: Ember.State.transitionTo('domains.search'),
-    gotoDomain: Ember.State.transitionTo('domains.show'),
+    gotoDomainSearch: Ember.State.transitionTo('domains.search'),
+    gotoDomainShow: Ember.State.transitionTo('domains.show'),
     index: Ember.Route.extend({
       route: '/',
       connectOutlets: function(router, context) {

  Modified: views/index.jade (+3 -3)
===================================================================
--- views/index.jade    2012-10-02 11:41:34 +0900 (7251445)
+++ views/index.jade    2012-10-02 11:44:58 +0900 (f47b54c)
@@ -21,7 +21,7 @@ html
                 li.nav-header Domains
                 {{#each App.domains}}
                 {{#view view.NavItemView section="Domain" itemBinding="name"}}
-                <a href {{action gotoDomain this}}><i class="icon-hdd"></i> {{name}}</a>
+                <a href {{action gotoDomainShow this}}><i class="icon-hdd"></i> {{name}}</a>
                 {{/view}}
                 {{/each}}
           .span10
@@ -43,10 +43,10 @@ html
 
       ul.nav.nav-tabs
         {{#view view.NavItemView item="About"}}
-        <a href {{action gotoDomain this.content}}>About</a>
+        <a href {{action gotoDomainShow this.content}}>About</a>
         {{/view}}
         {{#view view.NavItemView item="Search"}}
-        <a href {{action gotoSearch this.content}}>Search</a>
+        <a href {{action gotoDomainSearch this.content}}>Search</a>
         {{/view}}
 
       {{outlet}}
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index