Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drawing-app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sweng-group-15
drawing-app
Commits
00d50095
Commit
00d50095
authored
5 years ago
by
Yuriy Maksymets
Browse files
Options
Downloads
Patches
Plain Diff
Fixing safari yet again
parent
5346da3a
No related branches found
Branches containing commit
No related tags found
1 merge request
!32
Fixing safari yet again
Checking pipeline status
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app.js
+0
-3
0 additions, 3 deletions
src/app.js
webpack.common.js
+6
-0
6 additions, 0 deletions
webpack.common.js
with
6 additions
and
3 deletions
src/app.js
+
0
−
3
View file @
00d50095
...
...
@@ -2,9 +2,6 @@
// Translate local canvas input events to draw messages and send to the room.
// Get back room updates and invoke the local canvas renderer.
import
EventTarget
from
"
@ungap/event-target
"
global
.
EventTarget
=
EventTarget
import
*
as
canvas
from
"
./canvas.js
"
import
*
as
HTML
from
"
./elements.js
"
import
{
connect
}
from
"
./room.js
"
...
...
This diff is collapsed.
Click to expand it.
webpack.common.js
+
6
−
0
View file @
00d50095
const
path
=
require
(
"
path
"
)
const
webpack
=
require
(
"
webpack
"
)
module
.
exports
=
{
mode
:
"
development
"
,
...
...
@@ -7,4 +8,9 @@ module.exports = {
filename
:
"
app.js
"
,
path
:
path
.
resolve
(
__dirname
,
"
public/js
"
),
},
plugins
:
[
new
webpack
.
ProvidePlugin
({
EventTarget
:
[
"
@ungap/event-target
"
,
"
default
"
],
}),
],
}
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
register
or
sign in
to comment