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
def sibling = { group, name, version -> | |
try { | |
def dep = project(":$name") | |
if (dep.version == version) { | |
logger.info("Using locally checked out $group:$name") | |
return dep | |
} | |
logger.debug("Version mismatch for $group:$name, expected $version but had ${dep.version}") | |
} catch (UnknownProjectException e) { | |
logger.debug("Project $group:$name was missing") |
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
void function() {//closure | |
var global = this | |
, _initKeyboardEvent_type = (function( e ) { | |
try { | |
e.initKeyboardEvent( | |
"keyup" // in DOMString typeArg | |
, false // in boolean canBubbleArg | |
, false // in boolean cancelableArg | |
, global // in views::AbstractView viewArg |
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
@echo off & SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION | |
SET STR=Test String | |
SET STR | |
call :tolower STR | |
SET STR | |
call :toupper STR | |
set STR | |
goto :EOF | |
:: toupper & tolower; makes use of the fact that string |