kangax (Juriy Zaytsev)

Name
Juriy Zaytsev
Email
Website/Blog
http://thinkweb2.com/projects/prototype/
Company
BitSonnet
Location
New York
Member Since
Feb 18, 2008 (about 1 year)

Following 15 githubbers and watching 68 repositories view all →

Public Repositories (21)

  • nfe

    "Named function expressions demystified" article

    legend

    Last updated Tue Nov 17 17:32:03 -0800 2009

  • sputniktests-webrunner

    sputniktests web runner

    legend

    Last updated Mon Nov 09 18:30:04 -0800 2009

  • js-checker

    ECMAScript/DOM conformance tests

    legend

    Last updated Sat Oct 31 09:45:13 -0700 2009

  • cft

    Common Feature Tests

    legend

    Last updated Thu Oct 08 08:08:22 -0700 2009

  • iseventsupported

    A function for analyzing event support in browsers (using feature detection)

    legend

    Last updated Sat Sep 12 20:33:53 -0700 2009

  • safarify

    Bookmarklet to display safari version numbers next to webkit build numbers in GA

    legend

    Last updated Wed Sep 09 09:21:38 -0700 2009

  • domlint

    Test suite against HTML/DOM conflicts

    legend

    Last updated Sun Aug 16 10:47:44 -0700 2009

  • detect-global

    Bookmarklet for listing global variables (helps prevent accidental leaks)

    legend

    Last updated Fri Aug 14 07:50:38 -0700 2009

  • unittest_js

    legend

    Forked from tobie/unittest_js Tue Jul 07 13:43:58 -0700 2009

    Last updated Sat Jun 27 20:07:44 -0700 2009

  • prototype

    Prototype JavaScript framework

    legend

    Forked from sstephenson/prototype Mon Apr 06 07:57:17 -0700 2009

    Last updated Fri Jun 26 15:22:00 -0700 2009

  • taskspeed

    Library / Functional benchmark suite

    legend

    Forked from phiggins42/taskspeed Fri Jun 26 14:47:18 -0700 2009

    Last updated Fri Jun 26 15:14:55 -0700 2009

  • noSWFUpload

    Multiple Files Upload For Every Browser - No SWF Object Required

    legend

    Forked from WebReflection/noSWFUpload Mon Jun 22 21:31:40 -0700 2009

    Last updated Mon Jun 22 21:46:54 -0700 2009

  • protolicious

    prototype.js tidbits

    legend

    Last updated Wed Jun 10 11:11:34 -0700 2009

  • ape-javascript-library

    Minimal JavaScript library for writing and developing widgets.

    legend

    Forked from GarrettS/ape-javascript-library Tue Apr 14 17:06:54 -0700 2009

    Last updated Sat May 09 11:25:49 -0700 2009

  • ape

    APE Javascript Library

    legend

    Last updated Mon Apr 20 14:09:26 -0700 2009

  • nwevents

    Javascript Event Manager for handlers, listeners and delegates

    legend

    Forked from dperini/nwevents Sun Apr 19 08:56:51 -0700 2009

    Last updated Sun Apr 19 09:57:40 -0700 2009

  • colorpicker

    A fork of an excellent ColorPicker by John Dyer

    legend

    Last updated Mon Feb 09 22:35:56 -0800 2009

  • css-tidbits

    legend

    Last updated Fri Jul 18 06:49:25 -0700 2008

  • proto.menu

    prototype.js based context menu

    legend

    Last updated Sat May 31 04:25:59 -0700 2008

  • prototype-tmbundle

    legend

    Last updated Wed Mar 26 12:30:47 -0700 2008

  • html-tmbundle

    HTML TextMate bundle

    legend

    Forked from drnic/html-tmbundle Fri May 15 21:29:13 -0700 2009

    Last updated Wed Mar 26 12:23:47 -0700 2008

Public Activity feed

kangax commented on dperini/nwmatcher Sun Nov 22 05:50:18 -0800 2009
Comment on src/nwmatcher.js L38 in 2b4d45b:

It would be nice to replace somewhat ambiguous base and root with something like document and rootElement.

kangax commented on dperini/nwmatcher Sun Nov 22 05:48:44 -0800 2009
Comment in 37d55c9:

Could you please explain which host objects "work" with getAttribute('class') but not className?

kangax commented on dperini/nwmatcher Thu Nov 19 12:36:54 -0800 2009
Comment on src/nwmatcher.js L817 in 065ab73:

It would be faster to unroll regex here. Or do you care about case? I see regex uses "i".

