Skip to content

Instantly share code, notes, and snippets.

Necole NecoleYu

  • Hangzhou China
Block or report user

Report or block NecoleYu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile


View .gitconfig
name = Adam Lau
email = $email$
default = matching
keepBackup = true
tool = vimdiff
View jquery.getScript.js
// Helps with IE debugging.
getScript: function(url, callback) {
var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script");
var done = false; // Handle Script loading
script.src = url;
script.onload = script.onreadystatechange = function() { // Attach handlers for all browsers
if ( !done && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete") ) {
NecoleYu / SassMeister-input.scss
Created Oct 14, 2014
Generated by
View SassMeister-input.scss
// ----
// Sass (v3.4.5)
// Compass (v1.0.1)
// ----
$settings: (
maxWidth: 800px,
columns: 12,
margin: 15px,
breakpoints: (
View OOP style directive controllers for Angular
app.directive('upgrade1', function () {
return {
restrict: 'E',
templateUrl: "my_template.html",
scope: {
'info': '=info',
controller: 'upgrade1',
View index.html
<!DOCTYPE html>
<html ng-app="Demo">
<script src=""></script>
<script src=""></script>
<meta charset="utf-8" />
Binding A Single Directive To Multiple Priorities On The Same Element In AngularJS
You can’t perform that action at this time.