[Pkg-javascript-commits] [node-iscroll] 04/09: Refresh patches
Balint Reczey
rbalint at moszumanska.debian.org
Mon Aug 1 09:15:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
rbalint pushed a commit to branch master
in repository node-iscroll.
commit ece04aed6a75da9abf8faf8374b109aa848f797b
Author: Balint Reczey <balint at balintreczey.hu>
Date: Mon Aug 1 10:51:45 2016 +0200
Refresh patches
---
debian/patches/01_dont_use_jshint.patch | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git a/debian/patches/01_dont_use_jshint.patch b/debian/patches/01_dont_use_jshint.patch
index ec1a16c..7c90be3 100644
--- a/debian/patches/01_dont_use_jshint.patch
+++ b/debian/patches/01_dont_use_jshint.patch
@@ -11,7 +11,7 @@ index 10e539b..ac9f710 100755
var uglify = require('uglify-js');
var banner = '/*! iScroll v' + pkg.version + ' ~ (c) 2008-' + (new Date().getFullYear()) + ' Matteo Spinelli ~ http://cubiq.org/license */\n';
-@@ -137,8 +137,8 @@ function build (release) {
+@@ -137,8 +137,8 @@
var buildFile = './build/iscroll' + (release != 'iscroll' ? '-' + release : '') + '.js';
fs.writeFileSync(buildFile, out);
@@ -22,7 +22,7 @@ index 10e539b..ac9f710 100755
var lines = out.split('\n');
hint.errors.forEach(function (err) {
console.log('\033[31m[' + err.code + ']\033[0m ' + err.line + ':' + err.character + '\t- ' + err.reason);
-@@ -150,7 +150,7 @@ function build (release) {
+@@ -150,7 +150,7 @@
// Write dist file
var distFile = buildFile.replace('/build/', '/dist/').replace('.js', '-min.js');
@@ -31,29 +31,20 @@ index 10e539b..ac9f710 100755
// Make sure dist folder exists
if ( !fs.existsSync('dist') ) {
-@@ -158,5 +158,5 @@ function build (release) {
+@@ -158,5 +158,5 @@
}
// Write files to target
- fs.writeFileSync(distFile, banner + out.code);
+ fs.writeFileSync(distFile, banner + out);
}
-diff --git a/package.json b/package.json
-index f74fa11..275b325 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,6 @@
],
"main": "build/iscroll.js",
"devDependencies": {
-- "jshint": "~2.5.1",
- "uglify-js": "~2.4.13"
+- "jshint": "~2.9.1",
+ "uglify-js": "~2.6.2"
},
"repository": {
-@@ -26,4 +25,4 @@
- "url": "https://github.com/cubiq/iscroll/issues"
- },
- "license": "MIT"
--}
-\ No newline at end of file
-+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-iscroll.git
More information about the Pkg-javascript-commits
mailing list