Last change
on this file since 443 was
443,
checked in by hendrikvanantwerpen, 12 years ago
|
Reorganized for Node --- the SVN gods hate us all!
Lost all historical info on moved files, because SVN is a f *.
Also we have Node now, serving both the static content and forwarding
database requests.
|
File size:
292 bytes
|
Rev | Line | |
---|
[443] | 1 | define(['dojo/_base/declare','dijit/MenuItem','../app/Router' |
---|
| 2 | ], function(declare,MenuItem,Router) { |
---|
| 3 | return declare([MenuItem],{ |
---|
| 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.