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> | |
<head> | |
<title>Test</title> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<p></p> | |
</body> | |
</html> |
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> | |
<head> | |
<title>JS tests</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://code.jquery.com/qunit/qunit-1.17.1.css"> | |
</head> | |
<body> | |
<div id="qunit"></div> |
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> | |
<head> | |
<title>Test</title> | |
<meta charset="UTF-8"> | |
<!--For latest revision updates see https://developers.google.com/speed/libraries/ --> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script> | |
</head> | |
<body> | |
<p></p> |
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> | |
<head> | |
<title>HTML5ng+jq</title> | |
<meta charset="UTF-8"> | |
<!--For latest revision updates see https://developers.google.com/speed/libraries/ --> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | |
</head> | |
<body> |
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> | |
<head> | |
<title>HTML5ng+jq+bs</title> | |
<meta charset="UTF-8"> | |
<!--For latest revision updates see https://developers.google.com/speed/libraries/ --> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | |
<script src="js/app.js"></script> | |
<!--For latest revision updates see http://www.bootstrapcdn.com/ --> |
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 link-> http://codeinthehole.com/writing/inspecting-javascript-objects/ | |
https://github.com/codeinthehole/js-nuggets/ | |
*/ | |
var Inspect = { | |
TYPE_FUNCTION: 'function', | |
// Returns an array of (the names of) all methods | |
methods: function(obj) { | |
var testObj = obj || self; | |
var methods = []; | |
for (prop in testObj) { |
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
#!/bin/bash | |
# Installation of Drupal, modules and themes with drush commands | |
# from http://www.drushcommands.com/drush-7x/pm/pm-download | |
# Specific revisions of each module are installed. Research each | |
# module to confirm that you are installing the lastest revision. | |
# Instructions for installation | |
# SFTP this file into your installation directory |
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> | |
<head> | |
<title>My Markdown Reader</title> | |
<meta charset="UTF-8"> | |
<!--For latest revision updates see https://developers.google.com/speed/libraries/ --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.2.3/showdown.min.js"></script> | |
<!--Read a markdown file and render it as HTML--> |
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
try {//confirm if angular is loaded | |
console.log('Angular version: ' + angular.version.full + ' loaded.');} | |
catch(err) { | |
console.log('Were you expecting angular ...'); | |
console.log(err); | |
} |
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
try {//confirm if jQuery is loaded | |
console.log('jQuery version: ' + $.fn.jquery + ' loaded.');} | |
catch(err) { | |
console.log('Were you expecting jQuery ...'); | |
console.log(err); | |
} |
OlderNewer