Mercurial > psgxs
comparison modules/mod_publish.js @ 48:c979c4d0932b
Little fixes for strict mode compatibility.
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Sat, 19 Mar 2011 14:57:13 +0100 |
parents | 0d3f18bb1d36 |
children | 99bd1d1ac071 |
comparison
equal
deleted
inserted
replaced
47:0d3f18bb1d36 | 48:c979c4d0932b |
---|---|
84 return makeError(response, r); | 84 return makeError(response, r); |
85 } | 85 } |
86 | 86 |
87 var content = item.getChild(); | 87 var content = item.getChild(); |
88 | 88 |
89 subscribers = storage.setItem(nodeID, itemID, content); | 89 var subscribers = storage.setItem(nodeID, itemID, content); |
90 if (typeof subscribers == 'number') | 90 if (typeof subscribers == 'number') |
91 return makeError(response, subscribers); | 91 return makeError(response, subscribers); |
92 | 92 |
93 var attrs = {}; | 93 var attrs = {}; |
94 if (content) | 94 if (content) |