Skip to content

Commit

Permalink
Merge pull request #134 from guidobouman/develop
Browse files Browse the repository at this point in the history
Release 13-05-2018 v2
  • Loading branch information
guidobouman authored May 13, 2018
2 parents 47890ba + e72b6ff commit 76ebd0c
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 41 deletions.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet">
<link href="./style.css" rel="stylesheet">

<script src="./panelSnap.js" defer></script>
<script src="./panelsnap.js" defer></script>
<script src="./scripts.js" defer></script>
</head>
<body>
Expand All @@ -23,7 +23,7 @@ <h1>
sets of panels as you will see throughout this demo page.
</p>
<p>
Each following panel will explain a specific feature of the panelSnap plugin.
Each following panel will explain a specific feature of the PanelSnap plugin.
</p>
<p>
<a href="https://github.com/guidobouman/panelsnap">https://github.com/guidobouman/panelsnap</a>
Expand All @@ -41,7 +41,7 @@ <h1>
<pre>&lt;!doctype html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;script src="/path/to/panelSnap.js" defer&gt;&lt;/script&gt;
&lt;script src="/path/to/panelsnap.js" defer&gt;&lt;/script&gt;
&lt;script&gt;
document.addEventListener("DOMContentLoaded", function() {
new PanelSnap();
Expand Down
8 changes: 0 additions & 8 deletions docs/panelSnap.js

This file was deleted.

8 changes: 8 additions & 0 deletions docs/panelsnap.js

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "panelsnap",
"version": "0.0.0-development",
"description": "A JavaScript plugin that provides snapping functionality to a set of panels within your interface.",
"main": "lib/panelSnap.cjs.js",
"browser": "lib/panelSnap.umd.js",
"module": "lib/panelSnap.esm.js",
"main": "lib/panelsnap.cjs.js",
"browser": "lib/panelsnap.umd.js",
"module": "lib/panelsnap.esm.js",
"repository": {
"type": "git",
"url": "https://github.com/guidobouman/panelsnap"
Expand Down
6 changes: 3 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const plugins = [

export default [
{
input: 'src/panelSnap.js',
input: 'src/panelsnap.js',
output: [
{ file: pkg.main, format: 'cjs' },
{ file: pkg.module, format: 'es' },
Expand All @@ -33,10 +33,10 @@ export default [
plugins,
},
{
input: 'src/panelSnap.js',
input: 'src/panelsnap.js',
output: [
{ file: pkg.browser, format: 'umd', name: 'PanelSnap' },
{ file: 'docs/panelSnap.js', format: 'umd', name: 'PanelSnap' },
{ file: 'docs/panelsnap.js', format: 'umd', name: 'PanelSnap' },
],
plugins: [...plugins, resolve()],
},
Expand Down
Loading

0 comments on commit 76ebd0c

Please sign in to comment.