-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(demo): move demo sources to the master branch
Demo sources now live in master. Use `npm run demo:publish` to publish demo to gh-pages branch
- Loading branch information
Showing
34 changed files
with
835 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
# Editor settings | ||
.vscode/ | ||
|
||
# typings | ||
typings/ | ||
typings.json | ||
# demo sources | ||
demo/ | ||
|
||
# TypeScript-related files | ||
*.ts | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# jekyll | ||
_site | ||
.sass-cache | ||
.jekyll-metadata |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
source 'https://rubygems.org' | ||
gem 'github-pages', group: :jekyll_plugins |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,204 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
activesupport (4.2.7) | ||
i18n (~> 0.7) | ||
json (~> 1.7, >= 1.7.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.3, >= 0.3.4) | ||
tzinfo (~> 1.1) | ||
addressable (2.5.0) | ||
public_suffix (~> 2.0, >= 2.0.2) | ||
coffee-script (2.4.1) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.12.2) | ||
colorator (1.1.0) | ||
ethon (0.10.1) | ||
ffi (>= 1.3.0) | ||
execjs (2.7.0) | ||
faraday (0.11.0) | ||
multipart-post (>= 1.2, < 3) | ||
ffi (1.9.18) | ||
ffi (1.9.18-x64-mingw32) | ||
forwardable-extended (2.6.0) | ||
gemoji (2.1.0) | ||
github-pages (113) | ||
activesupport (= 4.2.7) | ||
github-pages-health-check (= 1.3.0) | ||
jekyll (= 3.3.1) | ||
jekyll-avatar (= 0.4.2) | ||
jekyll-coffeescript (= 1.0.1) | ||
jekyll-default-layout (= 0.1.4) | ||
jekyll-feed (= 0.8.0) | ||
jekyll-gist (= 1.4.0) | ||
jekyll-github-metadata (= 2.3.0) | ||
jekyll-mentions (= 1.2.0) | ||
jekyll-optional-front-matter (= 0.1.2) | ||
jekyll-paginate (= 1.1.0) | ||
jekyll-readme-index (= 0.0.3) | ||
jekyll-redirect-from (= 0.11.0) | ||
jekyll-relative-links (= 0.2.1) | ||
jekyll-sass-converter (= 1.3.0) | ||
jekyll-seo-tag (= 2.1.0) | ||
jekyll-sitemap (= 0.12.0) | ||
jekyll-swiss (= 0.4.0) | ||
jekyll-theme-architect (= 0.0.3) | ||
jekyll-theme-cayman (= 0.0.3) | ||
jekyll-theme-dinky (= 0.0.3) | ||
jekyll-theme-hacker (= 0.0.3) | ||
jekyll-theme-leap-day (= 0.0.3) | ||
jekyll-theme-merlot (= 0.0.3) | ||
jekyll-theme-midnight (= 0.0.3) | ||
jekyll-theme-minimal (= 0.0.3) | ||
jekyll-theme-modernist (= 0.0.3) | ||
jekyll-theme-primer (= 0.1.5) | ||
jekyll-theme-slate (= 0.0.3) | ||
jekyll-theme-tactile (= 0.0.3) | ||
jekyll-theme-time-machine (= 0.0.3) | ||
jekyll-titles-from-headings (= 0.1.3) | ||
jemoji (= 0.7.0) | ||
kramdown (= 1.11.1) | ||
liquid (= 3.0.6) | ||
listen (= 3.0.6) | ||
mercenary (~> 0.3) | ||
minima (= 2.0.0) | ||
rouge (= 1.11.1) | ||
terminal-table (~> 1.4) | ||
github-pages-health-check (1.3.0) | ||
addressable (~> 2.3) | ||
net-dns (~> 0.8) | ||
octokit (~> 4.0) | ||
public_suffix (~> 2.0) | ||
typhoeus (~> 0.7) | ||
html-pipeline (2.5.0) | ||
activesupport (>= 2) | ||
nokogiri (>= 1.4) | ||
i18n (0.8.1) | ||
jekyll (3.3.1) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.3) | ||
liquid (~> 3.0) | ||
mercenary (~> 0.3.3) | ||
pathutil (~> 0.9) | ||
rouge (~> 1.7) | ||
safe_yaml (~> 1.0) | ||
jekyll-avatar (0.4.2) | ||
jekyll (~> 3.0) | ||
jekyll-coffeescript (1.0.1) | ||
coffee-script (~> 2.2) | ||
jekyll-default-layout (0.1.4) | ||
jekyll (~> 3.0) | ||
jekyll-feed (0.8.0) | ||
jekyll (~> 3.3) | ||
jekyll-gist (1.4.0) | ||
octokit (~> 4.2) | ||
jekyll-github-metadata (2.3.0) | ||
jekyll (~> 3.1) | ||
octokit (~> 4.0, != 4.4.0) | ||
jekyll-mentions (1.2.0) | ||
activesupport (~> 4.0) | ||
html-pipeline (~> 2.3) | ||
jekyll (~> 3.0) | ||
jekyll-optional-front-matter (0.1.2) | ||
jekyll (~> 3.0) | ||
jekyll-paginate (1.1.0) | ||
jekyll-readme-index (0.0.3) | ||
jekyll (~> 3.0) | ||
jekyll-redirect-from (0.11.0) | ||
jekyll (>= 2.0) | ||
jekyll-relative-links (0.2.1) | ||
jekyll (~> 3.3) | ||
jekyll-sass-converter (1.3.0) | ||
sass (~> 3.2) | ||
jekyll-seo-tag (2.1.0) | ||
jekyll (~> 3.3) | ||
jekyll-sitemap (0.12.0) | ||
jekyll (~> 3.3) | ||
jekyll-swiss (0.4.0) | ||
jekyll-theme-architect (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-cayman (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-dinky (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-hacker (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-leap-day (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-merlot (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-midnight (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-minimal (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-modernist (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-primer (0.1.5) | ||
jekyll (~> 3.3) | ||
jekyll-theme-slate (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-tactile (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-theme-time-machine (0.0.3) | ||
jekyll (~> 3.3) | ||
jekyll-titles-from-headings (0.1.3) | ||
jekyll (~> 3.3) | ||
jekyll-watch (1.5.0) | ||
listen (~> 3.0, < 3.1) | ||
jemoji (0.7.0) | ||
activesupport (~> 4.0) | ||
gemoji (~> 2.0) | ||
html-pipeline (~> 2.2) | ||
jekyll (>= 3.0) | ||
json (1.8.6) | ||
kramdown (1.11.1) | ||
liquid (3.0.6) | ||
listen (3.0.6) | ||
rb-fsevent (>= 0.9.3) | ||
rb-inotify (>= 0.9.7) | ||
mercenary (0.3.6) | ||
mini_portile (0.6.2) | ||
minima (2.0.0) | ||
minitest (5.10.1) | ||
multipart-post (2.0.0) | ||
net-dns (0.8.0) | ||
nokogiri (1.6.6.4) | ||
mini_portile (~> 0.6.0) | ||
nokogiri (1.6.6.4-x64-mingw32) | ||
mini_portile (~> 0.6.0) | ||
octokit (4.6.2) | ||
sawyer (~> 0.8.0, >= 0.5.3) | ||
pathutil (0.14.0) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (2.0.5) | ||
rb-fsevent (0.9.8) | ||
rb-inotify (0.9.8) | ||
ffi (>= 0.5.0) | ||
rouge (1.11.1) | ||
safe_yaml (1.0.4) | ||
sass (3.4.23) | ||
sawyer (0.8.1) | ||
addressable (>= 2.3.5, < 2.6) | ||
faraday (~> 0.8, < 1.0) | ||
terminal-table (1.7.3) | ||
unicode-display_width (~> 1.1.1) | ||
thread_safe (0.3.6) | ||
typhoeus (0.8.0) | ||
ethon (>= 0.8.0) | ||
tzinfo (1.2.2) | ||
thread_safe (~> 0.1) | ||
unicode-display_width (1.1.3) | ||
|
||
PLATFORMS | ||
ruby | ||
x64-mingw32 | ||
|
||
DEPENDENCIES | ||
github-pages | ||
|
||
BUNDLED WITH | ||
1.14.6 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Site settings | ||
title: ng-recaptcha | ||
description: "Angular component for Google reCAPTCHA" | ||
baseurl: "/ng-recaptcha" # the subpath of your site, e.g. /blog | ||
cacheBusterVer: "2.0.2" | ||
exclude: [ | ||
'Gemfile', | ||
'Gemfile.lock', | ||
'examples/node_modules', | ||
'examples/package.json', | ||
'examples/tsconfig.json', | ||
'examples/tslint.json', | ||
'examples/ng-lint.json', | ||
] | ||
|
||
# SystemJS mapping for ng2-recaptcha component | ||
recaptchaMapping: "https://npmcdn.com/[email protected]" # stick to a particular version to avoid caching confusion | ||
# Uncomment to debug (you must run `cd examples && npm run latest` in order for that to work) | ||
#recaptchaMapping: "./examples/node_modules/ng-recaptcha" | ||
|
||
# Build settings | ||
markdown: kramdown |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title>{{ page.title }} | ng-recaptcha</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}?_={{ site.cacheBusterVer }}"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> | ||
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-lime.min.css"> | ||
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script> | ||
|
||
<script src="https://npmcdn.com/core-js/client/shim.min.js"></script> | ||
<script src="https://npmcdn.com/[email protected]?main=browser"></script> | ||
<script src="https://npmcdn.com/[email protected]"></script> | ||
<script src="https://npmcdn.com/[email protected]/dist/system.src.js"></script> | ||
|
||
<script src="{{ site.baseurl }}/examples/systemjs.config.js?_={{ site.cacheBusterVer }}"></script> | ||
<script> | ||
window.initSystemJS("{{ site.recaptchaMapping }}"{% if page.includeForms %}, {{ page.includeForms }} {% endif %}); | ||
</script> | ||
{{ page.headextras }} | ||
</head> | ||
|
||
<body> | ||
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header"> | ||
<header class="mdl-layout__header"> | ||
<div class="mdl-layout__header-row"> | ||
<img src="{{ "/images/angular.svg" | prepend: site.baseurl }}" height="40px" class="mdl-layout--large-screen-only" /> | ||
<span class="mdl-layout-title">{{ site.title }}</span> | ||
<span class="mdl-layout-title mdl-layout--large-screen-only"> – {{ site.description }}</span> | ||
<div class="mdl-layout-spacer"></div> | ||
<nav class="mdl-navigation"> | ||
<a class="mdl-navigation__link" href="https://github.com/DethAriel/ng2-recaptcha#{{ page.backlink }}"> | ||
<i class="material-icons">link</i> | ||
GitHub | ||
</a> | ||
</nav> | ||
</div> | ||
<div class="mdl-layout__tab-bar"> | ||
<a href="{{ "/" | prepend: site.baseurl }}" class="mdl-layout__tab {% if page.feature == 'basic-demo' %} is-active {% endif %}">Basic</a> | ||
<a href="{{ "/forms" | prepend: site.baseurl }}" class="mdl-layout__tab {% if page.feature == 'forms-demo' %} is-active {% endif %}">Forms</a> | ||
<a href="{{ "/invisible" | prepend: site.baseurl }}" class="mdl-layout__tab {% if page.feature == 'invisible-demo' %} is-active {% endif %}">Invisible</a> | ||
<a href="{{ "/language" | prepend: site.baseurl }}" class="mdl-layout__tab {% if page.feature == 'language-demo' %} is-active {% endif %}">Language</a> | ||
<a href="{{ "/preload-api" | prepend: site.baseurl }}" class="mdl-layout__tab {% if page.feature == 'preload-api-demo' %} is-active {% endif %}">Preloaded</a> | ||
<span class="mdl-layout__tab"> </span> | ||
</div> | ||
</header> | ||
<main class="mdl-layout__content"> | ||
<div class="mdl-grid mdl-grid--no-spacing"> | ||
<div class="mdl-cell mdl-cell--8-col-desktop mdl-cell--2-offset-desktop mdl-cell--6-col-tablet mdl-cell--1-offset-tablet mdl-cell--4-col-phone"> | ||
|
||
{{ content }} | ||
|
||
<div class="example-container"> | ||
<recaptcha-demo></recaptcha-demo> | ||
</div> | ||
|
||
<div class="code-samples mdl-tabs mdl-js-tabs"> | ||
<div class="mdl-tabs__tab-bar"> | ||
<a href="#template" class="mdl-tabs__tab is-active"><code>{{page.feature}}.component.html</code></a> | ||
<a href="#component" class="mdl-tabs__tab"><code>{{page.feature}}.component.ts</code></a> | ||
<a href="#module" class="mdl-tabs__tab"><code>main.ts</code></a> | ||
{% if page.addlCodeTitle1 %}<a href="#addl1" class="mdl-tabs__tab"><code>{{ page.addlCodeTitle1 }}</code></a>{% endif %} | ||
</div> | ||
|
||
<div class="mdl-tabs__panel is-active" id="template"> | ||
{% capture html_content %}{% include_relative examples/app/{{page.feature}}.component.html %}{% endcapture %} | ||
<pre class="prettyprint lang-html">{{ html_content | escape }}</pre> | ||
</div> | ||
<div class="mdl-tabs__panel" id="component"> | ||
<pre class="prettyprint lang-js">{% include_relative examples/app/{{page.feature}}.component.ts %}</pre> | ||
</div> | ||
<div class="mdl-tabs__panel" id="module"> | ||
<pre class="prettyprint lang-js">{% include_relative examples/app/{{page.feature}}.main.ts %}</pre> | ||
</div> | ||
{% if page.addlCodeContent1 %} | ||
<div class="mdl-tabs__panel" id="addl1"> | ||
<pre class="prettyprint lang-{{ page.addlCodeType1 }}">{% if page.addlCodeType1 == 'html' %}{{ page.addlCodeContent1 | escape }}{% else %}{{ page.addlCodeContent1 }}{% endif %}</pre> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.