« first day (855 days earlier)      last day (59 days later) » 

3:41 AM
hi - first time in the StackO chat rooms...is this an ok place to ask for help on a question we've posted?
 
 
6 hours later…
10:07 AM
hi there...
 
hey man
hope you're good
btw are you in russia?
 
belarus.... this is almost russia )
 
nice!
 
sure, more nice than Ukraine ))
 
lol
was just about to say
is belarus in NATO?
 
10:09 AM
no, and will not be there in future 20 year's for sure... our president didn't like Europe ((
 
ohh
 
0
Q: Redirect To www from non www site for subfolder

SandeepI want to redirect from http://domain.com/folder/ to http://www.domain.com/folder/ I have tried below code RewriteCond %{HTTP_HOST} ^domain.com [nc] RewriteRule ^(.*)$ http://www.domain.com/$1 [r=301,nc] AND RewriteCond %{HTTP_HOST} domain.com [NC] RewriteRule ^(.*)$ http://www.domain.com/fol...

 
well that doesn't stop us fixing this error!
I tink your error is caused by your adGallery function
 
yes, so what i need to put in js, maybe my mistake there?
 
can you try removing
var galleries = function() {
$('.car-gallery').adGallery({
loader_image: '../assets/loader.gif',
slideshow: {
enable: false,
autostart: false,
speed: 5000,
start_label: 'Start',
stop_label: 'Stop',
// Should the slideshow stop if the user scrolls the thumb list?
stop_on_scroll: true,
// Wrap around the countdown
countdown_prefix: '(',
countdown_sufix: ')',
onStart: function() {
// Do something wild when the slideshow starts
},
onStop: function() {
// Do something wild when the slideshow stops
}
leaving only my alert test
I want to see what's causing this error
 
10:12 AM
ok, one minute
lol binding.pry caused error... rebooting....
 
wow
 
no no ) error appliacation not js
maybe you know - press return on .pry - what is this?
 
i don't know sorry
isn't pry a command line replacement for IRB?
 
hm, no
ok, that doesn't matter it booting up )
 
lol okay
 
10:19 AM
`var alert = function(){
alert("loaded");
};
$(document).on("page:load ready", alert);` - it work's when i ctrl f5 (hm, how works, give and error in log Uncaught RangeError: Maximum call stack size exceeded ) also maybe it's becouse of that i have in view, not in application.js ? `- content_for :javascript_includes do
= javascript_include_tag "jcaption.min.js"
= javascript_include_tag "jquery.car-gallery.js"
= javascript_include_tag "jquery.knob.js"
= javascript_include_tag "jquery-fileupload"
 
did that work?
 
only when i refresh page
 
brb
 
hm, seems that this is really of the: = javascript_include_tag "car-gallery-start.js"
when i write it in application.js:
//= require jquery.car-gallery.js
//= require car-gallery-start

all is ok, but i need this only for one view, how to be?
 
back
for only one view/
you could use <%= javascript_include_tag "car-gallery-start" %> inside the view
 
10:33 AM
i do so, and then turbolink's didn't run it
 
that file contains our code?
 
yes, it's run only after reboot ) when i write in app.js it's run every time
 
okay
have you tried using "naked" code when you include the JS in the view?
without the document.ready stuff?
 
no, it's bad practice i think, also i think that turbolink's didn't attach and run to <head> anything
 
yes
 
10:38 AM
var galleries = $('.car-gallery').adGallery({
loader_image: '../assets/loader.gif',
slideshow: {
enable: false,
autostart: false,
speed: 5000,
start_label: 'Start',
stop_label: 'Stop',
// Should the slideshow stop if the user scrolls the thumb list?
stop_on_scroll: true,
// Wrap around the countdown
countdown_prefix: '(',
countdown_sufix: ')',
onStart: function() {
// Do something wild when the slideshow starts
},
onStop: function() {
// Do something wild when the slideshow stops
}
}});
};

do you mean this in view ? but i have there also gem's with js included (
 
which line does the error appear/
 
with such code i have no error's! it's didn't run, but after refresh run without errors
maybe there is any ways to disable turbolink's for some views?
 
hm... this is for layout, but could be only for view and link_to ?
 
yes you can add "data-no-turbolink" to your link
to disable turbolinks
for al ink
 
10:47 AM
ok, thank you ) write something - i accept
 
no problem!
what do you want me to write
 
1) your updated code for adGallery
2) that i can disable t-links and link for rticle
 
okay
let me amend post
 
for sure
you could do this...

also where are you from ?
 
UK
 
10:53 AM
nice, what city ?
a have a little dream, to come to UK and see other life, other people )
 
near liverpool
it is a good dream
I was in Ukraine last year, and I know people in Ukraine have similar dream
is it difficult for you guys to come to EU?
apart from money - I mean visa's etc
 
for me not, i have 365day schengen viza, just that for UK it's not, how to say - for use
~ 60 euro
 
schengen? for germany?
 
trip - about 200euro
but we here in month have 200euro +

for whole EU, except UK
 
ohhh
lol "except UK" - why is this/
 
10:57 AM
there is a little different type )
 
nice
have you visited any eu countries / cities/
UK still thinks we have empire
uk policitians *
 
Germany, Lithuania, Latvia, Poland, Czech Republic, Austria, and also non EU Ukraine )) i never been in Russian, and didn't want there )) also i live in 20km from Poland
so, thank you for answer...
 
no problem!
I hope you come to UK soon
if you need sponsorship or something, you can ask me
speak sooon!
 
ok )) maybe your have interesting FB profile ?
also you can visit Belarus, here we have nice nature, and simple beatifull cities... just that politicans are, hm )))
 

« first day (855 days earlier)      last day (59 days later) »