spec/dummy/tmp/cache/assets/D9C/F50/sprockets%2F224e78bb9e1c414a2d518a3aaffd6f77 in medivo-0.0.7 vs spec/dummy/tmp/cache/assets/D9C/F50/sprockets%2F224e78bb9e1c414a2d518a3aaffd6f77 in medivo-0.0.8
- old
+ new
@@ -1,8 +1,8 @@
-o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1319563272.089597 »õ:@value{ I"length:EFiHI"digest;
-F"%77ab42706c108cfee75ac80cad4bf9ccI"source;
-FI"H(function() {
+o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1319712231.9891469 N/:@value{ I"length:EFiI"digest;
+F"%e5cb2d1e81257734112a147cf3f9f71cI"source;
+FI"(function() {
var isNumber;
var __hasProp = Object.prototype.hasOwnProperty, __extends = function(child, parent) {
for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; }
function ctor() { this.constructor = child; }
ctor.prototype = parent.prototype;
@@ -40,16 +40,17 @@
return;
}
return this.data.address.replace(/(\s*,\s*$)/g, "").titleize();
});
window.Lab = (function() {
+ var index, marker, point;
Lab.prototype.map_tooltip_template = Handlebars.compile("{{titleize name}}\n{{address_without_comma address}}\n{{titleize city}},{{state}} ");
+ index = null;
+ marker = null;
+ point = null;
function Lab(data) {
this.data = data;
- this.index = null;
- this.marker = null;
- this.point = null;
}
Lab.prototype.clearMarker = function() {
if (this.marker) {
this.marker.setMap(null);
return this.marker = null;
@@ -81,13 +82,13 @@
};
return Lab;
})();
window.OrderedLab = (function() {
__extends(OrderedLab, Lab);
- function OrderedLab(index, data) {
- this.index = index;
+ function OrderedLab(data, index) {
this.data = data;
+ this.index = index;
}
OrderedLab.prototype.makeIcon = function() {
if (!isNumber(this.index)) {
OrderedLab.__super__.makeIcon.call(this);
}
@@ -107,10 +108,11 @@
};
return OrderedLab;
})();
window.LabList = (function() {
LabList.prototype.show_number = 3;
+ LabList.tracker_elem = $("<input type='hidden'>");
function LabList(lab_info, show_number) {
this.labs = [];
if (show_number) {
this.show_number = show_number;
}
@@ -118,42 +120,48 @@
}
LabList.prototype.getLabs = function() {
return this.labs.slice(0, this.show_number);
};
LabList.prototype.setLabs = function(lab_info) {
- var labs;
this.clearMarkers();
- labs = this.labs = [];
- if (lab_info !== void 0) {
- return $.each(lab_info, function(index, lab_data) {
- return labs.push(new Lab(lab_data));
- });
- }
+ this.labs = [];
+ this.loadLabs(lab_info);
+ return LabList.tracker_elem.change();
};
LabList.prototype.clearMarkers = function() {
return $.each(this.labs, function(index, lab) {
return lab.clearMarker();
});
};
+ LabList.prototype.loadLabs = function(lab_info) {
+ var labs;
+ if (!lab_info) {
+ return;
+ }
+ labs = this.labs;
+ return $.each(lab_info, function(index, lab_data) {
+ return labs.push(new Lab(lab_data));
+ });
+ };
return LabList;
})();
window.OrderedLabList = (function() {
__extends(OrderedLabList, LabList);
function OrderedLabList() {
OrderedLabList.__super__.constructor.apply(this, arguments);
}
- OrderedLabList.prototype.setLabs = function(lab_info) {
+ OrderedLabList.prototype.loadLabs = function(lab_info) {
var labs;
- this.clearMarkers();
- labs = this.labs = [];
- if (lab_info !== void 0) {
- return $.each(lab_info, function(index, lab_data) {
- return labs.push(new OrderedLab(index, lab_data));
- });
+ if (!lab_info) {
+ return;
}
+ labs = this.labs;
+ return $.each(lab_info, function(index, lab_data) {
+ return labs.push(new OrderedLab(lab_data, index));
+ });
};
return OrderedLabList;
})();
}).call(this);
;
FI"
_version;
-F"%0c6214f6b8d1f92265686c590b946f82
+F"%698b211addc6da876391de78a9bed676
\ No newline at end of file