Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JustOff committed Oct 15, 2020
0 parents commit 71807b9
Show file tree
Hide file tree
Showing 8 changed files with 494 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.xpi
*.exe
373 changes: 373 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**GitHub Web Components Polyfill** provides a Web Components Polyfill for GitHub using [Web Components Polyfills](https://github.com/webcomponents/polyfills).
65 changes: 65 additions & 0 deletions bootstrap.js

Large diffs are not rendered by default.

Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions install.rdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version='1.0' encoding='utf-8'?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>[email protected]</em:id>
<em:version>1.0.1</em:version>
<em:type>2</em:type>
<em:bootstrap>true</em:bootstrap>
<em:name>GitHub Web Components Polyfill</em:name>
<em:description>Provides Web Components Polyfill for GitHub</em:description>
<em:creator>Off JustOff &lt;[email protected]&gt;</em:creator>
<em:contributor>The Polymer Authors https://github.com/webcomponents/polyfills</em:contributor>
<em:homepageURL>https://github.com/JustOff/github-wc-polyfill/</em:homepageURL>
<em:updateURL>https://raw.githubusercontent.com/JustOff/github-wc-polyfill/master/update.xml</em:updateURL>
<em:targetApplication>
<Description>
<em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
<em:minVersion>28.14.0</em:minVersion>
<em:maxVersion>29.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
9 changes: 9 additions & 0 deletions release.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@echo off
set VER=1.0.1

sed -i -E "s/version>.+?</version>%VER%</" install.rdf
sed -i -E "s/version>.+?</version>%VER%</; s/download\/.+?\/github-wc-polyfill-.+?\.xpi/download\/%VER%\/github-wc-polyfill-%VER%\.xpi/" update.xml

set XPI=github-wc-polyfill-%VER%.xpi
if exist %XPI% del %XPI%
zip -r9q %XPI% bootstrap.js icon.png install.rdf
22 changes: 22 additions & 0 deletions update.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<RDF:Description about="urn:mozilla:extension:[email protected]">
<em:updates>
<RDF:Seq>
<RDF:li>
<RDF:Description>
<em:version>1.0.1</em:version>
<em:targetApplication>
<RDF:Description>
<em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
<em:minVersion>28.14.0</em:minVersion>
<em:maxVersion>29.*</em:maxVersion>
<em:updateLink>https://github.com/JustOff/github-wc-polyfill/releases/download/1.0.1/github-wc-polyfill-1.0.1.xpi</em:updateLink>
</RDF:Description>
</em:targetApplication>
</RDF:Description>
</RDF:li>
</RDF:Seq>
</em:updates>
</RDF:Description>
</RDF:RDF>

0 comments on commit 71807b9

Please sign in to comment.