equal
deleted
inserted
replaced
194 }); |
194 }); |
195 |
195 |
196 return point; |
196 return point; |
197 } |
197 } |
198 |
198 |
199 var setPath = function () { |
|
200 |
|
201 } |
|
202 |
199 |
203 //create paper |
200 //create paper |
204 var createPoint = function (paper, x, y, pointData) { |
201 var createPoint = function (paper, x, y, pointData) { |
205 |
202 |
206 console.log("... Inside createPoint ... "); |
203 console.log("... Inside createPoint ... "); |
220 point = createPointHandler(paper, point); |
217 point = createPointHandler(paper, point); |
221 pointData.push(point); |
218 pointData.push(point); |
222 updatePath(paper); |
219 updatePath(paper); |
223 }; |
220 }; |
224 |
221 |
225 var createFragment = function () { |
|
226 |
|
227 } |
|
228 |
222 |
229 /* remove previous points */ |
223 /* remove previous points */ |
230 |
|
231 |
|
232 module.exports = { |
224 module.exports = { |
233 |
225 |
234 init: function(config) { |
226 init: function(config) { |
235 /* strange ... */ |
227 /* strange ... */ |
236 var mainImage = jQuery(config.wrapperId).find('img').eq(0); |
228 var mainImage = jQuery(config.wrapperId).find('img').eq(0); |