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);
request.send();
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).
Warnings:
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:
Core:
Rename .from method in Array, Function, String and Number (#2758)(#2760)
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:
Core:
Mousewheel regression fix for Chrome and Firefox. (link)
DOMEvent's wheel property now listens for DOM3 wheel event also. (link)
1.5 is a HUGE bug fix release with roughly 240 commits addressing new browsers that have entered the market as well as new features in the JavaScript language. The team spent a ton of time instrumenting the tests to run against Travis CI and Sauce Labs so that the source code would be easier to test. This will help to make new contributions, fixes and features to the framework and release much more rapidly.
It's easy to underestimate the value of all the work that went into the project over the past two months.
On our road to Version 1.5, we're trying to eliminate some bad practices from our code. One of the things we've just gotten rid of, is that a few last pieces of our libraries still depended on Browser UA detection. This has all been eliminated in favour of feature detection. To help us reach a decision on where to go with the Browser module, here's a quick survey. Reply via @mootools or leave a comment here.
"....TikTok es, fundamentalmente, eso. Una forma de obsesionar a niños para que generen contenido cada vez más provocativo o menos propio de su edad, para ofrecerlo a usuarios de cualquier edad que quieren verlo, y que les hacen sentir que son «estrellas». Si eso no te asusta, es o bien que no tienes hijos, o que eres profundamente irresponsable....." .... Seguir leyendo
A medida que la plataforma ha crecido en popularidad, particularmente durante el confinamiento, una cantidad preocupante de contenido poco saludable sobre trastornos alimentarios ha comenzado a florecer en la red social.
Para los procrastinadores online (que seamos sinceros, durante el confinamiento, fuimos todos nosotros) TikTok es .............
Combatir el acoso escolar y en otros ámbitos está al alcance de cualquiera gracias a estas aplicaciones móviles dirigidas a centros, padres, profesores y alumnos
¿Es una exageración?, o ¿muchos de nosotros lo vemos así?
http://www.twistideas.es/clientes/phonbies/
Ciberbullyng
Lo que ha nadie le gustaría que pasase....
Privacidad
Dime que subes a la red y te diré quien eres..... y alguna cosilla más...
Amistades peligrosas
Si controlas sus amigos del cole, ¿por que no controlas sus amigos de la red?
Grooming
¿Y eso que es lo que eh?.....
Engaño pederesta a menores utilizando la red para ganar su confianza y abusar de ellos.
Campaña Unicef redes
View More
Solo algunas noticias en España
Smartphones
Abandono Escolar
Ciberbullyng
Privacidad
Violencia de Género
Adoctrinamiento
¿Letras de canciones?
Detenciones
Adicción
"España, el país con más «smartphones» por habitante del mundo" España, el país con más «smartphones» por habitante del mundo"
"La adicción a las tecnologías está relacionada con el fracaso escolar y el tabaquismo, según un estudio" Y unas cuantas más.... buscar en google por "abandono escolar adicciones móviles"
"El entorno del chico de 14 años que se ha suicidado en Aguilar de Campoo vincula el hecho al acoso escolar"
"Condenado a 2,5 años de cárcel por instalar un sistema espía en el móvil de su novia"
"Las redes sociales son la nueva forma de ejercer violencia de género"
"La mejor arma del terrorismo islamista: las redes sociales"
"Tengo 8 años y me gusta "que no me quepa en la boca""
"La tres menores de la paliza escolar de Lanzarote grabada en vídeo, detenidas"
"Videoconsola a los 3, tablet a los 6, móvil a los 9... ¿adicción a los 14?"