background preloader

JavaScript

Facebook Twitter

Typescript

Comment déminifier un code Javascript - Korben. Comment déminifier un code Javascript Vous avez enfin trouvé le JavaScript qu'il vous faut, mais Ô rage, Ô désespoir, celui-ci est tellement minifié qu'il en est incompréhensible !

Comment déminifier un code Javascript - Korben

Minifié, pour ceux qui l'ignorent, ça veut dire que le code a été compacté tout simplement en supprimant tout l'indentation, les espaces et en réduisant le nom des variables. Arrêtez donc de vous lamenter sur ce monde cruel et sur le statut précaire des développeurs face à toutes ces minifications sauvages ! Dites stop et adoptez JS Nice. Non, ce n'est pas un service mis au point par Bono.

Language (javaScript JS)

Javascript tools. Microjs: Fantastic Micro-Frameworks and Micro-Libraries for Fun and Profit! Testing. HTML Javascript CSS for Mobile. External Interface Tip « ActionScript 3, Flash, Flex Reflections. This article will treat solutions to “swfObject.callback() is not a function” problem when using ExternalInterface in Flash/Flex.

External Interface Tip « ActionScript 3, Flash, Flex Reflections

Ok, not so long ago I had to test some interaction between JavaScript and ActionScript. It wasn’t the first time I was using EI, and since it’s always good to start from a working examle, I set up the one provided by Adobe, test it – works fine. Android-scripting - Scripting Layer for Android brings scripting languages to Android. SL4A's source has moved to github.

android-scripting - Scripting Layer for Android brings scripting languages to Android.

The issue tracker, wiki, and downloads will continue to be hosted here. Scripting Layer for Android (SL4A) brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device. These scripts have access to many of the APIs available to full-fledged Android applications, but with a greatly simplified interface that makes it easy to get things done. Scripts can be run interactively in a terminal, in the background, or via Locale. Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and shell are currently supported, and we're planning to add more. SL4A is designed for developers and is alpha quality software.

Douglas Crockford - Google+ - JSDev JavaScript is a difficult language to test with.… JSDev JavaScript is a difficult language to test with.

Douglas Crockford - Google+ - JSDev JavaScript is a difficult language to test with.…

Unit testing wants to pull each function out to be tested individually, but that extraction can break the amazing implicit structures that nesting can produce. We know how to use closure to obtain privacy, but some advocate the refusal of privacy to favor testability. That is a terrible tradeoff. So I'm thinking that I want to insert some testing infrastructure directly into my program, delivering direct, explicit access to the private material. Douglas Crockford.

Convert

Chart - ELYCHARTS. JS examples. Methodology (JS) Javascript - les boîtes de dialogue. Window.document.getElementById() - Référence Tout JavaScript. Lib (JavaScript) Others lib. Ajax (informatique) Un article de Wikipédia, l'encyclopédie libre.

Ajax (informatique)

Pour les articles homonymes, voir Ajax. L'architecture informatique Ajax (acronyme d'Asynchronous JavaScript and XML) permet de construire des applications Web et des sites web dynamiques interactifs sur le poste client en se servant de différentes technologies ajoutées aux navigateurs web entre 1995 et 2005. Ajax combine JavaScript, les CSS, XML, le DOM et le XMLHttpRequest afin d'améliorer maniabilité et confort d'utilisation des Applications Internet Riches (abr. PolyCrypt (a WebCrypto / Web Cryptography implementataion) Comparison of JavaScript frameworks. W3Schools Online Web Tutorials. Html - Inline onclick JavaScript variable. DLFP: WebODF et Sylpheed. WebODF.

Tuto

Javascript/AJAX. jQuery Before/After Plugin. About a month ago I was reading the New York Times online and they had an article which showed a road in Brooklyn that had been reconstructed to make it safer and more pleasing to the eye.

jQuery Before/After Plugin

To show the difference in the reconstruction project, they showed a before and after picture using Flash that let the visitor drag a slider over the images, which were sandwiched with one on top of the other, so that you could easily see how dramatic the changes were. I immediately thought that this could be done in JavaScript using jQuery, so I set out to do it. Here’s the result: Pretty slick no? The possibilities for this plugin are endless. Download Go to the Before/After download page What’s So Great About this Plugin?

Slick effect, no Flash neededIt’s just 7K (4K compressed)Reusable on multiple containersDegradable. AutoSuggest: An AJAX auto-complete text field : CSS . XHTML . Javascript . DOM, Development : Brand Spanking New. Kk said Jeffrey Ropp said Nicely done. For some reason, my results dont appear within a scroll area? I copied most of your CSS and still can't get it to work. I've also found that my results aren't always qualified by the first character provided. Try an "S" first. Any thoughts would be appreciated! Thanks, Jeff. Jsdo.it - Share JavaScript, HTML5 and CSS. Tipped - The Javascript Tooltip Framework. Tipped allows you to easily create beautiful tooltips using the jQuery Javascript library.

Tipped - The Javascript Tooltip Framework

Evolved from the popular Prototip library, Tipped takes tooltips to the next level by using HTML5 to give you full control over the look and feel of your tooltips. Canvas graphics The entire skin of the tooltip, from shadow to loading icon, is drawn using Canvas. This means that tooltip styles can easily be changed without having to create any images. Canvas based tooltips also have the advantage that they look great in every browser, even in IE6! Hoisting - Glossaire. Le hoisting (en français, "hissage") est un terme que vous ne trouverez dans aucune prose de spécification normative avant l'ECMAScript® 2015.

Hoisting - Glossaire

Javascript lib libraries

Boom. HTTP-friendly error objects Lead Maintainer: Eran Hammer boom provides a set of utilities for returning HTTP errors.

boom

Each utility returns a Boom error response object which includes the following properties: isBoom - if true, indicates this is a Boom object instance. Note that this boolean should only be used if the error is an instance of Error. Nock/nock: HTTP server mocking and expectations library for Node.js. Faker. Demo Usage Browser var randomName = fakername; var randomEmail = fakerinternet; var randomCard = fakerhelpers; Node.js.

faker

Property-based testing : Un contrat d’interface en béton.

React

Sequelize: An Introduction (1/TBD) Build a Node.js App With Sequelize [1] - Connection & Model. Build a Node.js App With Sequelize [2] - UI & Handlebars. Build a Node.js App With Sequelize [3] - Add & Search.