equal
deleted
inserted
replaced
327 return id; |
327 return id; |
328 }; |
328 }; |
329 |
329 |
330 /** return the id of the ligne de temps named "Chapitrage" */ |
330 /** return the id of the ligne de temps named "Chapitrage" */ |
331 IriSP.JSONSerializer.prototype.getChapitrage = function() { |
331 IriSP.JSONSerializer.prototype.getChapitrage = function() { |
332 return this.getId("Chapitrage"); |
332 var val = this.getId("Chapitrage"); |
|
333 if (typeof(val) === "undefined") |
|
334 val = this.getId("Chapter"); |
|
335 if (typeof(val) === "undefined") |
|
336 val = this.getId("Chapit"); |
|
337 if (typeof(val) === "undefined") |
|
338 val = this.getId("Chap"); |
|
339 |
|
340 return val; |
333 }; |
341 }; |
334 |
342 |
335 /** return the id of the ligne de temps named "Tweets" */ |
343 /** return the id of the ligne de temps named "Tweets" */ |
336 IriSP.JSONSerializer.prototype.getTweets = function() { |
344 IriSP.JSONSerializer.prototype.getTweets = function() { |
337 var val = this.getId("Tweets"); |
345 var val = this.getId("Tweets"); |
347 return val; |
355 return val; |
348 }; |
356 }; |
349 |
357 |
350 /** return the id of the ligne de temps named "Contributions" */ |
358 /** return the id of the ligne de temps named "Contributions" */ |
351 IriSP.JSONSerializer.prototype.getContributions = function() { |
359 IriSP.JSONSerializer.prototype.getContributions = function() { |
352 return this.getId("Contributions"); |
360 var val = this.getId("Contribution"); |
353 }; |
361 if (typeof(val) === "undefined") |
|
362 val = this.getId("Particip"); |
|
363 if (typeof(val) === "undefined") |
|
364 val = this.getId("Contr"); |
|
365 if (typeof(val) === "undefined") |
|
366 val = this.getId("Publ"); |
|
367 |
|
368 return val; |
|
369 }; |