Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
593aa76e
Commit
593aa76e
authored
Jan 21, 2016
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_svg_editor: fix lint errors
parent
533a81c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/method-draw/embedapi.html.xml
...ortal_skins/erp5_svg_editor/method-draw/embedapi.html.xml
+4
-2
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/method-draw/extensions/ext-arrows.js.xml
.../erp5_svg_editor/method-draw/extensions/ext-arrows.js.xml
+8
-7
No files found.
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/method-draw/embedapi.html.xml
View file @
593aa76e
...
...
@@ -12,7 +12,7 @@
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts5
2791583.29
</string>
</value>
<value>
<string>
ts5
3368071.05
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
...
...
@@ -35,6 +35,7 @@
\n
<script
type=
"text/javascript"
src=
"embedapi.js"
></script>
\n
<script
type=
"text/javascript"
>
\n
//
<!--\n
var svgCanvas = null;\n
\n
function init_embed() {\n
...
...
@@ -72,6 +73,7 @@
function saveSvg() { \n
svgCanvas.getSvgString()(handleSvgData);\n
}\n
// -->
\n
</script>
\n
\n
\n
...
...
@@ -91,7 +93,7 @@
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
19
40
</int>
</value>
<value>
<int>
19
65
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/method-draw/extensions/ext-arrows.js.xml
View file @
593aa76e
...
...
@@ -12,7 +12,7 @@
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts5
2850649.25
</string>
</value>
<value>
<string>
ts5
3367911.6
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
...
...
@@ -55,17 +55,17 @@ methodDraw.addExtension("Arrows", function(S) {\n
]\n
};\n
\n
var prefix = \'se_arrow_\';\n
var prefix = \'se_arrow_\'
, arrowprefix
;\n
if (randomize_ids) {\n
var
arrowprefix = prefix + nonce + \'_\';\n
arrowprefix = prefix + nonce + \'_\';\n
} else {\n
var
arrowprefix = prefix;\n
arrowprefix = prefix;\n
}\n
\n
var pathdata = {\n
fw: {d:"m0,0l10,5l-10,5l5,-5l-5,-5z", refx:8, id: arrowprefix + \'fw\'},\n
bk: {d:"m10,0l-10,5l10,5l-5,-5l5,-5z", refx:2, id: arrowprefix + \'bk\'}\n
}\n
}
;
\n
\n
function setArrowNonce(window, n) {\n
randomize_ids = true;\n
...
...
@@ -294,7 +294,8 @@ methodDraw.addExtension("Arrows", function(S) {\n
var i = selElems.length;\n
var marker_elems = [\'line\',\'path\',\'polyline\',\'polygon\'];\n
\n
while(i--) {\n
while(i) {\n
i -= 1;\n
var elem = selElems[i];\n
if(elem && $.inArray(elem.tagName, marker_elems) != -1) {\n
if(opts.selectedElement && !opts.multiselected) {\n
...
...
@@ -334,7 +335,7 @@ methodDraw.addExtension("Arrows", function(S) {\n
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
80
60
</int>
</value>
<value>
<int>
80
82
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment