Skip to content

Instantly share code, notes, and snippets.

// homemint/assets/js/models/model.ProductImage.js
mint.model.register({
name:"ProductImage",
inherits:"ProductImage", // inherits functionality from the mintjs product image model
Class:{
defaults:{
// the image name that represents which properties
// the contstructor the main image attribute. this
// can be passed into the constructor from whichever
// view/collection uses this model
jQuery1520930524219525978_1332969478478({
"class_name": "app\\dto\\order\\Cart",
"class_id": "50cbf4ca63f94f7eaf0f91fd939ce781",
"store_id": "5",
"id": "6580267",
"customer_id": "1919476",
"sub_total": "310.00",
"shipping_total": "0.00",
"shipping_carrier": "freeshipping",
"shipping_method": "freeshipping",
<a href="javascript:function iprl5(){var d=document,z=d.createElement('script'),b=d.body,l=d.location;try{if(!b){throw(0)};d.title='(Saving...) '
d.title;z.setAttribute('src',l.protocol+'//localhost:8000/site_media/static/bf/js/bookmarklet.js?u='+encodeURIComponent(l.href)+'&t='+(new Date().getTime()));b.appendChild(z);}catch(e){alert('Please wait until the page has loaded.');}}
iprl5();void(0);" name="test poop">testy Poop</a>​
function iprl5() {
var d = document,
z = d.createElement('script'),
b = d.body,
l = d.location;
try {
if (!b){throw (0)};
d.title = '(Saving...) '
d.title;
z.setAttribute('src', l.protocol + '//localhost:8000/site_media/static/bf/js/bookmarklet.js?u=' + encodeURIComponent(l.href) + '&t=' + (new Date().getTime()));
Array
(
[0] => Array
(
[content] => Array
(
[0] => Array
(
[class_name] => app\dto\customer\OrderHistory
masterObj = {}
_.extend( masterObj, Backbone.events);
masterObj.registry = {
models:[]
register:function(name,model){
this.models[name] = model;
},
get:function(name){
if(this.models[name]) return this.models[name];
return false;