bhf 0.5.9 → 0.5.10
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: 1a87aaf5d94cb54bc7759cb669df3e0491f223e9
|
4
|
+
data.tar.gz: 7433440f4026cd0498649dd34c23d8369cf3b701
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86f0220165ec5b52e6413047aaa83bac1df6f9f630052d3b89b9254155b8c6a8046ba3a2a7223ddee337315145c692fbe1ecc2db0fe24684a6a3874551a2eecc
|
7
|
+
data.tar.gz: fe95249740d4d57271d61547aebeec8d21a807a21e695ef3b0c3107c873cc7264faee3a50fa6f921670d5aa1d55e603c643e630d66f396ce7f04374873efcc00
|
@@ -3,10 +3,11 @@
|
|
3
3
|
//= require ./mootools_ujs_ap
|
4
4
|
//= require turbolinks
|
5
5
|
//= require_tree ./classes/
|
6
|
+
var ajaxNote = new Ajaxify();
|
6
7
|
var pageSetup = function(){
|
7
8
|
var quickEdit;
|
8
9
|
window.addEvent('domready', function(){
|
9
|
-
|
10
|
+
ajaxNote.setup();
|
10
11
|
var lang = document.html.get('lang');
|
11
12
|
if (lang === 'en') {
|
12
13
|
lang = 'en-US';
|
@@ -329,8 +330,14 @@ var pageSetup = function(){
|
|
329
330
|
|
330
331
|
pageSetup();
|
331
332
|
if (document.addEventListener) {
|
333
|
+
document.addEventListener('page:fetch', function(){
|
334
|
+
ajaxNote.loading();
|
335
|
+
console.log(ajaxNote);
|
336
|
+
});
|
337
|
+
|
332
338
|
document.addEventListener('page:load', function(){
|
333
339
|
pageSetup();
|
334
340
|
rails.applyEvents();
|
341
|
+
ajaxNote.success();
|
335
342
|
});
|
336
343
|
}
|