1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 1 | define(function() { /** * Contains all Unicode white-spaces. Taken from * http://en.wikipedia.org/wiki/Whitespace_character. */ return [ ' ', '\n', '\r', '\t', '\f', '\v', '\u00A0', '\u1680', '\u180E', '\u2000', '\u2001', '\u2002', '\u2003', '\u2004', '\u2005', '\u2006', '\u2007', '\u2008', '\u2009', '\u200A', '\u2028', '\u2029', '\u202F', '\u205F', '\u3000' ]; }); |