Permalink
Browse files

initial commit; pull in relevant files from derby

  • Loading branch information...
0 parents commit b02a0a91ff5631836581752cd939397282e678d9 @nateps nateps committed Apr 29, 2012
Showing with 499 additions and 0 deletions.
  1. +12 −0 Makefile
  2. +22 −0 README.md
  3. +152 −0 lib/History.js
  4. +177 −0 lib/router.js
  5. +107 −0 lib/router.server.js
  6. +23 −0 package.json
  7. +6 −0 test/mocha.opts
@@ -0,0 +1,12 @@
+ROOT := $(shell pwd)
+MOCHA_TESTS := $(shell find test/ -name '*.mocha.coffee')
+MOCHA := ./node_modules/mocha/bin/mocha
+
+g = "."
+
+test-mocha:
+ @NODE_ENV=test $(MOCHA) \
+ --grep "$(g)" \
+ $(MOCHA_TESTS)
+
+test: test-mocha
@@ -0,0 +1,22 @@
+# Tracks
+
+## MIT License
+Copyright (c) 2012 by Nate Smith and Brian Noguchi
+
+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.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit b02a0a9

Please sign in to comment.