angular.element(targetNode).scope();
angular.element(targetNode).isolateScope();
angular.element(document.querySelector('html')).injector().get('MyService');
CREATIVE COMMONS BY |
var pubsub = new Pubsub(); | |
pubsub.subscribe("someEvent", function (message) { | |
console.log('Hello', messge); | |
}); | |
pubsub.publish("someEvent", "world"); | |
pubsub.unsubscribe("someEvent"); |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Mathieu ROBIN <http://www.mathieurobin.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
data = {}; | |
data['a'] = ''; | |
data['b'] = 'a'; | |
data['c'] = 'a@'; | |
data['d'] = 'a@a'; | |
data['e'] = 'a@a.'; | |
data['f'] = '[email protected]'; | |
data['g'] = '[email protected]'; | |
valEngine = new ValEngine(); |
/*! | |
* jQuery UI Bootstrap (0.22) | |
* http://addyosmani.github.com/jquery-ui-bootstrap | |
* | |
* Copyright 2012, Addy Osmani | |
* Dual licensed under the MIT or GPL Version 2 licenses. | |
* | |
* Portions copyright jQuery UI & Twitter Bootstrap | |
*/ |
<div class="container-fluid"> | |
<div class="row-fluid"> | |
<div class="carousel slide" id="myCarousel"> | |
<div class="carousel-inner"> | |
<div class="item active"> | |
<ul class="thumbnails"> | |
<li class="span3"> | |
<div class="caption"> | |
<h5>Caption</h5> | |
</div> |
{ | |
// -------------------------------------------------------------------- | |
// JSHint Configuration, Strict Edition | |
// -------------------------------------------------------------------- | |
// | |
// This is a options template for [JSHint][1], using [JSHint example][2] | |
// and [Ory Band's example][3] as basis and setting config values to | |
// be most strict: | |
// | |
// * set all enforcing options to true |
Ca nécessite à minima : | |
html5shiv : https://github.com/aFarkas/html5shiv | |
base64 : https://code.google.com/p/stringencoders/source/browse/trunk/javascript/base64.js?r=230 | |
JSON 2 : https://github.com/douglascrockford/JSON-js/blob/master/json2.js | |
Respond : https://github.com/scottjehl/Respond | |
Polyfills de toutes les méthodes de Array, Object, String, telles que (non exhaustif) : | |
- Object.keys https://github.com/MathRobin/object.keys | |
- Object.create https://github.com/MathRobin/object.create |
@@||mathieurobin.com/$document | |
@@||mozilla.org/$document | |
@@||korben.info/$document | |
@@||mailjet.com/$document | |
@@||127.0.0.1:3000/$document | |
@@||capitainesante.fr/$document | |
@@||inbox.google.com/$document | |
@@||html2jade.aaron-powell.com/$document | |
@@||github.io/$document | |
@@||github.com/$document |