-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jonnie Spratley
committed
Nov 23, 2013
1 parent
82ba94b
commit 1116837
Showing
14 changed files
with
254 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: node server.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,28 @@ | ||
'use strict'; | ||
|
||
angular.module('angularCmsBaseApp') | ||
.controller('DocsCtrl', function ($scope, $http) { | ||
angular.module('angularCmsBaseApp').controller('DocsCtrl', function($scope, $http) { | ||
|
||
$scope.readme = ''; | ||
|
||
$http.get('/api/v2/README').success(function(data){ | ||
$scope.readme = data; | ||
$scope.tocify(); | ||
}); | ||
|
||
$scope.tocify = function(){ | ||
|
||
$scope.loadReadme = function() { | ||
$http.get('/api/v2/README').success(function(data) { | ||
$scope.readme = data; | ||
$scope.tocify(); | ||
}); | ||
}; | ||
|
||
$scope.tocify = function() { | ||
//Executes your code when the DOM is ready. Acts the same as $(document).ready(). | ||
$(function() { | ||
setTimeout(function(){ | ||
setTimeout(function() { | ||
//Calls the tocify method on your HTML div. | ||
$("#toc").tocify({ | ||
hashGenerator: 'compact', | ||
content: '#docs-content' | ||
$("#toc").tocify({ | ||
hashGenerator : 'compact', | ||
content : '#docs-content' | ||
}); | ||
}, 500); | ||
}, 500); | ||
}); | ||
}; | ||
|
||
|
||
$scope.awesomeThings = [ | ||
'HTML5 Boilerplate', | ||
'AngularJS', | ||
'Karma' | ||
]; | ||
}); | ||
$scope.awesomeThings = ['HTML5 Boilerplate', 'AngularJS', 'Karma']; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#!/bin/sh | ||
rm ../db/mongod.lock | ||
mongod --dbpath db --rest --jsonp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
832 | ||
1447 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.