Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mods
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
pub
mods
Commits
02e94c03
Commit
02e94c03
authored
Mar 11, 2019
by
Neil Gershenfeld
Browse files
Options
Downloads
Patches
Plain Diff
view library broken, revert to path
parent
3d2844fe
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
js/three.js/three.min.js
+967
-989
967 additions, 989 deletions
js/three.js/three.min.js
modules/library/three.js
+971
-46285
971 additions, 46285 deletions
modules/library/three.js
modules/path/view
+6
-14
6 additions, 14 deletions
modules/path/view
with
1944 additions
and
47288 deletions
js/three.js/three.min.js
+
967
−
989
View file @
02e94c03
This diff is collapsed.
Click to expand it.
modules/library/three.js
+
971
−
46285
View file @
02e94c03
This diff is collapsed.
Click to expand it.
modules/path/view
+
6
−
14
View file @
02e94c03
...
...
@@ -46,16 +46,8 @@ var inputs = {
mod.depth = evt.detail.depth
show_path_info()
show_path()
mods.fit(mod.div)
outputs.path.event()
}},
response:{type:'three.js',
event:function(evt){
var script = document.createElement('script')
//script.type = 'text/javascript'
script.onload = init_window
script.src = 'data:text/javascript,' + encodeURIComponent(evt.detail)
mod.div.appendChild(script)
//init_window(evt.detail)
}}}
//
// outputs
...
...
@@ -70,10 +62,6 @@ var outputs = {
cmd.width = mod.width
cmd.height = mod.height
mods.output(mod,'path',cmd)
}},
request:{type:'three.js',
event:function(arg){
mods.output(mod,'request',arg)
}}}
//
// interface
...
...
@@ -243,7 +231,11 @@ function open_view_window() {
//
// load three.js
//
outputs.request.event('three.js')
var script = document.createElement('script')
script.type = 'text/javascript'
script.onload = init_window
script.src = 'js/three.js/three.min.js'
mod.div.appendChild(script)
}
//
// init_window
...
...
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