cms-module-client
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -41,7 +41,7 @@ "use strict"; | ||
var meta = { | ||
url: window.location.pathname, | ||
title: document.title, | ||
description: head.querySelector("meta[name=\"description\"]").getAttribute("content"), | ||
keywords: head.querySelector("meta[name=\"keywords\"]").getAttribute("content"), | ||
canonical: head.querySelector("link[rel=\"canonical\"]").getAttribute("href") | ||
url: window.location.pathname || "", | ||
title: document.title || "", | ||
description: head.querySelector("meta[name=\"description\"]").getAttribute("content") || "", | ||
keywords: head.querySelector("meta[name=\"keywords\"]").getAttribute("content") || "", | ||
canonical: head.querySelector("link[rel=\"canonical\"]").getAttribute("href") || "" | ||
}; | ||
@@ -48,0 +48,0 @@ return meta; |
{ | ||
"name": "cms-module-client", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "An editor for html pages. This is the client side part of the JS CMS module tool. It lets you edit a webpage in a WYSIWYG way. Together with the Server side module, it creates nicely integrated content management system for Node JS.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
73419