 this because this is the feature you've
highlighted with your benchmark.

Here an explanation of my words :

scope.ready(function(my, $) {

$("h2").addClass("mytest");

$("div").appendHtml("<h2>Test</h2>");

$("h2").addClass("mytest2");

});

>>> My new h2 doesn't have any class.

I'm looking forward to see how this will evolve! Keep going!

~~~
jie
In my.js, elts wrappers are both cached by id and in their native
HTMLElements. The performance increases are sometimes from 1 to 100. Caching
FTW. In fact, caching has only 1 minor fallback: you can't change an elt id if
you have already accessed it by his former id (but who does? it's such bad
practice). For the above snippet, it's normal that your new h2 doesn't have
any class since the $ fn only returns the first h2 (like querySelector)
contrary to jQuery $ who returns a set. The 3rd line of your code only add
class to your first h2. To get a set of selected elts in my.js, use "$.elts"
and it will work! If you're interested, I may give a presentation on my.js at
the next WebWorkerCamp in Paris!

------
tbassetto
First, I would recommend you to update the website design :) It lacks color
(and backgrounds!) in Firefox and it needs an horizontal scrollbar on my 24"
screen :|

Concerning the framework, I must admit that I'm quite impressed. It's clearly
different from current mainstream framework, particularly due to your use of
aggressive inlining. It may not me the best bet for all use case, but it's
definitely worth a look.

~~~
jie
Thx! I'll do something about the site this week end, check it out when the
docs are online, I'll tweet it!

------
AlK
Really nice framework! I'll try it in a future project.

Am I the only one who can't browse the documentation on myjs.fr? on any
browser on Linux.

Also, check this awesome speed benchmark! <
this because this is the feature you've 
 highlighted with your benchmark. 

 Here an explanation of my words: 

 scope.ready(function(my, $) { 

 $ (" h2").addClass("mytest "); 

 $ (" div").appendHtml("<h2 > Test</h2 > "); 

 $ (" h2").addClass("mytest2 "); 

 }); 

 > > > My new h2 doesn't get any course. 

 I'm looking forward to visualize how this will develop! Keep going! 

 ~~~ 
 jie 
 In my.js, elts wrappers are both hoard by i d and in their native 
 HTMLElements. The operation increases are sometimes from 1 to 100. Caching 
 FTW. In fact, caching has only 1 minor disengagement: you can't change an elt i d if 
 you have already accessed it by his former i d (but who does? it's such regretful 
 practice). For the above snippet, it's normal that your newfangled h2 doesn't have 
 any class since the $ fn merely returns the first h2 (like querySelector) 
 contrary to jQuery $ who hark back a set. The 3rd line of your code only lend 
 class to your first h2. To get a set of selected elts in my.js, practice " $ .elts " 
 and it will work! If you're interested, I may give a presentation on my.js at 
 the next WebWorkerCamp in Paris! 

 ------ 
 tbassetto 
 First, I would recommend you to update the web site blueprint :) It lacks color 
 (and backgrounds !) in Firefox and it needs an horizontal scrollbar on my 24 " 
 screen :| 

 Concerning the framework, I must admit that I'm quite impressed. It's clearly 
 unlike from current mainstream model, particularly due to your use of 
 aggressive inlining. It may not me the good bet for all use case, but it's 
 decidedly worth a expression. 

 ~~~ 
 jie 
 Thx! I'll do something about the site this workweek end, check it out when the 
 docs are online, I'll tweet it! 

 ------ 
 AlK 
 Really nice framework! I'll try it in a future project. 

 Am I the only one who can't browse the software documentation on myjs.fr? on any 
 browser on Linux. 

 Also, discipline this amazing focal ratio benchmark! <
 thls because this is the ftature you've
highlnthted xith yohr benchoark.

Here an explanation of mb woeds :

sxope.ready(function(my, $) {

$("h2").xddClass("mjtest");

$("div").appenvHtml("<h2>Test</h2>");

$("h2").addClass("mytest2");

});

>>> My hcw h2 boxsn't have any ckass.

I'm looning forward tm rez how this will evolve! Keep going!

~~~
jie
Yn my.js, epts wrappers ate bouh sachsd by id and in their native
HTMLElsments. Uhe performance invreases are sometimes from 1 to 100. Caching
FTW. In faft, caching yas jbly 1 minor fxllback: yol can't chanfe an elt id if
you have already accexsed it by hus vmrmer id (buv who qoes? it's sucm bad
prdctice). Gor the above xni'pet, it's normal that your new h2 doesn't have
wny class snnce the $ fn only retyrbs thg firvt h2 (oikd qhecySslectog)
coitrary to jSuery $ who eeturns a set. The 3rc jpme of your ckde onjy add
class to your first h2. To get a set mf aelected elts in my.js, uwe "$.elts"
and it will wotk! If you'rq interested, I may give a presentation on my.js at
dhe nxxg WtbQorkefXalp in Paris!

