Request.REST = new Class({ Extends: Request, options: { secure: true }, initialize: function(options){ options.urlEncoded = false options.emulation = false this.parent(options) var encoding = (this.options.encoding) ? '; charset=' + this.options.encoding : '' Object.append(this.headers, { 'Accept': 'application/json', 'X-Request': 'JSON', 'Content-Type': 'application/json' + encoding }) }, success: function(text){ var json try { json = this.response.json = JSON.decode(text, this.options.secure) } catch (error){ this.fireEvent('error', [text, error]) return } if (json == null){ this.failure() } else { this.onSuccess(json, text) this.resolve({json: json, text: text}) } }})
“Has anyone else had these thoughts? What frameworks have you migrated to and why?”
I started using MooTools some years back, at the time because a lot of our clients were using it and I wanted to understand it. Also, they were using a lot of public widgets as plugins that were causing critical accessibility issues for disabled users such as non-sighted screen reader users. So I started working on an accessible widget archive that automatically integrated all of the most recent advancements in ARIA and accessible development principles, and made this as a plugin for MooTools Core that ties into the rendering processes for MooTools. This is available here in case it’s of interest.
https://github.com/accdc/tsg-mootools
The AccDC Bootstrap for MooTools module uses the same integration, and normalizes standard HTML markup and turns it into dynamic accessible interactive widgets automatically, which is meant to be used within template engines and the like.
http://whatsock.com/bootstrap/mootools/
At any rate, this is what I’ve been doing with it.
All the best,
Bryan
--
---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mootools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mootools-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mootools-user...@googlegroups.com.