[gedit] Make the "fun" js snippet jslint compliant
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Make the "fun" js snippet jslint compliant
- Date: Fri, 6 Jul 2012 20:16:08 +0000 (UTC)
commit 9cccc2068dd5637cf9af080a748e589c2703ae9b
Author: Paolo Borelli <paolo borelli nice-software com>
Date: Fri Jul 6 22:12:36 2012 +0200
Make the "fun" js snippet jslint compliant
plugins/snippets/data/javascript.xml | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/plugins/snippets/data/javascript.xml b/plugins/snippets/data/javascript.xml
index 9fb96fb..b55c5b3 100644
--- a/plugins/snippets/data/javascript.xml
+++ b/plugins/snippets/data/javascript.xml
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<snippets language="js">
<snippet id="fun">
- <text><![CDATA[function ${1:function_name} (${2:first_argument})
-{
- ${0:# body...}
+ <text><![CDATA[function ${1:function_name}(${2:first_argument}) {
+ $0
}]]></text>
<description>function</description>
<tag>fun</tag>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]