This file contains hidden or 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
var allBlogs = function(cb){ | |
Blog.find({}, function(err, docs){ | |
if(err){ | |
cb(err, null); | |
} | |
else{ | |
cb(null, docs); | |
} | |
}); | |
}; |
This file contains hidden or 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
.run(function($rootScope) { | |
$rootScope.$on('$viewContentLoaded', function () { | |
$(document).foundation(); | |
}); | |
}); |
This file contains hidden or 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
#Trying to figure out how to get protractor working | |
# My first test is simple. Visit the page and see if this thing is on the page | |
# That test works fine. | |
# The second test is clicking a button and waiting to see if errors appear | |
# No matter what I try that I find on the net I can't get it to work. Help? | |
beforeEach -> | |
# the following command allows us to | |
# use protractor with our non-angular application |
OlderNewer