kangax updated gist: 237930 Wed Nov 18 06:59:42 -0800 2009
/** * Example: * 'hello {{username}}'.between('{{','}}') === 'username'
kangax forked gist: 237930 Wed Nov 18 06:59:22 -0800 2009
/** * Example: * 'hello {{username}}'.between('{{','}}') === 'username'
kangax pushed to master at kangax/nfe Tue Nov 17 17:32:03 -0800 2009
HEAD is 0cf60581071d482fb3702a257dc88c9c4154c5a6
kangax pushed to master at kangax/nfe Tue Nov 17 17:14:51 -0800 2009
HEAD is ee756fe3a8526d29addc655c531123f94cb12387

3 commits »

kangax created gist: 236750 Mon Nov 16 23:28:56 -0800 2009
<!-- "There are no good texts on JavaScript programming.
kangax commented on kangax/prototype Fri Nov 13 22:53:30 -0800 2009
Comment in cab6c06:

Can we revisit this patch?

kangax commented on kangax/prototype Fri Nov 13 12:49:53 -0800 2009
Comment in 0ce712f:

Committed

kangax pushed to master at sstephenson/prototype Fri Nov 13 12:49:47 -0800 2009
HEAD is b3fc07922c5aa7a901faa72fad3ac001e1654ba5
  • kangax committed b3fc0792:
    Avoid object creation and an unnecessary function call in `Class#addMethods`, when working around JScript DontEnum bug.
kangax commented on kangax/prototype Fri Nov 13 11:28:49 -0800 2009
Comment in d2ffd3a:

Committed

kangax pushed to master at sstephenson/prototype Fri Nov 13 11:28:43 -0800 2009
HEAD is 18f2ac65c3c168099b6b16a19c671dda63c3fa6f
kangax commented on kangax/prototype Fri Nov 13 11:21:55 -0800 2009
Comment in a1549c1:

Committed

kangax pushed to master at sstephenson/prototype Fri Nov 13 11:21:48 -0800 2009
HEAD is 82c9b9c78336dce758cd6cff4cc17216fd1c9248
  • kangax committed 82c9b9c7:
    Remove unnecessary function object creation and `Number#times` in `Element._getContentFromAnonymousElement`.
kangax commented on kangax/prototype Fri Nov 13 09:29:16 -0800 2009
Comment in a2596b7:

Committed

kangax commented on kangax/prototype Fri Nov 13 09:29:08 -0800 2009
Comment in eb19e93:

Committed

kangax commented on kangax/prototype Fri Nov 13 09:29:02 -0800 2009
Comment in de8993f:

Committed

kangax commented on kangax/prototype Fri Nov 13 09:28:07 -0800 2009
Comment in 6527566:

Commited

kangax pushed to master at sstephenson/prototype Fri Nov 13 09:27:35 -0800 2009
HEAD is 9ef3f8d2ed6a2ba6e3b5eab8e50983a1abb1c957
  • kangax committed 9ef3f8d2:
    Eliminate runtime forking and long method lookup in `Element.hasAttribute`.
kangax pushed to master at sstephenson/prototype Thu Nov 12 18:27:32 -0800 2009
HEAD is 829800834def0ac16a09c22df95f371c84ba9cfd

3 commits »

kangax started watching getify/LABjs Thu Nov 12 14:11:23 -0800 2009
LABjs's description:
Loading And Blocking JavaScript: On-demand parallel loader for JavaScript with execution order dependencies
kangax commented on GarrettS/ape-javascript-library Thu Nov 12 13:51:40 -0800 2009
Comment on src/drag/Draggable.js L730 in cf5851e:

Doesn't this look like a perfect candidate for refactoring? Too many arguments, function itself is big, numerous conditional branches.

kangax pushed to master at sstephenson/prototype Wed Nov 11 14:45:15 -0800 2009
HEAD is 1f167f8754ace92c3a33bf7a275a46d42e71746d
kangax pushed to master at sstephenson/prototype Wed Nov 11 14:38:50 -0800 2009
HEAD is 01a229011a9318cb1c7b39db73ac8ee0d946ac5a
kangax pushed to gh-pages at kangax/sputniktests-webrunner Mon Nov 09 18:30:05 -0800 2009
HEAD is b365fb3ccd13fd5e674a7fd18cd1b9f5e14953e4

2 commits »

kangax open sourced sputniktests-webrunner Mon Nov 09 11:04:20 -0800 2009
sputniktests web runner
kangax commented on GarrettS/ape-javascript-library Sat Nov 07 22:18:34 -0800 2009
Comment on build/drag/Draggable.js L70 in f56a50e:

How come some of these variables are lowercased and others — uppercased?

kangax commented on GarrettS/ape-javascript-library Wed Nov 04 08:27:00 -0800 2009
Comment in 3b93b70:

Makes sense. Thanks for explanation.

kangax commented on GarrettS/ape-javascript-library Wed Nov 04 08:23:13 -0800 2009
Comment on src/drag/Draggable.js L1130 in aa5a877:

Might be better to use pseudo-constant instead of a comment.

kangax commented on GarrettS/ape-javascript-library Tue Nov 03 14:41:50 -0800 2009
Comment on build/drag/Draggable.js L442 in 3b93b70:

Why explicit comparison?

kangax commented on kriskowal/jquery Tue Nov 03 14:38:12 -0800 2009
Comment on src/outro.js L6 in bb1de36:

Why check for window and then fall back to this if it's undefined? Isn't it a global code? Wouldn't this be enough — typeof exports !== 'undefined' ? exports : this or even this.exports || this (not sure what exports is)

kangax commented on sstephenson/prototype Tue Nov 03 13:31:41 -0800 2009
Comment in 97ea37d:

@dperini What about:

function isRootElement(element) { 
  return element.tagName.toUpperCase() === 'HTML'; 
}
// is BODY a root element?
if (document.documentElement.clientWidth === 0) {
  isRootElement = function(element){ 
    return element.tagName.toUpperCase() === 'BODY'; 
  };
}

However, I think this won't really work with multiple documents (where an element whose tagName is "HTML" might not be a root ancestor of an element in question).

kangax commented on sstephenson/prototype Tue Nov 03 05:36:59 -0800 2009
Comment on src/dom/layout.js L144 in 97ea37d:

This is pretty slow and eats memory. The sugar is not worth perf. loss here, imo. Can we replace this with — var nodeName = element.nodeName.toUpperCase(); return nodeName === 'BODY' || nodeName === 'HTML'? I would also rename this method to — isRootElement, following CSS terminology.