Skip to content

Commit

Permalink
[mms] Add commented list of original source URLs in minified output, …
Browse files Browse the repository at this point in the history
…in order to comply with any license terms contained in original files.
  • Loading branch information
slusarz committed Apr 30, 2014
1 parent 06bdef2 commit b0b6c65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Horde_JavascriptMinify_Jsmin extends Horde_JavascriptMinify_Null
public function minify()
{
$jsmin = new Horde_JavascriptMinify_Jsmin_Minifier(parent::minify());
return $jsmin->minify();
return $jsmin->minify() . $this->_sourceUrls();
}

}
6 changes: 3 additions & 3 deletions framework/JavascriptMinify_Jsmin/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</stability>
<license>JSMin</license>
<notes>
*
* [mms] Add commented list of original source URLs in minified output, in order to comply with any license terms contained in original files.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -71,7 +71,7 @@
<package>
<name>Horde_JavascriptMinify</name>
<channel>pear.horde.org</channel>
<min>1.0.0</min>
<min>1.1.0</min>
<max>2.0.0alpha1</max>
<exclude>2.0.0alpha1</exclude>
</package>
Expand Down Expand Up @@ -114,7 +114,7 @@
<date>2014-03-03</date>
<license uri="">JSMin</license>
<notes>
*
* [mms] Add commented list of original source URLs in minified output, in order to comply with any license terms contained in original files.
</notes>
</release>
</changelog>
Expand Down

0 comments on commit b0b6c65

Please sign in to comment.