Skip to content

Instantly share code, notes, and snippets.

View bellaajhabib's full-sized avatar

Habib Bellaaj bellaajhabib

View GitHub Profile
@bellaajhabib
bellaajhabib / app.component.ts
Created October 30, 2020 00:39
*** Extraits de code : Premiers pas avec Angular. ***
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: `<h1>Hello {{name}}</h1>`,
})
export class AppComponent { name = 'Angular'; }
@bellaajhabib
bellaajhabib / gist:2da073ccefe05b3c80c3
Last active August 27, 2015 13:19 — forked from codemasta92/gist:1555328
Button class with EaselJS
(function(k) {
var Button = function(a, x, y) {
this.initialize(a,x,y)
},p = Button.prototype = new DisplayObject;
p.left = 0;
p.top = 0;
p.ypos = 0;
p.image = null;
p.snapToPixel = true;