Use double quotes consistently.

This commit is contained in:
XhmikosR 2013-10-30 20:23:28 +02:00
Родитель e805e5365f
Коммит c1c291b379
10 изменённых файлов: 30 добавлений и 30 удалений

Просмотреть файл

@ -1,8 +1,8 @@
source 'https://rubygems.org'
ruby File.read('.ruby-version').strip
source "https://rubygems.org"
ruby File.read(".ruby-version").strip
gem "github-pages"
gem 'ffi', '1.9.0'
gem "ffi", "1.9.0"
group :test do
gem "html-proofer"

Просмотреть файл

@ -1,5 +1,5 @@
{% unless page.hide_breadcrumbs == true %}
<ol class='breadcrumbs'>
<ol class="breadcrumbs">
<li>
{% if page.layout == "license" %}
<a href="/">Home</a> / <a href="/licenses/">Licenses</a>

Просмотреть файл

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang='en'>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
@ -19,7 +19,7 @@
</head>
<body class="{{ page.layout }} {{ page.class }}">
<div class='container'>
<div class="container">
{% include breadcrumbs.html %}

Просмотреть файл

@ -1,7 +1,7 @@
<div class='sidebar'>
<div class="sidebar">
<a href="#" data-clipboard-target="license-text" class="js-clipboard-button button">Copy license text to clipboard</a>
<div class='how-to-apply'>
<div class="how-to-apply">
<h5>How to apply this license</h5>
<p>
{{ page.how }}

Просмотреть файл

@ -1,7 +1,7 @@
{% include header.html %}
<div class="cf">
<div class='license-body'>
<div class="license-body">
<pre id="license-text">
{{ content | replace:"<","[" | replace:">","]" }}

Просмотреть файл

@ -114,7 +114,7 @@ a:hover {
h1 {
color: #443a33;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 40px;
font-weight: 900;
line-height: 1.1;
@ -123,7 +123,7 @@ h1 {
h2 {
color: #443a33;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 18px;
font-weight: 900;
line-height: 1.1;
@ -133,7 +133,7 @@ h2 {
h3 {
color: #443a33;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 15px;
font-weight: 900;
line-height: 1.1;
@ -143,7 +143,7 @@ h3 {
h5 {
color: #443a33;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 14px;
font-weight: 900;
line-height: 1.1;
@ -175,7 +175,7 @@ strong {
}
.home h2 {
color: #149ad4;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 27px;
font-weight: 900;
line-height: 70px;
@ -208,7 +208,7 @@ strong {
}
.triptych h3 {
color: #443a33;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 22px;
font-weight: 900;
line-height: 1.1;
@ -246,7 +246,7 @@ strong {
width: 280px;
}
.license-rules .name a {
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 28px;
font-weight: 900;
line-height: 1.1;

Просмотреть файл

@ -12,9 +12,9 @@ description: A site to provide non-judgmental guidance on choosing a license for
<span>}</span>
</h2>
<ul class="triptych situations cf">
<li class='whatever'>
<li class="whatever">
<a href="licenses/mit">
<img height='57' src='images/three-arrows@2x.png' width='72' alt='three arrows'>
<img src="images/three-arrows@2x.png" alt="three arrows" width="72" height="57">
<h3>I want it simple and permissive.</h3>
</a>
<p>
@ -24,9 +24,9 @@ description: A site to provide non-judgmental guidance on choosing a license for
<strong>jQuery</strong> and <strong>Rails</strong> use the MIT&nbsp;License.
</p>
</li>
<li class='patents'>
<li class="patents">
<a href="licenses/apache">
<img height='72' src='images/lightbulb@2x.png' width='43' alt='light bulb'>
<img src="images/lightbulb@2x.png" alt="light bulb" width="43" height="72">
<h3>Im concerned about patents.</h3>
</a>
<p>
@ -36,9 +36,9 @@ description: A site to provide non-judgmental guidance on choosing a license for
<strong>Apache</strong>, <strong>SVN</strong>, and <strong>NuGet</strong> use the Apache&nbsp;License.
</p>
</li>
<li class='copyleft'>
<li class="copyleft">
<a href="licenses/gpl-v2">
<img height='69' src='images/circular@2x.png' width='72' alt='circular arrows'>
<img src="images/circular@2x.png" alt="circular arrows" width="72" height="69">
<h3>I care about sharing improvements.</h3>
</a>
<p>

Просмотреть файл

@ -3,7 +3,7 @@ class Choosealicense
# Checks if Flash is available in the client.
flashAvailable: ->
if ActiveXObject?
!!(new ActiveXObject('ShockwaveFlash.ShockwaveFlash'))
!!(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))
else
!!navigator.mimeTypes["application/x-shockwave-flash"]

Просмотреть файл

@ -5,7 +5,7 @@
Choosealicense = (function() {
Choosealicense.prototype.flashAvailable = function() {
if (typeof ActiveXObject !== "undefined" && ActiveXObject !== null) {
return !!(new ActiveXObject('ShockwaveFlash.ShockwaveFlash'));
return !!(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"));
} else {
return !!navigator.mimeTypes["application/x-shockwave-flash"];
}

Просмотреть файл

@ -9,12 +9,12 @@ class: license-types
{% for page in site.pages %}
{% if page.layout == "license" %}
{% if page.featured %}
<table class='license-rules'>
<table class="license-rules">
<tr>
<th class='name'>
<th class="name">
<a href="{{ page.permalink }}">{{ page.title }}</a>
</th>
<th class='summary'>
<th class="summary">
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
</th>
</tr>
@ -45,12 +45,12 @@ class: license-types
{% for page in site.pages %}
{% if page.layout == "license" %}
{% if page.featured != true %}
<table class='license-rules'>
<table class="license-rules">
<tr>
<th class='name'>
<th class="name">
<a href="{{ page.permalink }}">{{ page.title }}</a>
</th>
<th class='summary'>
<th class="summary">
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
</th>
</tr>