Skip to content

Commit 3e8b2b1

Browse files
committed
Updated License
refs #8
1 parent 735a039 commit 3e8b2b1

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

htmlparser.js

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,57 @@
88
* Original code by Erik Arvidsson, Mozilla Public License
99
* http://erik.eae.net/simplehtmlparser/simplehtmlparser.js
1010
*
11+
* ----------------------------------------------------------------------------
12+
* License
13+
* ----------------------------------------------------------------------------
14+
*
15+
* This code is triple licensed using Apache Software License 2.0,
16+
* Mozilla Public License or GNU Public License
17+
*
18+
* ////////////////////////////////////////////////////////////////////////////
19+
*
20+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
21+
* use this file except in compliance with the License. You may obtain a copy
22+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
23+
*
24+
* ////////////////////////////////////////////////////////////////////////////
25+
*
26+
* The contents of this file are subject to the Mozilla Public License
27+
* Version 1.1 (the "License"); you may not use this file except in
28+
* compliance with the License. You may obtain a copy of the License at
29+
* http://www.mozilla.org/MPL/
30+
*
31+
* Software distributed under the License is distributed on an "AS IS"
32+
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
33+
* License for the specific language governing rights and limitations
34+
* under the License.
35+
*
36+
* The Original Code is Simple HTML Parser.
37+
*
38+
* The Initial Developer of the Original Code is Erik Arvidsson.
39+
* Portions created by Erik Arvidssson are Copyright (C) 2004. All Rights
40+
* Reserved.
41+
*
42+
* ////////////////////////////////////////////////////////////////////////////
43+
*
44+
* This program is free software; you can redistribute it and/or
45+
* modify it under the terms of the GNU General Public License
46+
* as published by the Free Software Foundation; either version 2
47+
* of the License, or (at your option) any later version.
48+
*
49+
* This program is distributed in the hope that it will be useful,
50+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
51+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
52+
* GNU General Public License for more details.
53+
*
54+
* You should have received a copy of the GNU General Public License
55+
* along with this program; if not, write to the Free Software
56+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
57+
*
58+
* ----------------------------------------------------------------------------
59+
* Usage
60+
* ----------------------------------------------------------------------------
61+
*
1162
* // Use like so:
1263
* HTMLParser(htmlString, {
1364
* start: function(tag, attrs, unary) {},

0 commit comments

Comments
 (0)