Skip to content

Commit

Permalink
fix module
Browse files Browse the repository at this point in the history
  • Loading branch information
williamngan committed Aug 19, 2017
1 parent 4a32bc1 commit a68ea3f
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 14 deletions.
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Pts.js Demos</title>

<meta charset="UTF-8">
<script type="text/javascript" src="../dist/pts.js"></script>
<script type="text/javascript" src="../dist/pts.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="Interactive demos of Pts. Pts is a javascript library that enables you to compose and visualize points in spaces.">
<!--<script type="text/javascript" src="../dist/core/pt-core.js"></script>-->
Expand Down
14 changes: 12 additions & 2 deletions dist/pts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/pts.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion guide/Get-started-0100.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ <h3>Visibles from invisibles</h3>
<div id="footer"><strong>pts</strong> is an open source project started by <a href="https://twitter.com/williamngan">@williamngan</a>.
See&nbsp;<a href="https://github.com/williamngan/pts">its&nbsp;repository</a>&nbsp;for&nbsp;Apache&nbsp;license and copyright info.</div>

<script type="text/javascript" src="../dist/pts.js"></script>
<script type="text/javascript" src="../dist/pts.min.js"></script>
<script type="text/javascript" src="./js/guide.js"></script>
<script src="./js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
Expand Down
2 changes: 1 addition & 1 deletion guide/Group-0300.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h3>Cheat sheet</h3>
<div id="footer"><strong>pts</strong> is an open source project started by <a href="https://twitter.com/williamngan">@williamngan</a>.
See&nbsp;<a href="https://github.com/williamngan/pts">its&nbsp;repository</a>&nbsp;for&nbsp;Apache&nbsp;license and copyright info.</div>

<script type="text/javascript" src="../dist/pts.js"></script>
<script type="text/javascript" src="../dist/pts.min.js"></script>
<script type="text/javascript" src="./js/guide.js"></script>
<script src="./js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
Expand Down
2 changes: 1 addition & 1 deletion guide/Introduction-0000.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h5>Remember to take a look at <a href="../demo/index.html">some fun demos</a></
<div id="footer"><strong>pts</strong> is an open source project started by <a href="https://twitter.com/williamngan">@williamngan</a>.
See&nbsp;<a href="https://github.com/williamngan/pts">its&nbsp;repository</a>&nbsp;for&nbsp;Apache&nbsp;license and copyright info.</div>

<script type="text/javascript" src="../dist/pts.js"></script>
<script type="text/javascript" src="../dist/pts.min.js"></script>
<script type="text/javascript" src="./js/guide.js"></script>
<script src="./js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
Expand Down
2 changes: 1 addition & 1 deletion guide/Op-0400.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h3>Cheat sheet</h3>
<div id="footer"><strong>pts</strong> is an open source project started by <a href="https://twitter.com/williamngan">@williamngan</a>.
See&nbsp;<a href="https://github.com/williamngan/pts">its&nbsp;repository</a>&nbsp;for&nbsp;Apache&nbsp;license and copyright info.</div>

<script type="text/javascript" src="../dist/pts.js"></script>
<script type="text/javascript" src="../dist/pts.min.js"></script>
<script type="text/javascript" src="./js/guide.js"></script>
<script src="./js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
Expand Down
2 changes: 1 addition & 1 deletion guide/Pt-0200.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ <h3>Cheat sheet</h3>
<div id="footer"><strong>pts</strong> is an open source project started by <a href="https://twitter.com/williamngan">@williamngan</a>.
See&nbsp;<a href="https://github.com/williamngan/pts">its&nbsp;repository</a>&nbsp;for&nbsp;Apache&nbsp;license and copyright info.</div>

<script type="text/javascript" src="../dist/pts.js"></script>
<script type="text/javascript" src="../dist/pts.min.js"></script>
<script type="text/javascript" src="./js/guide.js"></script>
<script src="./js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
Expand Down
2 changes: 1 addition & 1 deletion guide/Space-0500.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h3>Cheat sheet</h3>
<div id="footer"><strong>pts</strong> is an open source project started by <a href="https://twitter.com/williamngan">@williamngan</a>.
See&nbsp;<a href="https://github.com/williamngan/pts">its&nbsp;repository</a>&nbsp;for&nbsp;Apache&nbsp;license and copyright info.</div>

<script type="text/javascript" src="../dist/pts.js"></script>
<script type="text/javascript" src="../dist/pts.min.js"></script>
<script type="text/javascript" src="./js/guide.js"></script>
<script src="./js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
Expand Down
2 changes: 1 addition & 1 deletion guide/Technical-notes-9000.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h3>Tips</h3>
<div id="footer"><strong>pts</strong> is an open source project started by <a href="https://twitter.com/williamngan">@williamngan</a>.
See&nbsp;<a href="https://github.com/williamngan/pts">its&nbsp;repository</a>&nbsp;for&nbsp;Apache&nbsp;license and copyright info.</div>

<script type="text/javascript" src="../dist/pts.js"></script>
<script type="text/javascript" src="../dist/pts.min.js"></script>
<script type="text/javascript" src="./js/guide.js"></script>
<script src="./js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
Expand Down
2 changes: 1 addition & 1 deletion guide/assets/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="footer"><strong>pts</strong> is an open source project started by <a href="https://twitter.com/williamngan">@williamngan</a>.
See&nbsp;<a href="https://github.com/williamngan/pts">its&nbsp;repository</a>&nbsp;for&nbsp;Apache&nbsp;license and copyright info.</div>

<script type="text/javascript" src="../dist/pts.js"></script>
<script type="text/javascript" src="../dist/pts.min.js"></script>
<script type="text/javascript" src="./js/guide.js"></script>
<script src="./js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="Pts is a javascript library that enables you to compose and visualize points in spaces.">
<link href="./assets/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./dist/pts.js"></script>
<script type="text/javascript" src="./dist/pts.min.js"></script>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = {

output: {
library: 'Pts',
libraryTarget: 'var',
libraryTarget: 'umd',
path: BUILD_PATH,
filename: prod ? '[name].min.js' : '[name].js'
},
Expand Down

0 comments on commit a68ea3f

Please sign in to comment.