c80_yax 0.1.0.21 → 0.1.0.22
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0695658ffca19bf340b75e7fbd1512599d08a0c
|
4
|
+
data.tar.gz: f991a7bb6f7c53125d7dd9b1ba6d68b9dd44253a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6af24abd9829d3d98820f4f2cec30aa16f8d265802e2784a1b37c03538c81df793dabe02b63657f545f0d7a295696ae8276fcb2ea11673e658b3a5affbc53dbe
|
7
|
+
data.tar.gz: 3c14ec8803324d9d59a0619d398ee23a8d2031479ed0edbc3476fda1907f4a452e83bec057c9dcd89b3704e6f835ccfcbfd696f181cd7e126ceb052e600c40d7
|
@@ -81,6 +81,7 @@ var CookiesService = function() {
|
|
81
81
|
|
82
82
|
this.cart_get = function() {
|
83
83
|
var cart = _read_cookie('cart3');
|
84
|
+
if (cart === null) cart = [];
|
84
85
|
return cart;
|
85
86
|
}
|
86
87
|
|
@@ -95,6 +96,7 @@ var CookiesService = function() {
|
|
95
96
|
this.cart_update_row = function(row_id, color, obj_with_new_values) {
|
96
97
|
// console.log('<cart_update_row> row_id: ' + row_id + "; color: " + color);
|
97
98
|
var cart = _read_cookie('cart3');
|
99
|
+
if (cart === null) return;
|
98
100
|
for (var i = 0, row; i < cart.length; i++) {
|
99
101
|
row = cart[i];
|
100
102
|
if (row['id'] !== row_id) continue;
|
@@ -109,6 +111,7 @@ var CookiesService = function() {
|
|
109
111
|
|
110
112
|
this.cart_remove_row = function(row_id, color) {
|
111
113
|
var cart = _read_cookie('cart3');
|
114
|
+
if (cart === null) return;
|
112
115
|
for (var i = 0, row; i < cart.length; i++) {
|
113
116
|
row = cart[i];
|
114
117
|
if (row['id'] !== row_id) continue;
|
data/lib/c80_yax/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: c80_yax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- C80609A
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|