src/js/serializers/JSONSerializer.js
changeset 861 05f75ca6b5de
parent 842 4ae2247a59f4
equal deleted inserted replaced
859:002a16ff171b 861:05f75ca6b5de
   439   if (typeof(val) === "undefined")
   439   if (typeof(val) === "undefined")
   440     val = this.getId("Publ");
   440     val = this.getId("Publ");
   441     
   441     
   442   return val;
   442   return val;
   443 };
   443 };
       
   444 
       
   445 /** return the id of the ligne de temps named "Slideshare" */
       
   446 IriSP.JSONSerializer.prototype.getSlideShareType = function() {
       
   447   var val = this.getId("slideshare");
       
   448   if (typeof(val) === "undefined")
       
   449     val = this.getId("Slides");   
       
   450   if (typeof(val) === "undefined")
       
   451     val = this.getId("Slide");
       
   452   if (typeof(val) === "undefined")
       
   453     val = this.getId("slide-Share");
       
   454   if (typeof(val) === "undefined")
       
   455 	val = this.getId("slide Share");
       
   456     
       
   457   return val;
       
   458 };