background preloader

Javascript

Facebook Twitter

Ladda. Intern: A next-generation JavaScript testing stack. PathFinding.js. Click within the white grid and drag your mouse to draw obstacles.

PathFinding.js

Drag the green node to set the start position. Drag the red node to set the end position. Welcome - Polymer. Two.js. Verlet-js. Responsive Retina-Friendly Menu. How to Create High-Performance Code. 16 milliseconds is not a lot of time.

How to Create High-Performance Code

Try eating a hotdog that fast – though I swear I’ve seen our dog go through a beef sausage in under 100 milliseconds. If you want your game to run at 60 frames per second, 16 milliseconds is all you have to get everything done: moving bullets around, creating new entities, drawing sprites, checking collisions, tracking and changing states, handling input and playing sound. Whatever happens regularly in the main game cycle needs to operate as efficiently as possible. Even at a lower-performing frame rate of 30 per second, you’ll still only have 32 milliseconds to get everything done. Superhero.js.

Conditionizr: the conditional free legacy, retina, script and style loader. Parsley.js. Typeahead.js. Porizm. The free tooltip. Dynamo.js. Breeze.js. Bryntum. Overview Siesta is a JavaScript unit testing tool that can help you test any JavaScript code and also perform testing of the DOM and simulate user interactions.

Bryntum

The tool can be used together with any type of JavaScript codebase – jQuery, Ext JS, NodeJS, Dojo, YUI etc. Using the API, you can choose from many types of assertions ranging from simple logical JS object comparisons to verifying that an HTML element is visible in the DOM. Turns Select Element into User Friendly Graphical Interface. Image Picker is a simple jQuery plugin that transforms a select element into a more user friendly graphical interface.

Turns Select Element into User Friendly Graphical Interface

It works great on both single and multiple select elements. It falls back nicely for clients without JavaScript enabled. It also integrates nicely with Twitter’s Bootstrap markup. Simply add the attribute data-img-src with the url of the image you want to use as a preview. Experiment Online Writable Book Using Jquery Plugins. Lately I’ve been playing with some jquery plugin, one of them is flipbook jquery plugin.

Experiment Online Writable Book Using Jquery Plugins

And I have an simple idea to creating an online application that look like a book that can be edited on the fly, which mean do not need admin area to edit the content. This example only presenting the front end, each page are editable using inline rich text editor, if the content are longer than the page height it will presented using scroller. I’m just thinking maybe this idea can be applied to became wordpress theme, and maybe good for some history writer. Plugin & Sound Used. Quintus HTML5 Game Engine. JSONLint - The JSON Validator. BootMetro. Metro-bootstrap: Twitter Bootstrap with Metro style. JavaScript Maps. Collie - High Performance Animation Library for Javascript. xCharts. HTML_CodeSniffer. Check that your HTML code conforms to your coding standard HTML_CodeSniffer is a client-side script that checks HTML source code and detects violations of a defined coding standard.

HTML_CodeSniffer

HTML_CodeSniffer is written entirely in JavaScript, does not require any server-side processing and can be extended by developers to enforce custom coding standards by creating your own "sniffs". To get you started, HTML_CodeSniffer comes with standards that enforce the three conformance levels of the Web Content Accessibility Guidelines (WCAG) 2.0, and the web-related components of the U.S. Telescope, an open-source social news app built with Meteor. Shopify.github.com/dashing/ Turn.js: Make a flipbook with HTML5. Opal: Ruby to Javascript compiler.

Viewport resizer - responsive design testing tool. Scripted-editor/scripted. Meny - A three dimensional and space efficient menu concept. Deployd. Welcome to TypeScript. BonsaiJS - A Graphics Library. Socialite.js. eBay Open Source. Restcommander Fast Parallel Async HTTP client as a Service to monitor and manage 10,000 web servers.

eBay Open Source

(Java+Akka) Updated bayesian-belief-networks Pythonic Bayesian Belief Network Package, supporting creation of and exact inference on Bayesian Belief Networks specified as pure python functions. Airbnb.github.com/infinity/infinity.js. Hakimel/reveal.js. 15 More Twitter Bootstrap Resources. Twitter Bootstrap now gaining popularity in web development area, because it providing many common usable user interface component, combining with nice simple themes, css framework and javascript element.

Many tutorial and resources has been developed to help us getting familiar with bootstrap, in today post I post some more bootstrap resouces that might be useful, I say it “more” cause there are the same article showing bootstrap resources and tools (posted on the bottom of this post), well at least these haven’t been listed before. Yii Bootstrap. BigScreen. BigScreen.request(element[, onEnter, onExit, onError]) Request that an element go into full screen.

BigScreen

If the element is falsy, the documentElement will be used instead. You can only call this from a user-initiated event, otherwise the browser will deny the request. That means click, key, or touch events. In addition, if your page is inside an <iframe> it will need to have the allowfullscreen (and webkitallowfullscreen and mozallowfullscreen) attribute set on the <iframe>. Finally, BigScreen will try to fall back to full screen for <video> if there is a child <video> in the element you pass and the browser supports it (see BigScreen.videoEnabled)).

Piecon / Pie charts in your favicon! TaffyDB - The JavaScript Database. Jam - The JavaScript package manager. Compressed.tracemonkey-pldi-09.pdf. EpicEditor - An embeddable JavaScript Markdown editor. Mousetrap - Keyboard shortcuts in Javascript. Colorpicker for Bootstrap, from Twitter. Datepicker for Bootstrap, from Twitter. Example Attached to a field with the format specified via options.

