Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
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
Boris Kocherov
web-apps
Commits
16d34bc8
Commit
16d34bc8
authored
Dec 20, 2016
by
Maxim Kadushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE mobile] removed ES6 features
parent
e1991660
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
apps/spreadsheeteditor/mobile/app/controller/Editor.js
apps/spreadsheeteditor/mobile/app/controller/Editor.js
+2
-2
apps/spreadsheeteditor/mobile/app/view/Statusbar.js
apps/spreadsheeteditor/mobile/app/view/Statusbar.js
+1
-1
No files found.
apps/spreadsheeteditor/mobile/app/controller/Editor.js
View file @
16d34bc8
...
@@ -101,11 +101,11 @@ define([
...
@@ -101,11 +101,11 @@ define([
this
.
editorView
=
this
.
createView
(
'
Editor
'
).
render
();
this
.
editorView
=
this
.
createView
(
'
Editor
'
).
render
();
$$
(
window
).
on
(
'
resize
'
,
_
.
bind
(
this
.
onWindowResize
,
this
));
$$
(
window
).
on
(
'
resize
'
,
_
.
bind
(
this
.
onWindowResize
,
this
));
Common
.
NotificationCenter
.
on
(
'
layout:changed
'
,
(
source
,
args
)
=>
{
Common
.
NotificationCenter
.
on
(
'
layout:changed
'
,
function
(
source
,
args
)
{
if
(
source
==
'
navbar
'
)
{
if
(
source
==
'
navbar
'
)
{
this
.
editorView
.
$el
.
find
(
'
.page.editor
'
)[
args
.
hidden
?
'
addClass
'
:
'
removeClass
'
](
'
no-padding
'
);
this
.
editorView
.
$el
.
find
(
'
.page.editor
'
)[
args
.
hidden
?
'
addClass
'
:
'
removeClass
'
](
'
no-padding
'
);
}
}
});
}
.
bind
(
this
)
);
},
},
onWindowResize
:
function
(
e
)
{
onWindowResize
:
function
(
e
)
{
...
...
apps/spreadsheeteditor/mobile/app/view/Statusbar.js
View file @
16d34bc8
...
@@ -106,7 +106,7 @@ define([
...
@@ -106,7 +106,7 @@ define([
},
},
addSheet
:
function
(
model
)
{
addSheet
:
function
(
model
)
{
let
index
=
this
.
$boxTabs
.
children
().
length
;
var
index
=
this
.
$boxTabs
.
children
().
length
;
var
$item
=
$
(
this
.
tabtemplate
({
var
$item
=
$
(
this
.
tabtemplate
({
'
label
'
:
model
.
get
(
'
name
'
)
'
label
'
:
model
.
get
(
'
name
'
)
})).
appendTo
(
this
.
$boxTabs
)
})).
appendTo
(
this
.
$boxTabs
)
...
...
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