streamline the state caching for IE mousedown a bit; also remember the text area...
[pagedown] / LICENSE.txt
1 A javascript port of Markdown, as used on Stack Overflow\r
2 and the rest of Stack Exchange network.\r
3 \r
4 Largely based on showdown.js by John Fraser (Attacklab).\r
5 \r
6 Original Markdown Copyright (c) 2004-2005 John Gruber\r
7   <http://daringfireball.net/projects/markdown/>\r
8 \r
9 \r
10 Original Showdown code copyright (c) 2007 John Fraser\r
11 \r
12 Modifications and bugfixes (c) 2009 Dana Robinson\r
13 Modifications and bugfixes (c) 2009-2011 Stack Exchange Inc.\r
14 \r
15 Permission is hereby granted, free of charge, to any person obtaining a copy\r
16 of this software and associated documentation files (the "Software"), to deal\r
17 in the Software without restriction, including without limitation the rights\r
18 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
19 copies of the Software, and to permit persons to whom the Software is\r
20 furnished to do so, subject to the following conditions:\r
21 \r
22 The above copyright notice and this permission notice shall be included in\r
23 all copies or substantial portions of the Software.\r
24 \r
25 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
26 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
27 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
28 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
29 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
30 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
31 THE SOFTWARE.\r
32 \r