stephband

Results 22 comments of stephband

Ok. My approach to this problem was to freeze and then unfreeze on mouseenter: jQuery('.parallax-layer') .trigger({type: 'freeze', x: 2, y: 2}); jQuery('.parallax-mouseport') .bind('mouseenter', function(e){ jQuery('.parallax-layer').trigger('unfreeze'); }); However, I can see...

Note the code above suffers from Issue 5 - 0 values will not work.

Good catch. I'd prefer not to force the designer to have 0 border on the mouseport. I'll investigate a solution that takes account of border width (using outerHeight / outerWidth...

Oh yeah. I polyfill Symbol, normally, but you're right, I probably shouldn't assume it's existence here. This code replaces symbols with strings (via .toString when setting the symbol property). It's...

Want to enlighten me as to what OSI means? –––––––––––– http://sound.io http://cruncher.ch http://stephen.band On 28 March 2016 at 23:25, jkmarz [email protected] wrote: > I see that a long time ago,...

I am in favour of publishing to npm, but I don't know how to do it. So it's waiting until I have time to read about it.

Ok, thanks, that's a useful link. So I just tried it quickly, and it errors out. npm ERR! publish Failed PUT 403 npm ERR! Error: forbidden user: stephband not authorized...

Oh weird, I just tried npm install jquery.event.swipe (I thought maybe someone else had bagged the package name) and it works! With dependencies! I have obviously registered it at some...

Ha! Yes publish works now, thanks. As a side note, I'm kind of waiting for the whole modules mess to get resolved before diving into package managers and everything. We...

Yeah, maybe. Though there is something to be said for Keep It Simple (yeah, I realise the reason for Browserify is to simplify, but ... och, I've run out of...