"@angular/common": "2.0.0-rc.1",
"@angular/compiler": "2.0.0-rc.1",
"@angular/core": "2.0.0-rc.1",
"@angular/http": "2.0.0-rc.1",
"@angular/platform-browser": "2.0.0-rc.1",
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
"@angular/router-deprecated": "2.0.0-rc.1",
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var threshold = 6; | |
var service = { | |
isCommandEntered: function isCommandEntered(commands, commandToFind){ | |
return commands.map(function(value, index, self){ | |
var n=1; | |
while(self[++index]===value) ++n; | |
return {command: value, weight: n}; | |
}) | |
.filter(function(value, index, self){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Mentions légales : | |
// Ce code est utilisé dans un but d'exemple et de sensibilitation UNIQUEMENT. | |
// J'espère grâce à cet exemple que Crédit Agricole va sécuriser un peu plus cette phase de connexion ^^ | |
// Exemple 1 | |
// Pour accéder directement au formulaire de connexion, Utilisez ce lien. | |
window.location.href="https://www.illeetvilaine-g4-enligne.credit-agricole.fr/stb/entreeBam?TOP_ORIGINE=V&vitrine=O&largeur_ecran=800&hauteur_ecran=600&origine=vitrine&situationTravail=BANQUAIRE&canal=WEB&typeAuthentification=CLIC_ALLER&urlOrigine=http://www.ca-illeetvilaine.fr&tracking=O"; | |
// Exemple 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="../typings/tsd.d.ts" /> | |
import {Injectable, bind} from 'angular2/di'; | |
// error TS2307: Cannot find module 'angular2/src/router/location_strategy'. | |
import {LocationStrategy} from 'angular2/src/router/location_strategy'; | |
class MockServerHistory implements History { | |
length: number; | |
state: any; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
//this hook installs all your plugins | |
// add your plugins to this list--either | |
// the identifier, the filesystem location | |
// or the URL | |
var plugins = require('./plugins/fetch.json'); | |
var pluginlist = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<link rel="icon" href="data:;base64,iVBORw0KGgo="> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Gauge(placeholderName, configuration) | |
{ | |
this.placeholderName = placeholderName; | |
var self = this; // some internal d3 functions do not "like" the "this" keyword, hence setting a local variable | |
this.configure = function(configuration) | |
{ | |
this.config = configuration; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export var ObserverService = (function(){ | |
// MUST be an object | |
var data = {}; | |
return class ObserverService { | |
constructor () {} | |
api() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export let MyModule = angular.module('MyModule', []); |
OlderNewer