javascript

Powered by Drupal
By rprice , 24 August 2015

A simple aggregation module for Drupal 7 that reduces the number of aggregated files by: Moving the “System” aggregate to the start of the “Module” aggregate. Preventing modules from adding CSS files with the "screen" media type. (They are converted to "all".) Preventing external CSS files, inline CSS, IE conditional CSS files, or different media type CSS files from splitting aggregate files due to the order they were added to the system. Preventing empty aggregate files from being loaded. Project goal To be a configuration-less aggregation option that works better than core.

By rprice , 19 August 2015

Some servers, like Firebase, Parse and CouchDB already define strict communication protocols for clients, and were good fits for Ember Data. In contrast, servers written in Rails, Node, and Django tend to be written in a "REST-style" but lack the precision necessary for drop-in client code. The REST Adapter in Ember Data implicitly defined a protocol that custom servers could implement to get a drop-in client for all of their resources.

By rprice , 19 August 2015

Some servers, like Firebase, Parse and CouchDB already define strict communication protocols for clients, and were good fits for Ember Data. In contrast, servers written in Rails, Node, and Django tend to be written in a "REST-style" but lack the precision necessary for drop-in client code. The REST Adapter in Ember Data implicitly defined a protocol that custom servers could implement to get a drop-in client for all of their resources.

By rprice , 6 July 2015

I have fallen in love with this kind of architecture. In the past, we would use AJAX and a bit of server-side code to make certain interactions with the page dynamic, but this always involved duplicating logic across both PHP and JavaScript. The most common example of this is a pager, where a direct request to ?page=2 is processed differently than a click on a pager link that takes you to page 2.

By rprice , 11 June 2015

A quick and easy solution to this problem is to have your JS import the breakpoints directly from the CSS values in the DOM. This solution brings the current breakpoint variable into your JS in a way that's Simple & Lightweight DRY Compatible with all browsers that support media queries (IE9+)

By rprice , 6 April 2015

Hello! p5.js is a JavaScript library that starts with the original goal of Processing, to make coding accessible for artists, designers, educators, and beginners, and reinterprets this for today’s web. Using the original metaphor of a software sketchbook, p5.js has a full set of drawing functionality. However, you’re not limited to your drawing canvas, you can think of your whole browser page as your sketch! For this, p5.js has addon libraries that make it easy to interact with other HTML5 objects, including text, input, video, webcam, and sound.

By rprice , 19 March 2015

iLovecoding makes you a confident and resourceful developer – someone who can solve ANY programming task. We have you focus on Javascript-based technology, which is the most popular and versatile language on planet. You will go from mastering the basics to going pro with Javascript Programing Language, Angular JS, jQuery, Node JS, HTML5 & CSS3. In this process, you will become a complete holistic coder, who has a solid understanding of building great software, apps and websites.

By rprice , 3 February 2015

CodePen is for Web Designers and Front End Developers. It is an HTML, CSS, and JavaScript code editor in your browser with instant previews of the code you see and write. It is a searchable trove of your own creations, and a world of other people's creations. A place to troubleshoot, to teach, to learn, to test, and to grow.

By rprice , 12 September 2014

An API module that allows you to define blocks as Angular JS controllers. You define which JS and HTML views to load in a hook in your own module and the information is loaded when that block is requested (you must go to the blocks page and create the Angles block.) Note for developers: You'll want to set angles_cache_blocks to 0 (drupal variable) to turn off the built in view html caching. This module currently requires Context to define the app name. You can bypass this by defining the app name manually in one of the page level templates if you so choose.