diff --git a/History.rdoc b/History.rdoc new file mode 100644 index 0000000000..f82d0ab3d3 --- /dev/null +++ b/History.rdoc @@ -0,0 +1,4 @@ + +=== 0.0.1 / YYYY-MM-DD + +* Initial release diff --git a/README.rdoc b/README.rdoc new file mode 100644 index 0000000000..fcbd5d6972 --- /dev/null +++ b/README.rdoc @@ -0,0 +1,29 @@ + += Express + +Insanely fast (and small) server-side JavaScript web development framework. + +== License + +(The MIT License) + +Copyright (c) 2009 TJ Holowaychuk + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/lib/express.core.js b/lib/express.core.js new file mode 100644 index 0000000000..136003a763 --- /dev/null +++ b/lib/express.core.js @@ -0,0 +1,13 @@ + +(function(){ + Express = { version : '0.0.1' } +})() + +// new node.http.Server(function (req, res) { +// res.sendHeader(200, [["Content-Type", "text/plain"]]) +// res.sendBody("Hello World") +// res.finish() +// }).listen(8000) +// +// puts("Server running at http://localhost:8000/") +// diff --git a/spec/spec.core.js b/spec/spec.core.js new file mode 100644 index 0000000000..184a06b0b3 --- /dev/null +++ b/spec/spec.core.js @@ -0,0 +1,4 @@ + +describe 'Express' + +end \ No newline at end of file diff --git a/spec/spec.dom.html b/spec/spec.dom.html new file mode 100644 index 0000000000..3394fb60a4 --- /dev/null +++ b/spec/spec.dom.html @@ -0,0 +1,20 @@ + + + + + + + + +

JSpec

+
+
+ + \ No newline at end of file diff --git a/spec/spec.rhino.js b/spec/spec.rhino.js new file mode 100644 index 0000000000..447bf06c96 --- /dev/null +++ b/spec/spec.rhino.js @@ -0,0 +1,7 @@ + +load('/Library/Ruby/Gems/1.8/gems/visionmedia-jspec-2.3.1/lib/jspec.js') + +JSpec +.exec('spec/spec.core.js') +.run({ formatter : JSpec.formatters.Terminal }) +.report() \ No newline at end of file diff --git a/spec/spec.server.html b/spec/spec.server.html new file mode 100644 index 0000000000..27712f0993 --- /dev/null +++ b/spec/spec.server.html @@ -0,0 +1,15 @@ + + + + + + + + \ No newline at end of file