Skip to content

Instantly share code, notes, and snippets.

@caolan
Forked from siculars/gist:569874
Created September 8, 2010 09:27
Show Gist options
  • Save caolan/569883 to your computer and use it in GitHub Desktop.
Save caolan/569883 to your computer and use it in GitHub Desktop.
8 Sep 05:08:38 - getfiltertags. submitted tags: one,two,test fail tag , 3
8 Sep 05:08:38 - checking : one
8 Sep 05:08:38 - getfiltertags. vetted tags: , length : 1
@caolan
Copy link
Author

caolan commented Sep 8, 2010

node> var req = {url:'http://hostname/path?tags=["one","two","test fail tag"]'};
node> util.getFilterTags(req)
8 Sep 10:26:53 - getfiltertags. submitted tags: one,two,test fail tag , 3
8 Sep 10:26:53 - checking : one
8 Sep 10:26:53 - checking : two
8 Sep 10:26:53 - checking : test fail tag
8 Sep 10:26:53 - getfiltertags. vetted tags: one,two , length : 2
[ 'one', 'two' ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment