View select-50-states.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
<select> | |
<optgroup> | |
<option value="AL">Alabama</option> | |
<option value="AK">Alaska</option> | |
<option value="AZ">Arizona</option> | |
<option value="AR">Arkansas</option> | |
<option value="CA">California</option> | |
<option value="CO">Colorado</option> | |
<option value="CT">Connecticut</option> | |
<option value="DE">Delaware</option> |
View select-countries.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
<select> | |
<option value=" " selected>(please select a country)</option> | |
<option value="--">none</option> | |
<option value="AF">Afghanistan</option> | |
<option value="AL">Albania</option> | |
<option value="DZ">Algeria</option> | |
<option value="AS">American Samoa</option> | |
<option value="AD">Andorra</option> | |
<option value="AO">Angola</option> | |
<option value="AI">Anguilla</option> |
View jsonp.php
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
<?php | |
// Note: The user-provided callback name must be filtered to prevent attack | |
// vectors. This script simply removes any symbols other than `[a-zA-Z0-9$_]` | |
// from the input. Sadly, this blocks the use of some valid JavaScript | |
// identifiers, and also accepts a few invalid ones. See | |
// http://mathiasbynens.be/notes/javascript-identifiers for details. | |
$callback = isset($_GET['callback']) | |
? preg_replace('/[^a-zA-Z0-9$_.]/s', '', $_GET['callback']) | |
: false; |
View cordova-detect-ios7.js
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
var ios7 = (device.platform == 'iOS' && parseInt(device.version) >= 7); | |
if (ios7) { | |
// iOS 7 | |
} |
View devices.json
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
[ | |
{ | |
"Device Name":"Acer Iconia Tab A1-810", | |
"Platform":"Android", | |
"OS Version":"4.2.2", | |
"Portrait Width":"768", | |
"Landscape Width":"1024", | |
"Release Date":"2013-05" | |
}, | |
{ |
View angular-filter-trusted.js
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
.filter('trusted', ['$sce', function ($sce) { | |
return function(url) { | |
return $sce.trustAsResourceUrl(url); | |
}; | |
}]) |
View ionic-splitview-fix.css
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
/* hide menu-toggle button while side menu is open */ | |
.aside-open [menu-toggle] { | |
display: none !important; | |
} |
View ionic-splitview-iphone6plus.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
<ion-side-menu expose-aside-when="(min-width:736px)"> | |
</ion-side-menu> |
View angular-filter-tel.js
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
.filter('tel', function () { | |
return function (tel) { | |
if (!tel) { return ''; } | |
var value = tel.toString().trim().replace(/^\+/, ''); | |
if (value.match(/[^0-9]/)) { | |
return tel; | |
} |
OlderNewer