PageSourceSearch

https://apicart.net/assets/js/ajaxpro_min.js

js apicart.net collected 2026-10-04 14:48:16 UTC 1,320 bytes, 4 lines download raw bytes

1(function(){'use strict';$.view('ajaxpro',{component:'Swissup_Ajaxpro/js/ajaxpro',create:function(){var self=this,sections=['ajaxpro-cart','ajaxpro-product','ajaxpro-reinit'];this.data={};this.subscriptions=[];this.isLoading=ko.observable(false);_.each(sections,function(section){var ajaxproData=$.sections.get(section);self.update(ajaxproData());self.subscriptions.push(ajaxproData.subscribe(self._subscribe,self));});return this._super();},destroy:function(){$.ajaxpro.modalManager.destroy();_.invoke(this.subscriptions,'dispose');this._super();},isActive:function(){return true;},afterRender:function(element){var el;if(!element){return;}
2el=$(element).closest('.block-ajaxpro');if(el){$.ajaxpro.modalManager.register(element.id,el);}},bindBlock:function(name){if(!_.isUndefined(name)){if(!this.data.hasOwnProperty(name)){this.data[name]=ko.observable();}}
3return this.data[name]();},update:function(updatedData){_.each(updatedData,function(value,key){if(!this.data.hasOwnProperty(key)){this.data[key]=ko.observable();}
4this.data[key](value);},this);},_subscribe:function(updatedData){var keys=[];this.isLoading(false);this.update(updatedData);keys=_.keys(updatedData);setTimeout(function(){_.each(keys,$.proxy($.ajaxpro.modalManager.show,$.ajaxpro.modalManager));$(document).trigger('contentUpdated');},50);}});})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.