Skip to content

Commit 5a49539

Browse files
author
nick
committed
veg
1 parent e92b62d commit 5a49539

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Gruntfile.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = (grunt)->
4848
options:
4949
livereload:true
5050

51-
grunt.loadNpmTasks 'grunt-contrib-jade'
51+
grunt.loadNpmTasks 'jade'
5252
grunt.loadNpmTasks 'grunt-contrib-less'
5353
grunt.loadNpmTasks 'grunt-contrib-coffee'
5454
grunt.loadNpmTasks 'grunt-contrib-watch'

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
22
"name": "angular-bootstrap-nav-tree",
33
"version": "0.1.0",
4-
"dependencies": {
5-
},
4+
"dependencies": {},
65
"devDependencies": {
76
"grunt": "~0.4.1",
87
"jade": "~0.34.1",
98
"grunt-contrib-coffee": "~0.7.0",
109
"grunt-contrib-less": "~0.6.4",
1110
"grunt-contrib-watch": "~0.5.1"
12-
1311
}
1412
}

src/test_abn_tree.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ app.controller 'AbnTestController',($scope)->
7575
onSelect:(branch)->
7676
# special "on-select" function for this branch
7777
$scope.output = "Vegetable: "+branch.data.definition
78+
7879

7980
children:[
8081
label:'Oranges'

test/test_abn_tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ app.controller('AbnTestController', function($scope) {
4545
data_can_contain_anything: true
4646
},
4747
onSelect: function(branch) {
48-
return $scope.output = "Fruit: " + branch.data.definition;
48+
return $scope.output = "Vegetable: " + branch.data.definition;
4949
},
5050
children: [
5151
{

0 commit comments

Comments
 (0)