mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Use double quotes consistently.
This commit is contained in:
parent
e805e5365f
commit
c1c291b379
6
Gemfile
6
Gemfile
@ -1,8 +1,8 @@
|
|||||||
source 'https://rubygems.org'
|
source "https://rubygems.org"
|
||||||
ruby File.read('.ruby-version').strip
|
ruby File.read(".ruby-version").strip
|
||||||
|
|
||||||
gem "github-pages"
|
gem "github-pages"
|
||||||
gem 'ffi', '1.9.0'
|
gem "ffi", "1.9.0"
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
gem "html-proofer"
|
gem "html-proofer"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% unless page.hide_breadcrumbs == true %}
|
{% unless page.hide_breadcrumbs == true %}
|
||||||
<ol class='breadcrumbs'>
|
<ol class="breadcrumbs">
|
||||||
<li>
|
<li>
|
||||||
{% if page.layout == "license" %}
|
{% if page.layout == "license" %}
|
||||||
<a href="/">Home</a> / <a href="/licenses/">Licenses</a>
|
<a href="/">Home</a> / <a href="/licenses/">Licenses</a>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang='en'>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||||
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class="{{ page.layout }} {{ page.class }}">
|
<body class="{{ page.layout }} {{ page.class }}">
|
||||||
<div class='container'>
|
<div class="container">
|
||||||
|
|
||||||
{% include breadcrumbs.html %}
|
{% 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>
|
<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>
|
<h5>How to apply this license</h5>
|
||||||
<p>
|
<p>
|
||||||
{{ page.how }}
|
{{ page.how }}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{% include header.html %}
|
{% include header.html %}
|
||||||
|
|
||||||
<div class="cf">
|
<div class="cf">
|
||||||
<div class='license-body'>
|
<div class="license-body">
|
||||||
<pre id="license-text">
|
<pre id="license-text">
|
||||||
|
|
||||||
{{ content | replace:"<","[" | replace:">","]" }}
|
{{ content | replace:"<","[" | replace:">","]" }}
|
||||||
|
@ -114,7 +114,7 @@ a:hover {
|
|||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
color: #443a33;
|
color: #443a33;
|
||||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
@ -123,7 +123,7 @@ h1 {
|
|||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
color: #443a33;
|
color: #443a33;
|
||||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
@ -133,7 +133,7 @@ h2 {
|
|||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
color: #443a33;
|
color: #443a33;
|
||||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
@ -143,7 +143,7 @@ h3 {
|
|||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
color: #443a33;
|
color: #443a33;
|
||||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
@ -175,7 +175,7 @@ strong {
|
|||||||
}
|
}
|
||||||
.home h2 {
|
.home h2 {
|
||||||
color: #149ad4;
|
color: #149ad4;
|
||||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
|
||||||
font-size: 27px;
|
font-size: 27px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
line-height: 70px;
|
line-height: 70px;
|
||||||
@ -208,7 +208,7 @@ strong {
|
|||||||
}
|
}
|
||||||
.triptych h3 {
|
.triptych h3 {
|
||||||
color: #443a33;
|
color: #443a33;
|
||||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
@ -246,7 +246,7 @@ strong {
|
|||||||
width: 280px;
|
width: 280px;
|
||||||
}
|
}
|
||||||
.license-rules .name a {
|
.license-rules .name a {
|
||||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
|
12
index.html
12
index.html
@ -12,9 +12,9 @@ description: A site to provide non-judgmental guidance on choosing a license for
|
|||||||
<span>}</span>
|
<span>}</span>
|
||||||
</h2>
|
</h2>
|
||||||
<ul class="triptych situations cf">
|
<ul class="triptych situations cf">
|
||||||
<li class='whatever'>
|
<li class="whatever">
|
||||||
<a href="licenses/mit">
|
<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>
|
<h3>I want it simple and permissive.</h3>
|
||||||
</a>
|
</a>
|
||||||
<p>
|
<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 License.
|
<strong>jQuery</strong> and <strong>Rails</strong> use the MIT License.
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li class='patents'>
|
<li class="patents">
|
||||||
<a href="licenses/apache">
|
<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>I’m concerned about patents.</h3>
|
<h3>I’m concerned about patents.</h3>
|
||||||
</a>
|
</a>
|
||||||
<p>
|
<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 License.
|
<strong>Apache</strong>, <strong>SVN</strong>, and <strong>NuGet</strong> use the Apache License.
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li class='copyleft'>
|
<li class="copyleft">
|
||||||
<a href="licenses/gpl-v2">
|
<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>
|
<h3>I care about sharing improvements.</h3>
|
||||||
</a>
|
</a>
|
||||||
<p>
|
<p>
|
||||||
|
@ -3,7 +3,7 @@ class Choosealicense
|
|||||||
# Checks if Flash is available in the client.
|
# Checks if Flash is available in the client.
|
||||||
flashAvailable: ->
|
flashAvailable: ->
|
||||||
if ActiveXObject?
|
if ActiveXObject?
|
||||||
!!(new ActiveXObject('ShockwaveFlash.ShockwaveFlash'))
|
!!(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))
|
||||||
else
|
else
|
||||||
!!navigator.mimeTypes["application/x-shockwave-flash"]
|
!!navigator.mimeTypes["application/x-shockwave-flash"]
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Choosealicense = (function() {
|
Choosealicense = (function() {
|
||||||
Choosealicense.prototype.flashAvailable = function() {
|
Choosealicense.prototype.flashAvailable = function() {
|
||||||
if (typeof ActiveXObject !== "undefined" && ActiveXObject !== null) {
|
if (typeof ActiveXObject !== "undefined" && ActiveXObject !== null) {
|
||||||
return !!(new ActiveXObject('ShockwaveFlash.ShockwaveFlash'));
|
return !!(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"));
|
||||||
} else {
|
} else {
|
||||||
return !!navigator.mimeTypes["application/x-shockwave-flash"];
|
return !!navigator.mimeTypes["application/x-shockwave-flash"];
|
||||||
}
|
}
|
||||||
|
@ -9,12 +9,12 @@ class: license-types
|
|||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
{% if page.layout == "license" %}
|
{% if page.layout == "license" %}
|
||||||
{% if page.featured %}
|
{% if page.featured %}
|
||||||
<table class='license-rules'>
|
<table class="license-rules">
|
||||||
<tr>
|
<tr>
|
||||||
<th class='name'>
|
<th class="name">
|
||||||
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
||||||
</th>
|
</th>
|
||||||
<th class='summary'>
|
<th class="summary">
|
||||||
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
|
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -45,12 +45,12 @@ class: license-types
|
|||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
{% if page.layout == "license" %}
|
{% if page.layout == "license" %}
|
||||||
{% if page.featured != true %}
|
{% if page.featured != true %}
|
||||||
<table class='license-rules'>
|
<table class="license-rules">
|
||||||
<tr>
|
<tr>
|
||||||
<th class='name'>
|
<th class="name">
|
||||||
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
||||||
</th>
|
</th>
|
||||||
<th class='summary'>
|
<th class="summary">
|
||||||
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
|
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user