diff --git a/lectureExamples/demoNodeApp/hello.js b/lectureExamples/demoNodeApp/hello.js deleted file mode 100644 index 309af59b683df095e4dff221fb4fdc70e2872d20..0000000000000000000000000000000000000000 --- a/lectureExamples/demoNodeApp/hello.js +++ /dev/null @@ -1 +0,0 @@ -console.log('hi') \ No newline at end of file diff --git a/lectureExamples/demoNodeApp/package.json b/lectureExamples/demoNodeApp/package.json deleted file mode 100644 index 7a86a3acdae11d7963134258b0dae63a6c1278b2..0000000000000000000000000000000000000000 --- a/lectureExamples/demoNodeApp/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "demonodeapp", - "version": "1.0.0", - "description": "", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC" -} diff --git a/lectureExamples/driver.js b/lectureExamples/driver.js deleted file mode 100644 index e13dc9039a5daa8405909eeee55b8bb30fd4286e..0000000000000000000000000000000000000000 --- a/lectureExamples/driver.js +++ /dev/null @@ -1,4 +0,0 @@ -let sharedAdd = require('./functions').myAdd - - -console.log(sharedAdd(1,4)) \ No newline at end of file diff --git a/lectureExamples/functions.js b/lectureExamples/functions.js deleted file mode 100644 index 9ddc9abcf941fd7a90c42d89952a70474cfabbc6..0000000000000000000000000000000000000000 --- a/lectureExamples/functions.js +++ /dev/null @@ -1,10 +0,0 @@ -function myAdd(num1, num2) { - return num1 + num2 -} - -function mySubtract(num1, num2) { - return num1 - num2 -} - -module.exports.myAdd = myAdd -module.exports.mySubtract = mySubtract \ No newline at end of file diff --git a/lectureExamples/jsIntro.html b/lectureExamples/jsIntro.html deleted file mode 100644 index 99397f09ce7c35c41d74b999a2d60607ffbbde18..0000000000000000000000000000000000000000 --- a/lectureExamples/jsIntro.html +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html> -<html> -<body> - - - -<script> - console.log('Hello cmsc335!') - var firstName = "Testudo" - { - let firstName = "Lenny" - console.log(firstName) - } - let middleName = "Kermit" - const lastName = "Bias" - console.log(`Hi, my name is: ${firstName} ${lastName}`) - - function add(num1, num2) { - return num1 + num2 - } - - console.log(add(5,3)) - -</script> - -</body> -</html>