dean.edwards.name/weblog/2007/04/base2-google/

base2 Moves to Google Code

http://code.google.com/p/base2/

I’ve updated the code a little bit so you may want to re-download. The built libraries are here:

http://base2.googlecode.com/svn/version/1.0(beta2)/

The new packer source code is also included and the packer test page runs off Google’s servers too:

http://base2.googlecode.com/svn/trunk/src/apps/packer/packer.html

Feel free to use the wiki and issue tracking features.

Comments (25)

Leave a comment

Dean, with regard to semicolons; What if you were to add semicolons back into the origonal source, before packing rather than trying to make packer handle the missing cases.

I believe you could probably use Firefox’s Function.toString to your advantage as i believe if you give it code that doesnt have semicolons, the toStringed version will have had the semicolons inserted into the correct place.

I haven’t looked at the code for the new packer so i dont really know how viable that is sorry.

sorry, i am a muppet!

[...] y ya está integrada en Google Code: http://dean.edwards.name/weblog/2007/04/base2-google/ [...]

JFYI, only people on the project’s team can edit the wiki. It’s still a nice service though, thanks for making Base2 open source :)

  • Comment by: Dannii
  • Posted:

Hey Dean, thanks for all the great work! This is going to be so helpful!

I have, what I think, is quite the newbie question. I’ve downloaded the base2-dom-fp.js file, then added the following in my page:

<script type=”text/javascript” src=”base2-dom-fp.js”></script>
<script type=”text/javascript”> var e = base2.DOM.Document.getElementsByClassName(“something”); </script>

When I open this page in Firefox (2.0.0.3 on my Mac), I get the following error:

b has no Properties (base2-dom-fp.js)

Am I missing something here? Just playing around with it to see how it worked…

If you add ping+gaezydgn@cia.vc to the list of addresses to email, you can have better CIA stats. At the moment I’ve set it to poll the svn once an hour.

  • Comment by: Dannii
  • Posted:

Sorry, but I couldn’t work out what the various builds did? What’s the difference?

  • Comment by: Thomas
  • Posted:

I have never used google code before but it seems that there is only the svn working on yours.

@Thomas – I will explain the various libraries at a later date. For the time being I am only supporting base2.DOM:

http://base2.googlecode.com/svn/trunk/lib/base2-dom-fp.js

The -fp suffix indicates that it is a full package (includes all dependencies) and that it is packed.

  • Comment by: -dean
  • Posted:

Hi Dean! I just was looking on the Google-site, but under “downloads” there are no files to download. Is this just a page build to inform about the project?

  • Comment by: Jens
  • Posted:

There are no downloads. The code is still being developed. You can access a developers cut at the address above. Eventually I will serve the code directly from Google’s servers at a permanent URL.

  • Comment by: -dean
  • Posted:

Is there a workaround for the iframe-load thing? Or could it be just an IE problem?

  • Comment by: RV
  • Posted:

It really lets JavaScript look like JavaScript:) I think the idea behind Base2.DOM is great. Let’s make all browsers behave the same by implementing missing features, fixing broken ones and implementing new features. Great stuff, Dean

@ RV : An IE problem I think, but perhaps dean would add more explanations.

  • Comment by: Maxime
  • Posted:

What “iframe-load thing”?

  • Comment by: -dean
  • Posted:

I would like to extend your Array2 class, but you’ve deleted the extend function from it. When I tried to comment that row out I got an error so instead of figuring out how all your code works I thought I’ll just ask you.

How can I extend your Array2 class to create a customized collection?

/JT

Oh and have a look at some other questions I wrote here before I found base2. you’ve probably solved some of them in base2 already.

@Johan – base2 already has a Collection class. If you want to augment Array2 then use the implement() method.

  • Comment by: -dean
  • Posted:

Dean, how can I take part in your community?

  • Comment by: Joachim
  • Posted:

Dean, thanks for this great resources. base 2 is awesome!

  • Comment by: George
  • Posted:

Employment opportunities change after some time often by means of events fully beyond your control. Your enterprise and industry can be dying in addition to budget pieces restrict your chance to do your livelihood and that you are now required to do far more with fewer. Or ones boss is usually beyond stressful, http://www.cheapssoftware.net

It is a fact that the vast majority of first appointments are held for a coffee retail outlet. Such the place is a wonderful idea because doing so has with built conversation from it. So on the subject of the very best spots for just a night to not forget here usually are another couple of.

As we tend to every one apprehend, fashion can be terribly tough that you follow. In a trade anywhere one coloration, material or maybe pattern can be insanely hot a minute or so and entirely out using, there’s very little doubt of which maintaining isn’t a straight frontward task. Not to ever worry, we’re here to work type as a result of all the modern fashion announcement and movements and hold you hoping stylish. http://www.fashionartmusic.org

For anyone who is within vogue, you may very well can view this anyone on the planet enjoys Vogue Week find it irresistible is Winter season. You’re about to comprehend why they’re going to holiday over their base looking for some front-row Harley fit and ogling into the extremely possibilities. http://www.fashionschoenen.org

Fashion lets us know loads around some sort of someone, the best way that they dress, that many people place the attire with concert suggests anyone they are really each time. Possibly even folks that claim not to ever ever things know about see happy the best way that many people feel even so show a tale concerning who they really are as very well as cures try to be. http://www.fashionsmart.org

Contemplating about it’s business enterprise, Seiko could very well be making looks after including superlative style not to mention unequalled good. Their custom expertise could very well be obviously noticed in this range including goods that that many creation, among them fob looks after, deafening frightens, wristwatches, or maybe just sporting happenings designer looks after. http://www.watchessegment.com

Leave A Comment

Line and paragraph breaks automatic, email address never displayed. Some HTML allowed.