Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Qpixel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Answers
Qpixel
Commits
010c192f
Commit
010c192f
authored
Aug 25, 2020
by
galegosimpatico
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug.
Cannot add a `let` variable to an object.
parent
b2884f09
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/assets/javascripts/qpixel_api.js
+3
-3
3 additions, 3 deletions
app/assets/javascripts/qpixel_api.js
with
3 additions
and
3 deletions
app/assets/javascripts/qpixel_api.js
+
3
−
3
View file @
010c192f
const
validators
=
[];
/** Counts notifications popped up at any time. */
let
popped_modals_ct
=
0
;
window
.
QPixel
=
{
/**
* Get the current CSRF anti-forgery token. Should be passed as the X-CSRF-Token header when
...
...
@@ -12,9 +15,6 @@ window.QPixel = {
return
token
;
},
/** Counts notifications popped up at any time. */
let
popped_modals_ct
=
0
;
/**
* Create a notification popup - not an inbox notification.
* @param type the type to apply to the popup - warning, danger, etc.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment