Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
ef3acc2
Work in progress for #245
naveed-ahmad Dec 11, 2016
465ef5a
Merge branch 'master' of https://github.com/quran/quran.com-frontend …
naveed-ahmad Dec 14, 2016
c7e1f1f
refactored local, local specific fonts, almost done with i18n :)
naveed-ahmad Dec 15, 2016
ff4c393
fixed search break and added other missing translation keys
naveed-ahmad Dec 15, 2016
e722edc
added local switch
naveed-ahmad Dec 15, 2016
d5102a5
fixed the bug
naveed-ahmad Dec 16, 2016
564a3e4
Merge branch 'master' of https://github.com/quran/quran.com-frontend …
naveed-ahmad Dec 16, 2016
8d77638
fixed noscript break
naveed-ahmad Dec 16, 2016
9058a4f
added intl pollyfil
naveed-ahmad Dec 19, 2016
70d0276
replaced double quote with single quote
naveed-ahmad Dec 19, 2016
161ff10
fixing specs
naveed-ahmad Dec 19, 2016
b87506b
formatting
naveed-ahmad Dec 19, 2016
2bf0186
more formatting
naveed-ahmad Dec 19, 2016
11afb12
fixed noscript break
naveed-ahmad Dec 19, 2016
dbfeeb8
fixed the link
naveed-ahmad Dec 19, 2016
1002dde
Merge branch 'noscript_fix' into i18n
naveed-ahmad Dec 19, 2016
85f7eeb
fixed specs using mound instead of shallow
naveed-ahmad Dec 20, 2016
2979a75
Merge branch 'master' of https://github.com/quran/quran.com-frontend …
naveed-ahmad Dec 24, 2016
18f3a01
added arabic local
naveed-ahmad Dec 24, 2016
18c392a
PhantomJS don't support! fixed intl helper with vanilla js
naveed-ahmad Dec 24, 2016
aae5118
added local for bookmark
naveed-ahmad Dec 24, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ module.exports = Object.assign({
/* SEO: https://developers.google.com/structured-data/slsb-overview#markup_examples */
/* SEO: https://developers.google.com/structured-data/site-name#markup_requirements */
script: [
{ src: "https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale.en"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yikes. What does this do?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we not already using babel-polyfill?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

react-intl depends on built-in intl api, which is missing in old browser and safari. This polyfill add missing intl for those browsers.

https://github.com/yahoo/react-intl/wiki#i18n-in-javascript

{
type: 'application/ld+json',
innerHTML: `{
Expand Down
2 changes: 1 addition & 1 deletion src/styles/partials/_noscript-message.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.noscript-message {
.noscript-warning {
position: fixed;
top: 0;
left: 0;
Expand Down