cms-module-client
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -79,2 +79,4 @@ "use strict"; | ||
uploadUrl = _ref$uploadUrl === void 0 ? "/cms/upload" : _ref$uploadUrl, | ||
_ref$editCanonical = _ref.editCanonical, | ||
editCanonical = _ref$editCanonical === void 0 ? false : _ref$editCanonical, | ||
_ref$auth = _ref.auth, | ||
@@ -94,2 +96,3 @@ auth = _ref$auth === void 0 ? "" : _ref$auth, | ||
_this.uploadUrl = uploadUrl; | ||
_this.editCanonical = editCanonical; | ||
_this.auth = auth; | ||
@@ -587,3 +590,3 @@ _this.sections = []; | ||
inputs.appendChild(editKeywords); | ||
inputs.appendChild(editCanonical); | ||
if (this.editCanonical) inputs.appendChild(editCanonical); | ||
inputs.appendChild(submit); | ||
@@ -590,0 +593,0 @@ content.classList.add("content"); |
{ | ||
"name": "cms-module-client", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"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", |
73389
1872