[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6090] trunk/UI



Revision: 6090
          http://sourceforge.net/p/ledger-smb/code/6090
Author:   einhverfr
Date:     2013-09-28 03:27:52 +0000 (Sat, 28 Sep 2013)
Log Message:
-----------
Removed unused dependencies after moving tabs to new widget

Modified Paths:
--------------
    trunk/UI/Contact/contact.js

Added Paths:
-----------
    trunk/UI/lib/TabularForm.js

Removed Paths:
-------------
    trunk/UI/Contact/tabs.js
    trunk/UI/lib/Tabular.js

Modified: trunk/UI/Contact/contact.js
===================================================================
--- trunk/UI/Contact/contact.js	2013-09-28 03:13:04 UTC (rev 6089)
+++ trunk/UI/Contact/contact.js	2013-09-28 03:27:52 UTC (rev 6090)
@@ -2,12 +2,9 @@
          'dojo/query', 
          'dojo/dom', 
          "lsmb/lib/TabSet",
-         "dijit/layout/ContentPane",
-         'lsmb/Contact/tabs',
-          'dijit/registry',
           'dojo/window',
-         'dojo/ready'],
-       function(query, dom, tc, cp, obj, registry, win){
+         'dojo/domReady!'],
+       function(query, dom, tc, win){
            var tabs = new tc({}, dom.byId('contact_tabs'));
            tabs.startup(activeDiv, win.getBox());
        } 

Deleted: trunk/UI/Contact/tabs.js
===================================================================
--- trunk/UI/Contact/tabs.js	2013-09-28 03:13:04 UTC (rev 6089)
+++ trunk/UI/Contact/tabs.js	2013-09-28 03:27:52 UTC (rev 6090)
@@ -1,17 +0,0 @@
-
-define(['dijit/registry','dojo/ready'],
-    function(registry, ready) {
-      return {
-        init: function(){
-          // global should get set on the page, but is not available at init.
-          // Need to wait for widgets to initialize before setting active tab.
-          // dojo/ready queues this job to run after the parser is finished.
-          if (activeDiv) {
-            ready(function() {
-              var td = registry.byId('contact_tabs');
-            });
-          }
-        }
-      };
-    }
-    );

Deleted: trunk/UI/lib/Tabular.js
===================================================================
Copied: trunk/UI/lib/TabularForm.js (from rev 6088, trunk/UI/lib/Tabular.js)
===================================================================
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits