@nakedcreativity/cee-ms-node 0.3.21 → 0.3.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +5 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -160,17 +160,17 @@ function ceems(config) {
160
160
  render: function(scope, hash){
161
161
  // var filepath = Liquid.evalValue(this.match[1]+'.liquid', scope);
162
162
 
163
- console.log('look for data collection', this.match[0])
163
+ //console.log('look for data collection', this.match[0])
164
164
 
165
165
  if(site.collections[this.match[0]]){
166
- console.log(site.collections[this.match[0]]._id)
166
+ //console.log(site.collections[this.match[0]]._id)
167
167
  var collection = JSON.parse(fs.readFileSync('./data/'+site.collections[this.match[0]]._id+'.json', 'utf8'));
168
168
 
169
169
  var scopeObj = {}
170
170
  scopeObj[this.match[0]] = collection.data
171
171
  scope.push(scopeObj)
172
172
 
173
- console.log(scope)
173
+ //console.log(scope)
174
174
 
175
175
  return engine.handleCache(this.match[1]+'.liquid')
176
176
  .then((templates) => {
@@ -204,7 +204,7 @@ function ceems(config) {
204
204
  },
205
205
  render: function(scope, hash) {
206
206
  var image = Liquid.evalExp(this.args[0], scope);
207
- console.log(image)
207
+ //console.log(image)
208
208
  if(this.args[1] && image.variants && image.variants[this.args[1]]){
209
209
  var src = image.variants[this.args[1]]
210
210
  }else {
@@ -221,7 +221,7 @@ function ceems(config) {
221
221
  },
222
222
  render: function(scope, hash) {
223
223
  var image = Liquid.evalExp(this.args[0], scope);
224
- console.log(image)
224
+ //console.log(image)
225
225
  if(this.args[1] && image.variants && image.variants[this.args[1]]){
226
226
  var src = image.variants[this.args[1]]
227
227
  }else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nakedcreativity/cee-ms-node",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "description": "Cee.ms for Node.js",
5
5
  "main": "index.js",
6
6
  "scripts": {