This file contains hidden or 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 (/android/i.test(navigator.userAgent)) | |
{ | |
/* | |
* there is an issue with click "bleed through" on absolutely positioned elements on | |
* android devices which is why we need to go though the trouble of preventing the actual | |
* click event. | |
* see: http://code.google.com/p/android/issues/detail?id=6721 | |
*/ | |
var prevent = false; |
This file contains hidden or 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 | |
if .%1. == .. ( | |
echo USAGE: %0 [product name] | |
goto :EOF | |
) | |
set PRODUCT=argos-%1 | |
echo. |
This file contains hidden or 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 | |
if .%1. == .. ( | |
echo USAGE: %0 [product name] | |
goto :EOF | |
) | |
set PRODUCT=argos-%1 | |
echo. |
This file contains hidden or 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 | |
if [ .$1. == .. ]; then | |
echo "USAGE: $0 [product name]" | |
exit 1 | |
fi | |
PRODUCT=argos-$1 | |
echo |
This file contains hidden or 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 Point = function(x, y) { | |
if (arguments.length == 1) | |
{ | |
this.x = (x >> 12) & 0xFFF; | |
this.y = (x) & 0xFFF; | |
} | |
else | |
{ | |
this.x = x; | |
this.y = y; |
This file contains hidden or 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
/* Copyright (c) 2010, Sage Software, Inc. All rights reserved. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace Sample | |
{ | |
public class CrossOriginRequestInfo | |
{ | |
public string Origin { get; set; } |
This file contains hidden or 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
/* | |
* OpenSimplex (Simplectic) Noise in Java. | |
* (v1.0.1 With new gradient set and corresponding normalization factor, 9/19/14) | |
*/ | |
public class OpenSimplexNoise { | |
private static final double STRETCH_CONSTANT_3D = -1.0 / 6; | |
private static final double SQUISH_CONSTANT_3D = 1.0 / 3; | |
This file contains hidden or 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
%.coffee: %.coffee.md | |
sed -n -e '/^ \{4\}/s/^ \{4\}//p' $< > $@ | |
%.js: %.js.md | |
sed -n -e '/^ \{4\}/s/^ \{4\}//p' $< > $@ | |
%.js: %.coffee | |
coffee -cb $< | |
all: multi-inherit.coffee multi-inherit.future.js | |
clean: |
This file contains hidden or 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
import React from 'react'; | |
import _ from 'underscore'; | |
var LIFECYCLE_EVENTS = [ | |
'componentWillMount', | |
'componentDidMount', | |
'componentWillReceiveProps', | |
'shouldComponentUpdate', | |
'componentWillUpdate', |
OlderNewer