Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
open-source
gridstack.js
Commits
3199fad5
Commit
3199fad5
authored
Nov 11, 2014
by
Pavel Reznikov
Browse files
use gridstack instead _gridstack as data name for root element
parent
f478db80
Changes
1
Hide whitespace changes
Inline
Side-by-side
gridstack.js
View file @
3199fad5
...
...
@@ -292,8 +292,8 @@
$
.
fn
.
gridstack
=
function
(
opts
)
{
return
this
.
each
(
function
()
{
if
(
!
$
(
this
).
data
(
'
_
gridstack
'
))
{
$
(
this
).
data
(
'
_
gridstack
'
,
new
GridStack
(
this
,
opts
));
if
(
!
$
(
this
).
data
(
'
gridstack
'
))
{
$
(
this
).
data
(
'
gridstack
'
,
new
GridStack
(
this
,
opts
));
}
});
};
...
...
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