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> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> | |
<title>iScroll demo: probe</title> | |
<script type="text/javascript" src="../../build/iscroll-probe.js"></script> |
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
--- bundle/programs/server/packages/meteor.js 2013-11-25 08:41:18.000000000 -0500 | |
+++ meteor-patched.js 2013-11-25 08:55:41.000000000 -0500 | |
@@ -922,7 +922,8 @@ | |
if (process.env.ROOT_URL && // 1 | |
typeof __meteor_runtime_config__ === "object") { // 2 | |
__meteor_runtime_config__.ROOT_URL = process.env.ROOT_URL; // 3 | |
- var pathPrefix = Npm.require('url').parse(__meteor_runtime_config__.ROOT_URL).pathname; // 4 | |
+ var pathPrefix = process.env.ROOT_URL_PATH_PREFIX || | |
+ Npm.require('url').parse(__meteor_runtime_config__.ROOT_URL).pathname; // 4 | |
__meteor_runtime_config__.ROOT_URL_PATH_PREFIX = pathPrefix === "/" ? "" : pathPrefix; // 5 |
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
// fix bootstrap dropdown unclickable issue on iOS | |
// https://github.com/twitter/bootstrap/issues/4550 | |
$(document).on('touchstart.dropdown.data-api', '.dropdown-menu', function (e) { | |
e.stopPropagation() | |
}) |
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
GitSource.prototype._clone = function(fn) { | |
var self = this, | |
timeout = 5000, | |
handle, | |
child, | |
errOutput = []; | |
//console.log('git clone') | |
if (!fs.existsSync(this.sourcePath)) { | |
child = exec('git clone --progress ' + self.url + ' "' + this.sourcePath + '"', function(err, stdout, stderr) { |
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 flow = webdriver.promise.controlFlow(); | |
var finish = function (done) { | |
driver.quit().then(function () { | |
done(); | |
}); | |
}; | |
var error = function (e) { | |
driver.quit().then(function () { |
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 beforeFilters = { | |
authenticate: function (context, page) { | |
var user | |
if (Meteor.loggingIn()) { | |
console.log('authenticate: loading') | |
//context.redirect( Meteor.loadingPath() ) | |
if (!page.origTemplate) { | |
page.origTemplate = page.templateName | |
} |
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> | |
<script src="http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js"></script> | |
</head> | |
<body class="yui3-skin-sam"> | |
<div id="app"></div> | |
<script> |
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> | |
<script src="http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js"></script> | |
</head> | |
<body class="yui3-skin-sam"> | |
<div id="app"></div> | |
<script> |
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> | |
<!-- | |
Example of YUI 3.3.0 DataTable with Row Selection, Copy, Add, and Delete | |
Copyright 2011 Adrian Lanning | |
License: MIT, GPL | |
--> |
NewerOlder