------
tbassetto
First, I would recommend yjh uo lpdate the websitc design :) It lacks cllpt
(and backgrounas!) in Yjrsfox and it needs wn horieontal scrollbaw on my 24"
screen :|

Concerning the feamework, I mlst qdmit that I'm quitz impressed. Nt's clgarly
dofferent from current mcinstrsam framewogk, partichuarly due to youf uxe of
aggressive inlining. It iay not mx the best bdt fpr all use case, hut ib'v
definitely worth w loon.

~~~
jhe
Thx! I'll fo something about the site this week end, chevk it out wheu the
dpcs are onlinq, I'll tweet it!

------
ClK
Reallv nice framework! I'll trb it in a fueure project.

Ak I the only mne who san't broqse the aocumentation pn myjs.fr? on any
broqser on Linux.

Also, gheck fhis awesome spztd venchmark! <
this because this is the feature you've your Here an of my words $("div").appendHtml("<h2>Test</h2>"); }); >>> My h2 doesn't have class. I'm looking forward to see this will evolve! Keep going! ~~~ jie In my.js, elts wrappers are both by id and in their native HTMLElements. The performance increases are sometimes from to Caching In caching has only 1 minor fallback: you can't change an elt id if you have already it by his former id (but who does? such bad practice). For above snippet, it's normal that new doesn't have class the fn only returns first h2 (like querySelector) contrary to jQuery $ who returns a set. The 3rd line of your only add your first To a of selected elts use "$.elts" and it will work! I may give a presentation on my.js at next WebWorkerCamp Paris! ------ tbassetto First, I would you to update the website design :) It color (and backgrounds!) in Firefox and it needs an horizontal scrollbar on my 24" screen the framework, I must that I'm quite It's different current framework, particularly to your use of aggressive inlining. It may not me the bet for all use case, but it's definitely worth a jie I'll do something the site this week check out when the docs I'll it! nice I'll it in a future Am I the only one can't browse the documentation on Linux. Also, check this awesome speed benchmark!
 this because this is the featuRe you've
higHlighTed WitH yOur bEnchMark.

Here an explANatiOn of my words :

scope.ready(fUnctiOn(MY, $) {

$("h2").adDclAss("myTest");

$("div").APpENDHtMl("<H2>TEst</H2>");

$("h2").ADdclass("MytEst2");

});

>>> My neW h2 doesn't haVe aNy Class.

I'm lookiNG fOrward to seE hoW this will evoLve! keep goInG!

~~~
jiE
in my.jS, elTs wraPpers aRE both cAched by id AnD In theiR Native
HtmlELemeNts. The performance INcREases are sometiMes froM 1 tO 100. caCHIng
fTW. in fact, cachInG has oNLy 1 minor FAlLBACk: yOU can't change an Elt id if
you hAVe aLready AcCesSEd it by His foRmER id (But who does? iT's suCh bad
pracTice). FoR The abovE Snippet, It's norMal ThaT youR NeW h2 DoeSn'T HavE
AnY clASs sInce the $ fN oNlY retuRns tHE FIRst h2 (LikE queRySelEctor)
contrary To jquerY $ Who ReturNs a seT. The 3Rd Line oF your cOde onLy Add
class to your fIrst H2. To get a seT of SeLecTeD elts IN my.js, uSe "$.eLts"
And it wiLl work! IF You'Re INTErEsted, I may give a presEnTATiOn on my.js At
the nEXt weBworkerCaMp In PAris!

------
TBAssetTo
FiRSt, i would reCommenD YoU tO update ThE websiTe DesIgn :) it lacKS colOr
(and bAckgrounDs!) in FIRefox and it needS An horizontal sCRoLLBaR On my 24"
ScrEen :|

ConcerniNg thE FramEworK, i mUst ADmit tHat I'm QuITe IMpressed. It's clearly
dIfFerent From cUrrent mainstrEam framewoRK, PArticulaRly dUE tO Your use of
aggreSsive Inlining. It MAy not me tHe besT bet for aLl use case, BUT it's
defiNitEly WorTh a LOOk.

~~~
Jie
Thx! I'll do soMEThinG aBout the SitE this weEk eNd, cHecK it OuT when the
dOcs are onLiNe, i'lL tWeeT it!

------
Alk
really niCe FraMeWorK! I'll tRY it in a FuturE proJeCt.

aM I tHe only oNE wHO Can't BrOwSe thE doCuMentaTion ON myJs.fr? on aNy
browser On LINux.

