Skip to content

Commit

Permalink
0.2.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
zorkow committed May 31, 2019
1 parent 5a6636c commit 9175591
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*~
scripts/js/
doc/tmp/
dist/
node_modules/
samples/
File renamed without changes.
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "context-menu",
"version": "0.1.0",
"name": "mj-context-menu",
"version": "0.2.0",
"description": "A generic context menu",
"directories": {
"test": "tests"
"main": "dist/context_menu.js",
"types": "dist/context_menu.d.ts",
"scripts": {
"build": "./node_modules/.bin/tsc"
},
"scripts": {},
"maintainers": [
"Volker Sorge <[email protected]>"
],
Expand All @@ -27,11 +28,11 @@
"tslint": "^5.*",
"tslint-jsdoc-rules": "*",
"tslint-unix-formatter": "*",
"typescript": "^3.*",
"gulp": "^4.0.0"
"typescript": "^3.*"
},
"files": [
"LICENSE",
"README.md"
"README.md",
"dist"
]
}
4 changes: 2 additions & 2 deletions samples/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<title>Testing the context menu</title>

</head>
<script src="../scripts/js/context_menu.js"></script>
<script src="../dist/context_menu.js"></script>
<script>
var dialog = new ContextMenu.Info('a', function(){
return '<b>bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb </b><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p><br>aa<p>bbb</p>';}, '<a href="http://www.mathjax.org">MathJax.org</a>');
Expand Down Expand Up @@ -260,7 +260,7 @@ <h1>Testing the context menu</h1>
<hr>
<address></address>
<!-- hhmts start -->
Last modified: Tue Feb 21 21:22:15 PST 2017
Last modified: Thu May 2 20:51:46 BST 2019
<!-- hhmts end -->
</body>
<script>cc.getStore().insert(document.getElementsByClassName("test"));
Expand Down
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
"noLib": false,
"alwaysStrict": false,
"sourceMap": false,
"outFile": "scripts/js/context_menu.js"
"lib": ["es6", "dom"],
"outFile": "dist/context_menu.js"
},
"include": ["scripts/ts/**/*"],
"exclude": [
"scripts/js",
"dist",
"samples",
"node_modules"
]
Expand Down

0 comments on commit 9175591

Please sign in to comment.