60 Commits (1eea2171aecbf78e87b0ee68b89350ba1b00f637)
 

Author SHA1 Message Date
Luke Childs 1eea2171ae Add comment to factory function 9 years ago
Luke Childs 109a0c97e0 Update url regex to not match strings ending with a '.' 9 years ago
Luke Childs dd39d717d8 Add default url filter 9 years ago
Luke Childs 8963a67022 Update parse() test to reflect new empty instance behaviour 9 years ago
Luke Childs 30b1f26cf2 Check we've got something we can parse, return empty string if not 9 years ago
Luke Childs 360eab4372 Add urls to get() method tests 9 years ago
Luke Childs 5fb0ca896b Add url default regex 9 years ago
Luke Childs 7d23cd06a0 Turn off max length lint rule 9 years ago
Luke Childs 9706608aa7 Add twitter filter for mentions 9 years ago
Luke Childs 6e5b189508 Add mention to get() method tests 9 years ago
Luke Childs e9baeb4fae Add mentions default regex 9 years ago
Luke Childs 792ae23e83 Replace placeholder twitter hashtag filter with real one 9 years ago
Luke Childs a3a68b4103 Change max length lint to warning instead of error 9 years ago
Luke Childs 9c067d4ae5 Reword test 9 years ago
Luke Childs d5efcd3d2b Reword test 9 years ago
Luke Childs ba9ccb7922 Made test messages more readable and consistent 9 years ago
Luke Childs 83de3cc410 Run filters on text in parse() method 9 years ago
Luke Childs f5bdf68b32 Allow var reassignment 9 years ago
Luke Childs 60b861993f Rename var filter to filters 9 years ago
Luke Childs d876a20174 Rename filterKey to filterType 9 years ago
Luke Childs 2d6186455f Add filters in parse method 9 years ago
Luke Childs 690551f34e Fix test typo 9 years ago
Luke Childs ae4d5b96ff Add tests for addFilter() method 9 years ago
Luke Childs cd0c01be43 Add addFilter() method to add default or custom filters to instance 9 years ago
Luke Childs 769566a5f5 Add twitter parser 9 years ago
Luke Childs a80788b078 Don't force newline after var 9 years ago
Luke Childs 7f71b17b74 Add required tasks to make sure testing always works 9 years ago
Luke Childs b7c670a2e2 Add test for nonexistant filter 9 years ago
Luke Childs 29e8f4806f Throw error if trying to use get method with nonexistant filter 9 years ago
Luke Childs fade82ed1e Allow mulitple var declarations 9 years ago
Luke Childs d4c8f0050e Change filter var name 9 years ago
Luke Childs 0f135f2cd7 Add tests for get() method 9 years ago
Luke Childs 1618b8e34e Make sure .get() returns an empty array on no matches 9 years ago
Luke Childs d09719faf4 Make sure text is a string before trying to match it 9 years ago
Luke Childs aba5fe67ce Exclude test files from eslint 9 years ago
Luke Childs 2ffdd50fee Add getter function to run filters over text 9 years ago
Luke Childs 673e9b23cd Add default hashtag filters to parser 9 years ago
Luke Childs 23a78141be Allow ternary operator 9 years ago
Luke Childs 6cb9221cf1 Allow dots after newline 9 years ago
Luke Childs 7628018a2c Only force arrow-parens if they're needed 9 years ago
Luke Childs 7c07bf7909 Add allow no keyword spacing after if 9 years ago
Luke Childs 25e33da817 Update eslint to allow unquoted obj props 9 years ago
Luke Childs 168fe3047b Lint and test code on pre-commit 9 years ago
Luke Childs c879dc8ec9 Add linting to travis 9 years ago
Luke Childs fda2146902 Add node version otherwise travis defaults to old version 9 years ago
Luke Childs 48d91c0b11 Remove extra node versions from travis 9 years ago
Luke Childs e649952158 Add code linting 9 years ago
Luke Childs 7f605c11a3 Capitalise test 9 years ago
Luke Childs 8ecae5b2fd Add tests for text method 9 years ago
Luke Childs 6d434d5266 Change setText method name to text 9 years ago