javascripting
Advanced tools
Comparing version 1.8.0 to 1.9.0
{ | ||
"name": "javascripting", | ||
"description": "Learn JavaScript by adventuring around in the terminal.", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "url": "git://github.com/sethvincent/javascripting.git" |
@@ -13,3 +13,3 @@ var path = require('path'); | ||
run(args[0], function (err, result) { | ||
if (/45/.test(result)) cb(true); | ||
if (/^45\n$/.test(result)) cb(true); | ||
else cb(false); | ||
@@ -16,0 +16,0 @@ }); |
@@ -13,3 +13,3 @@ var path = require('path'); | ||
run(args[0], function (err, result) { | ||
if (/4140/.test(result)) cb(true); | ||
if (/^4140\n$/.test(result)) cb(true); | ||
else cb(false); | ||
@@ -16,0 +16,0 @@ }); |
@@ -13,3 +13,3 @@ var path = require('path'); | ||
run(args[0], function (err, result) { | ||
if (/bananas tasted really good./.test(result)) cb(true); | ||
if (/^bananas tasted really good.\n$/.test(result)) cb(true); | ||
else cb(false); | ||
@@ -16,0 +16,0 @@ }); |
@@ -13,3 +13,3 @@ var path = require('path'); | ||
run(args[0], function (err, result) { | ||
if (/The fruit name has more than five characters./.test(result)) cb(true); | ||
if (/^The fruit name has more than five characters.\n$/.test(result)) cb(true); | ||
else cb(false); | ||
@@ -16,0 +16,0 @@ }); |
@@ -13,3 +13,3 @@ var path = require('path'); | ||
run(args[0], function (err, result) { | ||
if (/hello/.test(result)) cb(true); | ||
if (/^hello\n$/.test(result)) cb(true); | ||
else cb(false); | ||
@@ -16,0 +16,0 @@ }); |
@@ -13,3 +13,3 @@ var path = require('path'); | ||
run(args[0], function (err, result) { | ||
if (/128/.test(result)) cb(true); | ||
if (/^128\n$/.test(result)) cb(true); | ||
else cb(false); | ||
@@ -16,0 +16,0 @@ }); |
@@ -13,3 +13,3 @@ var path = require('path'); | ||
run(args[0], function (err, result) { | ||
if (/123456789/.test(result)) cb(true); | ||
if (/^123456789\n$/.test(result)) cb(true); | ||
else cb(false); | ||
@@ -16,0 +16,0 @@ }); |
@@ -5,3 +5,3 @@ --- | ||
You sucessfully create an object! | ||
You successfully created an object! | ||
@@ -8,0 +8,0 @@ In the next challenge we will focus on accessing object properties. |
@@ -13,3 +13,3 @@ var path = require('path'); | ||
run(args[0], function (err, result) { | ||
if (/pizza is wonderful/.test(result)) cb(true); | ||
if (/^pizza is wonderful\n$/.test(result)) cb(true); | ||
else cb(false); | ||
@@ -16,0 +16,0 @@ }); |
@@ -13,3 +13,3 @@ var path = require('path'); | ||
run(args[0], function (err, result) { | ||
if (/this is a string/.test(result)) cb(true); | ||
if (/^this is a string\n$/.test(result)) cb(true); | ||
else cb(false); | ||
@@ -16,0 +16,0 @@ }); |
@@ -13,3 +13,3 @@ var path = require('path'); | ||
run(args[0], function (err, result) { | ||
if (/some string/.test(result)) cb(true); | ||
if (/^some string\n$/.test(result)) cb(true); | ||
else cb(false); | ||
@@ -16,0 +16,0 @@ }); |
# JAVASCRIPTING | ||
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/sethvincent/javascripting?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
@@ -3,0 +4,0 @@ > Learn JavaScript by adventuring around in the terminal. |
886240
70