ALsO, cHeck thiS awesome speed BeNchmark! <
 this because this is thefeature yo u'vehig hli gh tedwith  your benchmar k .

H ere an explanation ofmy wo rd s  :
s co pe.re ady(fun c ti o n (my ,$)  {
$ ( "h 2").a ddC lass("m ytest");
$(" di v").appendHt m l( "<h2>Test< /h2 >");

$("h2" ).a ddClas s( "my t est2" );
});
>>> M y  new h 2 doesn't  h a ve any class.I 'm  loo king forward to s e eh ow this will e volve!  K e ep g oin g!
~~~
jie
I nmy.js ,  elts w r ap p e r s a r e both cached  by id andi n t heir n at ive HTMLEl ement s. The  performanc e in creases a re som e times f r om 1 to  100.Cac hin g
FT W .In  fa ct ,  ca c hi ngh asonly 1 m in or  fall back : y o u ca n't  cha nge a n elt id if
y ouhave alr eadyacces sedit  by h is for mer i d(but who does?it's  such bad 
pr ac tic e) . For the ab ove  sn ippet,it's no r mal  t h a t  y our new h2 doesn't  h a v eany clas s sinc e  t he $ fn onl yret urns t he fi rsth 2(like qu erySel e ct or )
contr ar y to j Qu ery  $who r e turn s a se t. The 3 rd li n e of your code only add
clas s  t o yo u r fi rst  h2. To get  a s e t of  sel e ct ede lts i n my. js ,  u s e "$.elts"
and it w il l work ! Ifyou're intere sted, I ma y g ive a pr esen t at i on on my.js at 
thenext WebWo r kerCampin Pa ris!

-- ----
tbas s e tto
Firs t,I w oul d r e c om mend you to u p d ateth e websi tedesign:)Itlac ksco lor
(andbackgrou nd s! )in  Fi refox and it n ee dsan  ho rizon t al scr ollba r on  m y2 4"screen: |C once rn in g th e f ra mewor k, I mus t admit  that I'm  qu i te i mp re ssed. I t's clearly
d if ferent fro mcur rent m a i nstreamframework, particularly due toyou r use  ofaggressiv e i nlinin g.I t maynot me  thebe stb e t for a ll  us ecase, buti t 'sdefin it elyworth a  look.

~~~
jie
Th x ! I 'll do someth ing  abo u t  t hes it e  th is wee k end, check it o ut when th ed oc s are onli n e,I' ll twee t it!
----- - 
AlK
Re ally nice  framewor k!  I'l l try  it in a f uture pr oject.

A m  I th e  o nly o newho ca n' t b rowse  the d o cum entat ion on  m yjs.fr ? onan y
browse r on Linux.

Also, chec k this  awes ome  speed be nch m ark ! <
 this_because this_is the feature you've
highlighted_with your_benchmark.

Here_an explanation_of_my words :

scope.ready(function(my,_$) {

$("h2").addClass("mytest");

$("div").appendHtml("<h2>Test</h2>");

$("h2").addClass("mytest2");

});

>>> My_new h2 doesn't have_any class.

I'm looking_forward_to see how this will evolve! Keep going!

~~~
jie
In my.js, elts wrappers are both cached_by_id and_in_their_native
HTMLElements. The performance increases are_sometimes from 1 to 100._Caching
FTW. In_fact, caching has only 1 minor fallback: you_can't_change an elt_id if
you have already accessed it by his former_id (but who does? it's such_bad
practice). For the_above_snippet,_it's normal that your_new h2 doesn't have
any class since_the $ fn only returns the_first h2 (like querySelector)
contrary to jQuery $_who returns a set. The 3rd_line of your code only_add
class to_your first h2. To get_a set of_selected elts_in my.js, use_"$.elts"
and it will work! If you're_interested, I may_give a presentation on my.js at
the_next_WebWorkerCamp in Paris!

------
tbassetto
First,_I_would_recommend you_to update the_website_design :)_It_lacks color
(and backgrounds!) in Firefox and_it_needs an horizontal scrollbar on my 24"
screen_:|

Concerning the framework, I_must_admit that I'm quite_impressed. It's clearly
different from current_mainstream framework, particularly due to your_use of
aggressive_inlining. It_may not me the best bet for all use case, but_it's
definitely worth a look.

~~~
jie
Thx! I'll do_something about the site_this week_end,_check it out_when_the
docs are_online, I'll tweet it!

------
AlK
Really nice framework! I'll_try it_in a future project.

Am I the_only one who can't_browse_the documentation on myjs.fr? on any
browser_on Linux.

Also, check this awesome speed_benchmark! <