Permalink
Browse files

WIP: Transition lib and test to Streamline 0.3.

And `npm test` stays working. TODO next: build/publish updating.

XXX Unfortunately, running `_coffee` on a directory looks for `index._coffee`,
and `index.coffee` won't work, so needed to rename the test index file.

Follow this issue to stay updated:

Sage/streamlinejs#77 (comment)
  • Loading branch information...
1 parent 97df823 commit cb61ce96cc0079ceb3f4ece135761b439f10bc7a @aseemk aseemk committed Apr 30, 2012
@@ -1,5 +1,3 @@
-return if not require('streamline/module')(module)
-
# TODO many of these functions take a callback but, in some cases, call the
# callback immediately (e.g. if a value is cached). we should probably make
# sure to always call callbacks asynchronously, to prevent race conditions.
@@ -1,5 +1,3 @@
-return if not require('streamline/module')(module)
-
status = require 'http-status'
util = require './util'
@@ -1,5 +1,3 @@
-return if not require('streamline/module')(module)
-
module.exports = class Path
constructor: (start, end, length, nodes, relationships) ->
@_start = start
@@ -1,5 +1,3 @@
-return if not require('streamline/module')(module)
-
status = require 'http-status'
util = require './util'
@@ -1,5 +1,3 @@
-return if not require('streamline/module')(module)
-
status = require 'http-status'
util = require './util'
@@ -1,5 +1,3 @@
-return if not require('streamline/module')(module)
-
constants = require 'constants'
request = require 'request'
URL = require 'url'
View
@@ -39,8 +39,8 @@
"clean": "cake clean",
"prepublish": "cake build",
"postpublish": "cake clean",
- "profile": "coffee-streamline test/profile",
- "test": "coffee-streamline test"
+ "profile": "_coffee test/profile",
+ "test": "_coffee test"
},
"engines": {
"node": ">= 0.6"
@@ -1,5 +1,3 @@
-return if not require('streamline/module')(module)
-
# this file is in streamline syntax!
# https://github.com/Sage/streamlinejs
@@ -1,5 +1,3 @@
-return if not require('streamline/module')(module)
-
# we'll be creating a somewhat complex graph and testing that cypher queries
# on it return expected results.
File renamed without changes.
@@ -1,5 +1,3 @@
-return if not require('streamline/module')(module)
-
# this file is in streamline syntax!
# https://github.com/Sage/streamlinejs

0 comments on commit cb61ce9

Please sign in to comment.