source: Dev/trunk/client/qed/ui/MenuBarLink.js @ 426

Last change on this file since 426 was 426, checked in by hendrikvanantwerpen, 12 years ago

Added grunt tasks and code cleanup.

Added grunt for less and jshint procesing.
Cleanup of code to pass jshint (one bug found :).

File size: 301 bytes
Line 
1define(['dojo/_base/declare','dijit/MenuBarItem','../app/Router'
2], function(declare,MenuBarItem,Router) {
3    return declare([MenuBarItem], {
4        options:{
5            path: null
6        },
7        onClick: function(){
8            if ( this.path ) { Router.go(this.path); }
9        }
10    });
11});
Note: See TracBrowser for help on using the repository browser.