全体的に簡略化し、必要と思われる部分を抜粋しました。
-
Not running
アプリは起動されていないか、実行されていたけれどもシステムによって終了されています。
-
Inactive
全体的に簡略化し、必要と思われる部分を抜粋しました。
Not running
アプリは起動されていないか、実行されていたけれどもシステムによって終了されています。
Inactive
(Also see [remarkable][], the markdown parser created by the author of this cheatsheet)
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
/******************************************************************************************************************** | |
Countdown.js is a simple script to add a countdown timer | |
for your website. Currently it can only do full minutes | |
and partial minutes aren't supported. This script is a fork of http://jsfiddle.net/HRrYG/ with some | |
added extensions. Since the original code that I forked was released under Creative Commons by SA license, | |
I have to release this code under the same license. You can view a live demo of this code at http://jsfiddle.net/JmrQE/2/. | |
********************************************************************************************************************/ | |
function countdown(minutes) { | |
var seconds = 60; | |
var mins = minutes |
var perfnow = (function() { | |
return ( | |
(performance && performance.now) ? function() { return performance.now(); } | |
: (performance && performance.webkitNow) ? function() { return performance.webkitNow(); } | |
: (performance && performance.mozNow) ? function() { return performance.mozNow(); } | |
: (performance && performance.oNow) ? function() { return performance.oNow(); } | |
: (Date.now) ? function() { return Date.now(); } | |
: function() { return +new Date(); } | |
) | |
}()); |
function has3d(){ | |
if (!window.getComputedStyle) { | |
return false; | |
} | |
var el = document.createElement('p'), | |
has3d, | |
transforms = { | |
'webkitTransform':'-webkit-transform', | |
'OTransform':'-o-transform', |
NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
/** | |
* to-zero-padding.js | |
* The Number value is changed to the numerical string value of zero padding. | |
* | |
* @version 1.1.1 | |
* @author think49 | |
* @url https://gist.github.com/891983 | |
* @license http://www.opensource.org/licenses/mit-license.php (The MIT License) | |
*/ |