1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Prompt dialog and popup menu

This commit is contained in:
Laurent Cozic
2017-11-08 17:51:55 +00:00
parent 5a7fde7d21
commit 7d12da27ad
15 changed files with 364 additions and 55 deletions

View File

@@ -0,0 +1,9 @@
const urlUtils = {};
urlUtils.hash = function(url) {
const s = url.split('#');
if (s.length <= 1) return '';
return s[s.length - 1];
}
module.exports = urlUtils;