Instantly share code, notes, and snippets.

View index.html
<!DOCTYPE html>
<html ng-app="Demo">
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<meta charset="utf-8" />
<title>
Binding A Single Directive To Multiple Priorities On The Same Element In AngularJS
</title>
View OOP style directive controllers for Angular
app.directive('upgrade1', function () {
return {
restrict: 'E',
templateUrl: "my_template.html",
scope: {
'info': '=info',
},
controller: 'upgrade1',
}
});
View SassMeister-input.scss
// ----
// Sass (v3.4.5)
// Compass (v1.0.1)
// ----
$settings: (
maxWidth: 800px,
columns: 12,
margin: 15px,
breakpoints: (
View jquery.getScript.js
// Helps with IE debugging.
jQuery.extend({
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") ) {
View .gitconfig
[user]
name = Adam Lau
email = $email$
[push]
default = matching
[mergetool]
keepBackup = true
[merge]
tool = vimdiff
[core]
View readme.md

此文档为markdown格式的schema补充说明文档,你可以在后台schema管理页面进行编辑。