javascripting
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "javascripting", | ||
"description": "Learn JavaScript by adventuring around in the terminal.", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "url": "git://github.com/sethvincent/javascripting.git" |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md')).toString() | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md')).toString() | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ var expected = "{ toppings: [ 'cheese', 'sauce', 'pepperoni' ],\n" |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -5,3 +5,3 @@ --- | ||
You got it! The string `this is an example` has 14 characters. | ||
You got it! The string `example string` has 14 characters. | ||
@@ -8,0 +8,0 @@ Run `javascripting` in the console to choose the next challenge. |
@@ -1,14 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
exports.verify = function (args, cb) { | ||
@@ -15,0 +9,0 @@ run(args[0], function (err, result) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
@@ -1,13 +0,8 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var md = require('cli-md'); | ||
var getFile = require('../../get-file'); | ||
var run = require('../../run-solution'); | ||
exports.problem = md( | ||
fs.readFileSync(path.join(__dirname, 'problem.md'), 'utf8') | ||
); | ||
exports.problem = getFile(path.join(__dirname, 'problem.md')); | ||
exports.solution = md( | ||
fs.readFileSync(path.join(__dirname, 'solution.md'), 'utf8') | ||
); | ||
exports.solution = getFile(path.join(__dirname, 'solution.md')); | ||
@@ -14,0 +9,0 @@ exports.verify = function (args, cb) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108
4
52544
304