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
git submodule add -b v0.0.55 -- git@github.com:ubuntudesign/vanilla-framework.git _sass/vanilla-framework |
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 | |
$loggedIn = false; | |
if (isset($_POST["user"]) && !empty($_POST["user"]) && isset($_POST["pass"]) && !empty($_POST["pass"])) { | |
$user = $_POST["user"]; | |
$password = "a"; // This is the password to view images | |
$value = $_POST["pass"]; | |
if (strtolower($value) == $password) { // Check the password matches the value | |
$loggedIn = true; |
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
this.appSearch = function($query){ | |
if($query != ''){ | |
var listFilesContents = ''; | |
fileList = _parent.fileSystem.getFiles(); | |
var listContents = ''; | |
var i = this.totalApps.length; | |
var tempArray = new Array(); | |
var patt1 = new RegExp($query,"gi"); | |
while(i--){ | |
tempArray = this.totalApps[i].name.match(patt1); |
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
core.setEqualHeight = function() { | |
var maxHeight = 0; | |
var heightArray = Array(); | |
var collection = Y.all('.equal-height'); | |
collection.each(function(node) { | |
node.all(' > div, > ul li').each(function(node) { | |
if(node.get('clientHeight') > maxHeight){ | |
maxHeight = node.get('clientHeight'); | |
} | |
}); |
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
if(Modernizr){ | |
if (!Modernizr.svg || !Modernizr.backgroundsize) { | |
Y.all("img[src$='.svg']").each(function(node) { | |
node.setAttribute("src", node.getAttribute('src').toString().match(/.*\/(.+?)\./)[0]+'png'); | |
}); | |
} | |
} |
NewerOlder