Last change
on this file since 442 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:
292 bytes
|
Rev | Line | |
---|
[426] | 1 | define(['dojo/_base/declare','dijit/MenuItem','../app/Router' |
---|
| 2 | ], function(declare,MenuItem,Router) { |
---|
[407] | 3 | return declare([MenuItem],{ |
---|
[256] | 4 | options:{ |
---|
[407] | 5 | path: null |
---|
[256] | 6 | }, |
---|
[426] | 7 | onClick: function() { |
---|
| 8 | if ( this.path ) { Router.go(this.path); } |
---|
[256] | 9 | } |
---|
| 10 | }); |
---|
| 11 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.