From: Motion Team Date: Mon, 21 Dec 2015 16:21:00 +0000 (+0100) Subject: Built motion from commit 74ce333.|0.0.13 X-Git-Tag: 0.0.13 X-Git-Url: http://repos.xcallymotion.com/?a=commitdiff_plain;h=6593afab991479d7e562a29e2e20107e42bd6a3b;p=motion.git Built motion from commit 74ce333.|0.0.13 --- diff --git a/package.json b/package.json index e6611ad..9ca0eb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "motion", - "version": "0.0.13", + "version": "0.0.14", "main": "server/app.js", "dependencies": { "accept-language-parser": "^1.0.2", diff --git a/release-notes/changelog_0.0.12.txt b/release-notes/changelog_0.0.13.txt similarity index 95% rename from release-notes/changelog_0.0.12.txt rename to release-notes/changelog_0.0.13.txt index 240dff1..1e6f195 100644 --- a/release-notes/changelog_0.0.12.txt +++ b/release-notes/changelog_0.0.13.txt @@ -1,5 +1,7 @@ # xCALLY MOTION Changelog +- * 7031e61 - 2015-12-21: Manage Update +- * 39a57b8 - 2015-12-21: update controller function for compatibility - * eab16ba - 2015-12-21: Updated contact manager - * 22bd792 - 2015-12-21: server side config socketio.js - * 481a45a - 2015-12-21: server side bower.json diff --git a/server/api/desk_configuration/desk_configuration.controller.js b/server/api/desk_configuration/desk_configuration.controller.js index aa98834..3824ca1 100644 --- a/server/api/desk_configuration/desk_configuration.controller.js +++ b/server/api/desk_configuration/desk_configuration.controller.js @@ -43,7 +43,7 @@ function handleEntityNotFound(res) { function saveUpdates(updates) { return function(entity) { return entity.updateAttributes(updates) - .then(updated => { + .then(function(updated) { return updated; }); }; @@ -53,7 +53,7 @@ function removeEntity(res) { return function(entity) { if (entity) { return entity.destroy() - .then(() => { + .then(function() { res.status(204).end(); }); } diff --git a/server/api/desk_field/desk_field.controller.js b/server/api/desk_field/desk_field.controller.js index e983e1f..6b39f83 100644 --- a/server/api/desk_field/desk_field.controller.js +++ b/server/api/desk_field/desk_field.controller.js @@ -44,7 +44,7 @@ function handleEntityNotFound(res) { function saveUpdates(updates) { return function(entity) { return entity.updateAttributes(updates) - .then(updated => { + .then(function(updated) { return updated; }); }; @@ -54,7 +54,7 @@ function removeEntity(res) { return function(entity) { if (entity) { return entity.destroy() - .then(() => { + .then(function() { res.status(204).end(); }); } diff --git a/server/api/salesforce_account/salesforce_account.controller.js b/server/api/salesforce_account/salesforce_account.controller.js index 1a76bb9..fcd48d4 100644 --- a/server/api/salesforce_account/salesforce_account.controller.js +++ b/server/api/salesforce_account/salesforce_account.controller.js @@ -46,7 +46,7 @@ function handleEntityNotFound(res) { function saveUpdates(updates) { return function(entity) { return entity.updateAttributes(updates) - .then(updated => { + .then(function(updated) { return updated; }); }; @@ -56,7 +56,7 @@ function removeEntity(res) { return function(entity) { if (entity) { return entity.destroy() - .then(() => { + .then(function() { res.status(204).end(); }); } diff --git a/server/api/salesforce_configuration/salesforce_configuration.controller.js b/server/api/salesforce_configuration/salesforce_configuration.controller.js index d64e32c..3eaabd2 100644 --- a/server/api/salesforce_configuration/salesforce_configuration.controller.js +++ b/server/api/salesforce_configuration/salesforce_configuration.controller.js @@ -45,7 +45,7 @@ function handleEntityNotFound(res) { function saveUpdates(updates) { return function(entity) { return entity.updateAttributes(updates) - .then(updated => { + .then(function(updated) { return updated; }); }; @@ -55,7 +55,7 @@ function removeEntity(res) { return function(entity) { if (entity) { return entity.destroy() - .then(() => { + .then(function() { res.status(204).end(); }); } diff --git a/server/api/salesforce_field/salesforce_field.controller.js b/server/api/salesforce_field/salesforce_field.controller.js index e206944..bab61d7 100644 --- a/server/api/salesforce_field/salesforce_field.controller.js +++ b/server/api/salesforce_field/salesforce_field.controller.js @@ -44,7 +44,7 @@ function handleEntityNotFound(res) { function saveUpdates(updates) { return function(entity) { return entity.updateAttributes(updates) - .then(updated => { + .then(function(updated) { return updated; }); }; @@ -54,7 +54,7 @@ function removeEntity(res) { return function(entity) { if (entity) { return entity.destroy() - .then(() => { + .then(function() { res.status(204).end(); }); }