Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pixers
card
Commits
461eaf51
Commit
461eaf51
authored
10 years ago
by
Jesse Pollak
Browse files
Options
Download
Plain Diff
Merge pull request #151 from jessepollak/fix-jquery-plugin
Pass correct arguments into jquery plugin
parents
9b441bc3
d9890254
master
embargiel-issue_129
webpack
2.3.2
2.3.1
v2.3.0
v2.2.1
v2.2.0
v2.1.1
v2.1.0
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v2.0.0-beta4
v2.0.0-beta3
v2.0.0-beta2
v2.0.0-beta1
v1.3.2
v1.3.1
v1.3.0
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v1.0.0-rc1
v1.0.0-beta2
v0.0.12
list
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/js/jquery.card.js
+1
-1
lib/js/jquery.card.js
src/coffee/jquery.card.coffee
+1
-1
src/coffee/jquery.card.coffee
with
2 additions
and
2 deletions
+2
-2
lib/js/jquery.card.js
View file @
461eaf51
...
...
@@ -1463,7 +1463,7 @@ $.fn.extend({
};
})(
this
));
option
[
'
form
'
]
=
this
;
$this
.
data
(
'
card
'
,
(
data
=
new
Card
(
this
,
option
)));
$this
.
data
(
'
card
'
,
(
data
=
new
Card
(
option
)));
}
if
(
typeof
option
===
'
string
'
)
{
return
data
[
option
].
apply
(
data
,
args
);
...
...
This diff is collapsed.
Click to expand it.
src/coffee/jquery.card.coffee
View file @
461eaf51
...
...
@@ -16,6 +16,6 @@ $.fn.extend card: (option, args...) ->
if
value
instanceof
jQuery
option
[
key
]
=
value
[
0
]
option
[
'form'
]
=
this
$this
.
data
'card'
,
(
data
=
new
Card
(
this
,
option
))
$this
.
data
'card'
,
(
data
=
new
Card
(
option
))
if
typeof
option
==
'string'
data
[
option
].
apply
(
data
,
args
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help