Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Luc Didry
wemawema
Commits
f67db1ef
Commit
f67db1ef
authored
Oct 11, 2017
by
Luc Didry
Browse files
Fix stupid duplicated line
parent
25152ccf
Pipeline
#25244
passed with stage
in 35 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
js/wema_wema.js
View file @
f67db1ef
...
...
@@ -329,7 +329,6 @@ function reset() {
$
(
'
#
'
+
'
porn-x
'
).
val
(
'
400
'
);
$
(
'
#
'
+
'
porn-y
'
).
val
(
'
350
'
);
$
(
'
#
'
+
'
porn-size
'
).
val
(
'
220
'
);
$
(
'
#
'
+
'
porn-size
'
).
val
(
'
220
'
);
$
(
'
#
'
+
'
porn-color
'
).
val
(
'
#000000
'
);
$
(
'
#
'
+
'
color
'
).
val
(
'
#fcd205
'
);
$
(
'
#
'
+
'
rect-color
'
).
val
(
'
#000000
'
);
...
...
js/wema_wema.min.js
View file @
f67db1ef
...
...
@@ -10,7 +10,7 @@ case"img":hide("bg-color"),hide("gradient-settings"),show("bg-img-settings"),"cu
break
default
:
hide
(
"
bg-color
"
),
hide
(
"
gradient-settings
"
),
hide
(
"
bg-img-settings
"
),
hide
(
"
bg-custom-img-settings
"
)}}
function
show
(
e
){
var
a
=
$
(
"
#
"
+
e
)
a
.
hasClass
(
"
d-none
"
)
&&
a
.
removeClass
(
"
d-none
"
)}
function
hide
(
e
){
var
a
=
$
(
"
#
"
+
e
)
a
.
hasClass
(
"
d-none
"
)
||
a
.
addClass
(
"
d-none
"
)}
function
reset
(){
$
(
"
#wemake-x
"
).
val
(
"
400
"
),
$
(
"
#wemake-y
"
).
val
(
"
160
"
),
$
(
"
#wemake-size
"
).
val
(
"
150
"
),
$
(
"
#wemake-color
"
).
val
(
"
#000000
"
),
$
(
"
#porn-x
"
).
val
(
"
400
"
),
$
(
"
#porn-y
"
).
val
(
"
350
"
),
$
(
"
#porn-size
"
).
val
(
"
220
"
),
$
(
"
#porn-
size
"
).
val
(
"
220
"
),
$
(
"
#porn-
color
"
).
val
(
"
#000000
"
),
$
(
"
#color
"
).
val
(
"
#fcd205
"
),
$
(
"
#rect-color
"
).
val
(
"
#000000
"
),
$
(
"
#add-glitter
"
).
prop
(
"
checked
"
,
!
1
),
$
(
"
#bg-type
"
).
val
(
"
plain
"
),
$
(
"
#gr-orientation
"
).
val
(
"
lr
"
),
$
(
"
#bg-img
"
).
val
(
"
beer
"
),
$
(
"
#corners
"
).
val
(
"
20
"
),
$
(
"
#custom-img
"
).
val
(
null
),
$
(
"
#custom-x
"
).
val
(
0
),
$
(
"
#custom-y
"
).
val
(
0
),
$
(
"
#custom-size
"
).
val
(
0
),
show
(
"
bg-color
"
),
hide
(
"
gradient-settings
"
),
hide
(
"
bg-img-settings
"
),
hide
(
"
bg-custom-img-settings
"
),
refreshText
()}
function
refreshFilename
(){
var
e
=
$
(
"
#wemake
"
),
a
=
$
(
"
#porn
"
),
t
=
$
(
"
#filename
"
),
s
=
$
(
"
#svg
"
),
r
=
"
png
"
a
.
hasClass
(
"
d-none
"
)
||
a
.
addClass
(
"
d-none
"
)}
function
reset
(){
$
(
"
#wemake-x
"
).
val
(
"
400
"
),
$
(
"
#wemake-y
"
).
val
(
"
160
"
),
$
(
"
#wemake-size
"
).
val
(
"
150
"
),
$
(
"
#wemake-color
"
).
val
(
"
#000000
"
),
$
(
"
#porn-x
"
).
val
(
"
400
"
),
$
(
"
#porn-y
"
).
val
(
"
350
"
),
$
(
"
#porn-size
"
).
val
(
"
220
"
),
$
(
"
#porn-color
"
).
val
(
"
#000000
"
),
$
(
"
#color
"
).
val
(
"
#fcd205
"
),
$
(
"
#rect-color
"
).
val
(
"
#000000
"
),
$
(
"
#add-glitter
"
).
prop
(
"
checked
"
,
!
1
),
$
(
"
#bg-type
"
).
val
(
"
plain
"
),
$
(
"
#gr-orientation
"
).
val
(
"
lr
"
),
$
(
"
#bg-img
"
).
val
(
"
beer
"
),
$
(
"
#corners
"
).
val
(
"
20
"
),
$
(
"
#custom-img
"
).
val
(
null
),
$
(
"
#custom-x
"
).
val
(
0
),
$
(
"
#custom-y
"
).
val
(
0
),
$
(
"
#custom-size
"
).
val
(
0
),
show
(
"
bg-color
"
),
hide
(
"
gradient-settings
"
),
hide
(
"
bg-img-settings
"
),
hide
(
"
bg-custom-img-settings
"
),
refreshText
()}
function
refreshFilename
(){
var
e
=
$
(
"
#wemake
"
),
a
=
$
(
"
#porn
"
),
t
=
$
(
"
#filename
"
),
s
=
$
(
"
#svg
"
),
r
=
"
png
"
s
.
hasClass
(
"
d-none
"
)
||
(
r
=
"
svg
"
)
var
o
=
e
.
val
()
+
"
"
+
a
.
val
()
+
"
.
"
+
r
t
.
val
(
o
.
replace
(
/ /g
,
"
_
"
))}
function
refreshText
(){
var
e
=
$
(
"
#wemake
"
),
a
=
$
(
"
#wemake-x
"
),
t
=
$
(
"
#wemake-y
"
),
s
=
$
(
"
#wemake-size
"
),
r
=
$
(
"
#wemake-color
"
),
o
=
$
(
"
#porn
"
),
l
=
$
(
"
#porn-x
"
),
n
=
$
(
"
#porn-y
"
),
i
=
$
(
"
#porn-size
"
),
c
=
$
(
"
#porn-color
"
),
g
=
$
(
"
#color
"
),
m
=
$
(
"
#add-glitter
"
),
h
=
$
(
"
#bg-type
"
),
d
=
$
(
"
#rect-color
"
),
v
=
$
(
"
#bgr-color
"
),
u
=
$
(
"
#egr-color
"
),
p
=
$
(
"
#gr-orientation
"
),
w
=
$
(
"
#bg-img
"
),
f
=
$
(
"
#corners
"
),
b
=
document
.
getElementById
(
"
canvas
"
),
P
=
b
.
getContext
(
"
2d
"
),
x
=
$
(
"
#svg
"
)
...
...
Write
Preview
Supports
Markdown
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