BF_textosSEO.min.js 559 B

1
  1. define(["jquery","knockout","ccResourceLoader!global/OCS_BFService"],function(e,t,n){"use strict";var r;return{totalNumber:t.observable(),BFService:n,onLoad:function(t){setTimeout(function(){console.log("cargar selector"),e("#seoHomeCollapse").click(function(){e(this).text().trim("")==="keyboard_arrow_down"?e("#seoHomeCollapse").text("expand_less"):e("#seoHomeCollapse").text("keyboard_arrow_down")})},300)},beforeAppear:function(){var t=this;e.Topic("TOTAL_NUMBER_LISTING").subscribe(function(e){var n=1e3;this&&(n=parseInt(this)-10),t.totalNumber(n)})}}})