{
"name": "motion",
- "version": "0.0.13",
+ "version": "0.0.14",
"main": "server/app.js",
"dependencies": {
"accept-language-parser": "^1.0.2",
# 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
function saveUpdates(updates) {
return function(entity) {
return entity.updateAttributes(updates)
- .then(updated => {
+ .then(function(updated) {
return updated;
});
};
return function(entity) {
if (entity) {
return entity.destroy()
- .then(() => {
+ .then(function() {
res.status(204).end();
});
}
function saveUpdates(updates) {
return function(entity) {
return entity.updateAttributes(updates)
- .then(updated => {
+ .then(function(updated) {
return updated;
});
};
return function(entity) {
if (entity) {
return entity.destroy()
- .then(() => {
+ .then(function() {
res.status(204).end();
});
}
function saveUpdates(updates) {
return function(entity) {
return entity.updateAttributes(updates)
- .then(updated => {
+ .then(function(updated) {
return updated;
});
};
return function(entity) {
if (entity) {
return entity.destroy()
- .then(() => {
+ .then(function() {
res.status(204).end();
});
}
function saveUpdates(updates) {
return function(entity) {
return entity.updateAttributes(updates)
- .then(updated => {
+ .then(function(updated) {
return updated;
});
};
return function(entity) {
if (entity) {
return entity.destroy()
- .then(() => {
+ .then(function() {
res.status(204).end();
});
}
function saveUpdates(updates) {
return function(entity) {
return entity.updateAttributes(updates)
- .then(updated => {
+ .then(function(updated) {
return updated;
});
};
return function(entity) {
if (entity) {
return entity.destroy()
- .then(() => {
+ .then(function() {
res.status(204).end();
});
}