[DRE-commits] [gitlab] 01/01: fix coffee script via patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Mar 18 08:51:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit fda2204ff8ffd10fddbbdc9a1682c827a25eb830
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Mar 18 14:17:40 2016 +0530

    fix coffee script via patch
---
 debian/patches/0109-fix-coffee-script.patch | 37 +++++++++++++++++++++++++++++
 debian/patches/series                       |  1 +
 2 files changed, 38 insertions(+)

diff --git a/debian/patches/0109-fix-coffee-script.patch b/debian/patches/0109-fix-coffee-script.patch
new file mode 100644
index 0000000..d9aaedd
--- /dev/null
+++ b/debian/patches/0109-fix-coffee-script.patch
@@ -0,0 +1,37 @@
+From b2c641de219d3aba8f1fce758b2f05ca8233e2d6 Mon Sep 17 00:00:00 2001
+From: Marin Jankovski <maxlazio at gmail.com>
+Date: Fri, 26 Feb 2016 13:22:35 +0100
+Subject: [PATCH] Fix syntax error in autosave coffeescript.
+
+---
+ app/assets/javascripts/autosave.js.coffee | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/app/assets/javascripts/autosave.js.coffee b/app/assets/javascripts/autosave.js.coffee
+index 5d3fe81..28f8e10 100644
+--- a/app/assets/javascripts/autosave.js.coffee
++++ b/app/assets/javascripts/autosave.js.coffee
+@@ -16,11 +16,11 @@ class @Autosave
+ 
+     try
+       text = window.localStorage.getItem @key
+-    catch
++    catch e
+       return
+ 
+     @field.val text if text?.length > 0
+-    @field.trigger "input"    
++    @field.trigger "input"
+ 
+   save: ->
+     return unless window.localStorage?
+@@ -35,5 +35,5 @@ class @Autosave
+   reset: ->
+     return unless window.localStorage?
+ 
+-    try 
++    try
+       window.localStorage.removeItem @key
+--
+libgit2 0.24.0
+
diff --git a/debian/patches/series b/debian/patches/series
index 0b2c3e6..cf8b543 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -16,5 +16,6 @@
 0100-remove-development-test.patch
 0102-loosen-octokit.patch
 0108-make-mysql-optional.patch
+0109-fix-coffee-script.patch
 source-init-functions.patch
 pid-log-paths.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list