Skip to content

Instantly share code, notes, and snippets.

View vinothbabu's full-sized avatar
🤘

Thalaivar vinothbabu

🤘
  • Chennai, TamilNadu
View GitHub Profile
@vinothbabu
vinothbabu / circular-references.php
Created November 1, 2013 00:35
circular references
<?php
class Vinoth {
public $f;
}
class Kevin {
public $f;
}
@vinothbabu
vinothbabu / dojo editor
Created March 22, 2015 22:18
Dojo Editior template
<!DOCTYPE html>
<html>
<head>
<link href="//ajax.googleapis.com/ajax/libs/dojo/1.10.1/dijit/themes/claro/claro.css" rel="stylesheet" type="text/css" />
<script src="//ajax.googleapis.com/ajax/libs/dojo/1.10.1/dojo/dojo.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body class="claro" style="height:500px; width: 100%">
angular.element(document.querySelector('[ng-app]').injector()
.invoke(function($rootScope){
var per = performance.now();
$rootScope.$apply();
console.log(performance.now() - per);
})
});
This file has been truncated, but you can view the full file.
/**
* @license AngularJS v1.2.20
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, document, undefined) {'use strict';
/**
* @description
*