Skip to content

Commit

Permalink
change version + add private true in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
kchapelier committed Nov 17, 2018
1 parent 26ed87d commit 02bd8d3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "procjam2018",
"version": "0.0.0",
"version": "1.0.1",
"description": "Procjam2018 project",
"main": "src/js/index.js",
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build-styles": "stylus src/stylus/main.styl -o public/main.css",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<main>
<header>
<h1>Graph.ical <span><strong>β</strong> 1.0.0</span></h1>
<h1>Graph.ical <span><strong>β</strong> <span id="version"></span></span></h1>
<div class="buttons">
<button class="fa fa-upload load-button" title="Load"></button>
<button class="fa fa-save save-button" title="Save"></button>
Expand Down
5 changes: 4 additions & 1 deletion src/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ var { generateUUID } = require('./commons/utils');
function App () {
// Initialize node graph

this.version = 1;
this.version = 2;
this.versionStr = '1.0.1';
this.context = new Context();

document.querySelector('#version').innerHTML = this.versionStr;

// buttons
this.loadPopup = document.querySelector('.load-popup');
this.loadPopup.parentNode.removeChild(this.loadPopup);
Expand Down

0 comments on commit 02bd8d3

Please # to comment.