mumuki-laboratory 5.0.4 → 5.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/application/bridge.js +4 -2
- data/lib/mumuki/laboratory/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19fb9f79bdc471efd862821d51c15315f55ecaaf85fab05c420e6d8c062b5189
|
4
|
+
data.tar.gz: 2427bdb385155bcb03fb775a2067106497609126f29914bbb4c1ccc3be7842b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4827bd7cf3356c26358f32444df93b1172ba6d229c589ce4373b4b11c33600fafaf5bfd2d8c602da915e846aa1b3e924de64c2b98a3af8e13f7a12d920ba2da
|
7
|
+
data.tar.gz: e79a6bbccef0fb7fe9d1d2dc44a8d339a0e857557887bbdbf9774e05707623b4b5596a3dc84a24adebf8060b9986340f3c2e08f99ee1d6ef1503736797d3f171
|
@@ -7,13 +7,15 @@ var mumuki = mumuki || {};
|
|
7
7
|
|
8
8
|
Laboratory.prototype = {
|
9
9
|
runTests: function (solution) {
|
10
|
-
|
10
|
+
var token = new mumuki.CsrfToken();
|
11
|
+
var request = token.newRequest({
|
11
12
|
type: 'POST',
|
12
13
|
url: window.location + '/solutions',
|
13
14
|
data: {
|
14
15
|
solution: solution
|
15
16
|
}
|
16
|
-
})
|
17
|
+
});
|
18
|
+
return $.ajax(request)
|
17
19
|
}
|
18
20
|
};
|
19
21
|
|