Skip to content

Commit

Permalink
fix(all): tighter V2 integration (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
z3dev authored Nov 7, 2020
1 parent 319f206 commit 3853a88
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions hello.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Simple Viewer for JSCAD Solids</title>
<title>JSCAD Solids</title>
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vuex"></script>
<style>
Expand All @@ -16,7 +16,7 @@
</style>
</head>
<body>
<script src="./dist/viewerComponent.js"></script>
<script src="./dist/jscad-vue-components.js"></script>
<script src="./solids.js"></script>

<div id="app">
Expand All @@ -27,7 +27,7 @@

<script>
// global registration of viewer component
Vue.component(viewerComponent.name, viewerComponent.properties)
Vue.component(jscadVueComponents.viewerComponent.name, jscadVueComponents.viewerComponent.properties)

// global store with minimum state for viewer component
const store = new Vuex.Store({
Expand Down
4 changes: 2 additions & 2 deletions tutorial0.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>JSCAD Design - Part 0</title>
<title>JSCAD Design - Tutorial 0</title>
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vuex"></script>
<style>
Expand All @@ -16,8 +16,8 @@
</style>
</head>
<body>
<script src="https://unpkg.com/@jscad/modeling@alpha/dist/jscad-modeling.min.js" ID="JSCAD LIBRARY"></script>
<script src="./dist/jscad-vue-components.js" ID="LIBRARY"></script>
<script src="./jscad-modeling.min.js" ID="JSCAD LIBRARY"></script>
<script src="./tutorial0.js" ID="DESIGN"></script>

<div id="app">
Expand Down
2 changes: 1 addition & 1 deletion tutorial1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>JSCAD Design - Part 0</title>
<title>JSCAD Design - Tutorial 1</title>
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vuex"></script>
<style>
Expand Down
2 changes: 1 addition & 1 deletion tutorial4.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<div>
<h3>ENTER URL OF REMOTE JSCAD DESIGN</h3>
<label for="text">URL:</label>
<input type="text" id="text" autofocus maxLength="100" size="100" @change="addURL">
<input type="text" id="text" autofocus maxLength="200" size="100" @change="addURL">
<h3>OR DRAG AND DROP ANY URL TO THIS PAGE</h3>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tutorial5.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h3>ENTER SOME TEXT FOR A JSCAD DESIGN</h3>
const { circle } = require('@jscad/modeling').primitives
const main = () => {
const partA = circle()
const partA = circle({radius: 10})
return partA
}
Expand Down

0 comments on commit 3853a88

Please sign in to comment.