Skip to content

Commit

Permalink
Bufix license comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
fkei committed Jun 5, 2018
1 parent 90d9e18 commit b0f778f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
10 changes: 1 addition & 9 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,8 @@ VERSION=`node -e 'console.log(require("./sua").VERSION)'`

echo
echo "info: uglify start."
echo "/**" > ${__min}
echo " * @name sua.min.js" >> ${__min}
echo " * @version ${VERSION}" >> ${__min}
echo " * @overview Simple user agent detection library." >> ${__min}
echo " */" >> ${__min}


${__uglify} ${__src} -m -c unused=false >> ${__min}
${__uglify} ${__src} --comments -m -c unused=false >> ${__min}
[ $? -ne 0 ] && echo "error: uglify running error." && exit 1

echo "info: output -> ${__min}"

exit 0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sua.js",
"version": "2.3.0",
"version": "2.4.0",
"description": "Simple user agent detection library.",
"license": "MIT",
"keywords": [
Expand Down
5 changes: 2 additions & 3 deletions sua.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/* Zepto v1.0-1-ga3cab6c - polyfill zepto detect event ajax form fx - zeptojs.com/license */
/**
* @name sua.js
* @author Kei Funagayama <[email protected]>
* @overview UserAgent decision for browser. fork zepto.js(http://zeptojs.com/)
* @overview UserAgent decision for browser. fork Zepto v1.0-1-ga3cab6c - polyfill zepto detect event ajax form fx - zeptojs.com/license
* @license MIT
*/

Expand Down Expand Up @@ -580,7 +579,7 @@
}
}

SUA.VERSION = '2.3.0';
SUA.VERSION = '2.4.0';

if (typeof module !== 'undefined' && module.exports) {
// node
Expand Down
14 changes: 11 additions & 3 deletions sua.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b0f778f

Please sign in to comment.