14 Jan 2016


1.6.0 is out!

Today marks the release of MooTools Core and More versions 1.6.0. This is a minor revision that delivers a number of bug fixes as well as the introduction of new features.

The main new adition is Class.Thenable which is a new Class mixin that can be used in Promise style flows by using its then method. When implemented in a Class, it makes the class "thenable" in the Promises/A+ sense of the word, meaning it can be used in Promise style flows by using its then method.

The implementation, however, is more than just a "then" method. Any instance of a Class implementing Class.Thenable is a Promises/A+ compliant object (generally referred to as "a Promise") with only one exception: it is possible to reset the Class's value resolution state fully (rejecting pending reactions, and starting empty) to support a Class instance living for longer than just the lifetime of one value resolution.

Example using Request:

var request = new Request();
request.send().then(function(response){ console.log(response.text); });

Example hooking into a native Promise:

var request = new Request();
var promise = Promise.resolve(request);
promise.then(function(response){ console.log(response.text); });

You can find this new version 1.6.0 in the website or within the dist folder of the 1.6.0 tag (Core).


IE warning: This will be the last version to support old IE browsers. Next minor and/or major versions should be only IE11+ compatible. We might still release some patch in the 1.6.x version if needed.

Array.from deprecated, now called Array.convert: Following the conclusion of the ES6 specs we know now that Array.from will have a different implementation than the one MooTools uses.
Because of this we renamed Array.from to Array.convert to not overwrite the Native implementation.
We kept it as it was though in the compat layer for compatibility reasons if you really to use it still.

To keep the API consistency we changed also the name of the method in Function, Number and String Types.

The main changes in this release are:



14 Jan 2016 12:00pm GMT

13 Sep 2015


1.5.2 is out!

Today we release MooTools Core versions 1.5.2. In this new version there are some fixes for raised issues and also some new stuff!

You can find the new version in the dist/ folder of the Github repo or on the website.

The main things in this release are:



13 Sep 2015 12:25pm GMT

29 Aug 2014


1.5.1 is out!

Today we release MooTools Core and More versions 1.5.1. This continues our improvement work for both Core and More and introduces also some features that were in the queue for being added. This release fixes also a regression related to the mousewheel event.
When preparing the 1.5 release we decided that Core 1.5.x will work with More 1.5.x. This means that, inside the 1.5 space, versions should be compatible and you might be seeing Core or More releases that are not simultaneous.

In 1.5.1 we added a new dist/ folder in Core, present at the tagged commit, for those who want the Core source, as well as a needed update so you can get MooTools via Bower.

Worth a notice is also the new MooTools Packager. MooTools has always been about modularity, and for those of you that want to choose which modules to use you can now use the new MooTools Packager (for Node.js/Grunt), as well as the website builder. The new Packager allows to compile source files from the dependencies in the YAML header. You can find it on GitHub and NPM.

The main things in this release are:



29 Aug 2014 12:25pm GMT

15 Jun 2008

feedmootools forums

Extending Request class → Request.HTML stops working in General : Get Help: Advanced

Topic: Extending Request class → Request.HTML stops working Message: I have extended the Request class to create this sort of functionality. However; this causes the Request.HTML to stop working. I think I understand what the problem is, but I am unsure if this should be considered impossible, or simply a bug? A simple testcase; running on top of 1.2 Request = new Class({ Extends: Request, initialize: function(options) { this.parent(options); this.addEvent('onRequest', this.onAjaxRequest); }, onAjaxRequest: function() { alert('waa?'); }, }); console.log(new Request({url: '/'})); console.log(new Request.HTML({url: '/'})); This code throws 'Request.HTML is not a constructor' when the second Request is performed. Any ideas on how to fix this?

15 Jun 2008 7:24pm GMT

modal popup w/ arrows and easy placement for 1.11 in Contribute : Your Scripts

Topic: modal popup w/ arrows and easy placement for 1.11 Message: Good job! Unfortunately it does not work with opera 9.5 :( The position of the modal window is messed up.

15 Jun 2008 4:39pm GMT

The forums are kind of down in General : Abstract

Topic: The forums are kind of down Message: Since the 1.2 release; the forum homepage says 'MooTools websites are under maintenance. We'll be back soon with new content.'. It seems to me someone forgot to update the index.php?

15 Jun 2008 2:33pm GMT