Datepicker for Bootstrap, from Twitter

Attachet to a field with the format specified via data tag. As component. Start with years viewMode. Limit the view mode to months Attached to other elment then field and using events to work with the date values. Disabling dates in the past and dependent disabling. Brackets. A lightweight JavaScript graph drawing library. Mobile Emulator. Wysihtml5 - A better approach to rich text editing. DeftJS. Crossfilter. Fast Multidimensional Filtering for Coordinated Views Crossfilter is a JavaScript library for exploring large multivariate datasets in the browser.

Crossfilter

Crossfilter supports extremely fast (<30ms) interaction with coordinated views, even with datasets containing a million or more records; we built it to power analytics for Square Register, allowing merchants to slice and dice their payment history fluidly. Since most interactions only involve a single dimension, and then only small adjustments are made to the filter values, incremental filtering and reducing is significantly faster than starting from scratch.

Crossfilter uses sorted indexes (and a few bit-twiddling hacks) to make this possible, dramatically increasing the perfor­mance of live histograms and top-K lists. Faye: Simple pub/sub messaging for the web. Countdown that doesn't sucks. Filepicker.io. The Miso Project. ElFinder - file manager for web. Customized Facebook, Twitter, Google Buttons Using Cross Browser CSS3. Interaction Design and Design Strategy. Morris.js. Harvesthq/chosen - GitHub. {{ mustache }} A Conditional Loader For Your Polyfills! Prefix free: Break free from CSS vendor prefix hell! -prefix-free lets you use only unprefixed CSS properties everywhere. It works behind the scenes, adding the current browser’s prefix to any CSS code, only when it’s needed. The target browser support is IE9+, Opera 10+, Firefox 3.5+, Safari 4+ and Chrome on desktop and Mobile Safari, Android browser, Chrome and Opera Mobile on mobile.

If it doesn’t work in any of those, it’s a bug so please report it. Just before you do, please make sure that it’s not because the browser doesn’t support a CSS3 feature at all, even with a prefix. In older browsers like IE8, nothing will break, just properties won’t get prefixed. Test the prefixing that -prefix-free would do for this browser, by writing some CSS below: Tmpltr. Toxiclibs.js - Open-Source Library for Computational Design. There are several areas where toxiclibs.js stands apart to remain more idiomatic and helpful in the javascript environment. For a complete description of the conveniences added to toxiclibs.js, read the sugar file in the repository. Some examples of these differences are:

JSZip: JavaScript zip class. 25 Secrets of the Browser Developer Tools – AndiSmith.com. Over the last few years there has been one tool that has helped out every web developer more than any other – the browser developer tools. Working in harmony with the web browser, the developer tools allows us to manipulate DOM elements, CSS styles, JavaScript and other useful information from the same window often in real time. Historically developers have used Firefox's Firebug add-on to develop and debug their websites, but more recently each browser has developed its own set of tools and each comes with its own advantages and disadvantages. Nowadays it seems hard to imagine ever building a website without one of these handy tools, which are normally accessible by either pressing "F12″ in Windows or "Cmd" ⌘, "Option" ⌥ and "I" on the Mac, or by right clicking on the page and selecting “Inspect Element”.

But are you using the developer tools to their full potential? The "Console" Tab Referencing the current element. Pie 3D chart specification sheet. Code Snippets. Observables. Knockout is built around three core features: Observables and dependency tracking Declarative bindings Templating On this page, you’ll learn about the first of these three. But before that, let’s examine the MVVM pattern and the concept of a view model. Patterns For Large-Scale JavaScript Application Architecture.

Node.js

jQuery. Cloudhead/less.js - GitHub. Understanding the Publish/Subscribe Pattern for Greater JavaScript Scalability. Design patterns are an invaluable tool for modern JavaScript developers, providing us with generalized reusable solutions to commonly occurring problems in application design that we can apply to our own problems.

In addition, they provide the community with a common vocabulary we can use to discuss our designs, which can often be a non-trivial process. Today, we'll be exploring a design pattern so common to JavaScript development, you've probably used it before, whether you were aware of it or not. It's called the Observer pattern and is often referred to and implemented nowadays as the publisher/subscriber (pub/sub) pattern. The Observer (Pub/Sub) pattern. CoffeeScript. Mobilizer.

DocumentCloud's VisualSearch.js. Rapid Prototyping with flickrBomb - ZURB Playground - ZURB.com. HTML5 Boilerplate - A rock-solid default template for HTML5 awesome. Initializr - Start your HTML5 project in 15 seconds! Ten Oddities And Secrets About JavaScript - Smashing Magazine. Main Page. Online javascript beautifier. Web Development. Microjs: Fantastic Micro-Frameworks and Micro-Libraries for Fun and Profit!

jQuery's Best Friends. JavaScript Garden. Although JavaScript deals fine with the syntax of two matching curly braces for blocks, it does not support block scope; hence, all that is left in the language is function scope. function test() { // a scope for(var i = 0; i < 10; i++) { // not a scope // count } console.log(i); // 10} There are also no distinct namespaces in JavaScript, which means that everything gets defined in one globally shared namespace. HSL Color Picker - by Brandon Mathis. HSL (Hue, Saturation, Luminosity) allows us to describe meaningful relationships between colors. The Best Cheat Sheets for Web Developers. Cheat sheet is a reference tool that provides simple, brief instructions for accomplishing a specific task.