slight changes to announcements and remove errant debug statement.

This commit is contained in:
Michael Q Larson
2015-02-16 17:56:01 -08:00
parent d279ac6d1b
commit 03f8ddf6c0
2 changed files with 1 additions and 2 deletions

View File

@ -112,7 +112,6 @@ module.exports = {
client.get('https://api.github.com/repos/freecodecamp/freecodecamp/issues?client_id=' + secrets.github.clientID + '&client_secret=' + secrets.github.clientSecret, githubHeaders, function(issues, res4) {
issues = ((pulls === parseInt(pulls)) && issues) ? Object.keys(JSON.parse(issues)).length - pulls : "Can't connect to GitHub";
var announcements = resources.announcements;
debug('here', announcements);
User.count({'points': {'$gt': 2}}, function (err, c3) {
if (err) {
debug('User err: ', err);

View File

@ -2,7 +2,7 @@
"announcements": [
["Screen Hero is now free on Windows and Mac! Follow these special instructions to install it.", "http://freecodecamp.com/challenges/34"],
["Bonfire is now live with 30+ challenges! If you haven't started CoderByte, do these instead.", "http://freecodecamp.com/bonfires"],
["Once you finish all the challenges, come to our Nonprofit Project Office Hours every Monday and Thursday Night at 9 pm EST", "https://gitter.im/FreeCodeCamp/NonprofitProjects"]
["Once you finish all the challenges, we welcome you to attend our Nonprofit Project Office Hours every Monday and Thursday Night at 9 pm EST.", "https://gitter.im/FreeCodeCamp/NonprofitProjects"]
],
"questions": [{
"question": "Time Complexity of Accessing Array Index (int a = ARR[5];)",