BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
a965b033
Commit
a965b033
authored
Mar 14, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed call to setup from breakpoint size method
parent
1a5992b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
breakpoints.coffee
app/assets/javascripts/breakpoints.coffee
+5
-5
No files found.
app/assets/javascripts/breakpoints.coffee
View file @
a965b033
...
@@ -14,12 +14,11 @@ class @Breakpoints
...
@@ -14,12 +14,11 @@ class @Breakpoints
return
if
$
(
allDeviceSelector
.
join
(
","
)).
length
return
if
$
(
allDeviceSelector
.
join
(
","
)).
length
# Create all the elements
# Create all the elements
$
.
each
BREAKPOINTS
,
(
i
,
breakpoint
)
->
els
=
$
.
map
BREAKPOINTS
,
(
breakpoint
)
->
$
(
"body"
).
append
"<div class='device-
#{
breakpoint
}
visible-
#{
breakpoint
}
'></div>"
"<div class='device-
#{
breakpoint
}
visible-
#{
breakpoint
}
'></div>"
$
(
"body"
).
append
els
.
join
(
''
)
getBreakpointSize
:
->
getBreakpointSize
:
->
@
setup
()
allDeviceSelector
=
BREAKPOINTS
.
map
(
breakpoint
)
->
allDeviceSelector
=
BREAKPOINTS
.
map
(
breakpoint
)
->
".device-
#{
breakpoint
}
"
".device-
#{
breakpoint
}
"
...
@@ -30,4 +29,5 @@ class @Breakpoints
...
@@ -30,4 +29,5 @@ class @Breakpoints
@
get
:
->
@
get
:
->
return
instance
?=
new
BreakpointInstance
return
instance
?=
new
BreakpointInstance
@
bp
=
Breakpoints
.
get
()
$
=>
@
bp
=
Breakpoints
.
get
()
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