Permalink
Browse files

Replace all relative urls

  • Loading branch information...
redaxmedia committed Aug 30, 2017
1 parent 9e121e1 commit a00d480621c93e8b8b97df7cf10ea10991a576bb
View
@@ -53,7 +53,7 @@ public function renderStart()
$script = Head\Script::getInstance();
$script
->init('foot')
->appendFile('//cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ace.js')
->appendFile('https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ace.js')
->appendFile('modules/Ace/assets/scripts/init.js')
->appendFile('modules/Ace/dist/scripts/ace.min.js');
}
@@ -44,7 +44,7 @@ public function renderStart()
$script = Head\Script::getInstance();
$script
->init('foot')
->appendFile('//google-analytics.com/analytics.js')
->appendFile('https://google-analytics.com/analytics.js')
->appendFile('modules/Analytics/assets/scripts/init.js')
->appendFile('modules/Analytics/dist/scripts/analytics.min.js');
}
@@ -46,7 +46,7 @@ public function renderStart()
$script = Head\Script::getInstance();
$script
->init('foot')
->appendFile('//google-analytics.com/analytics.js')
->appendFile('https://google-analytics.com/analytics.js')
->appendFile('modules/CallHome/assets/scripts/init.js')
->appendFile('modules/CallHome/dist/scripts/call-home.min.js');
}
@@ -24,6 +24,6 @@ class Config extends Module\Module
protected $_configArray =
[
'id' => 'disqus',
'url' => '//example.disqus.com/embed.js'
'url' => 'https://example.disqus.com/embed.js'
];
}
@@ -43,7 +43,7 @@ public function renderStart()
$script = Head\Script::getInstance();
$script
->init('foot')
->appendFile('//google-analytics.com/cx/api.js?experiment=' . $this->_configArray['id'])
->appendFile('https://google-analytics.com/cx/api.js?experiment=' . $this->_configArray['id'])
->appendFile('modules/Experiments/assets/scripts/init.js')
->appendFile('modules/Experiments/dist/scripts/experiments.min.js');
}
@@ -58,15 +58,15 @@ public function renderStart()
$link = Head\Link::getInstance();
$link
->init()
->appendFile('//cdnjs.cloudflare.com/ajax/libs/lightgallery/1.3.9/css/lightgallery.min.css')
->appendFile('https://cdnjs.cloudflare.com/ajax/libs/lightgallery/1.3.9/css/lightgallery.min.css')
->appendFile('modules/LightGallery/dist/styles/light-gallery.min.css');
/* script */
$script = Head\Script::getInstance();
$script
->init('foot')
->appendFile('//cdnjs.cloudflare.com/ajax/libs/lightgallery/1.3.9/js/lightgallery.min.js')
->appendFile('https://cdnjs.cloudflare.com/ajax/libs/lightgallery/1.3.9/js/lightgallery.min.js')
->appendFile('modules/LightGallery/assets/scripts/init.js')
->appendFile('modules/LightGallery/dist/scripts/light-gallery.min.js');
}
@@ -6,15 +6,15 @@ $imageElement->init('img',
[
'alt' => 'image',
'class' => 'rs-image-default',
'src' => '//cdn.redaxscript.com/unsplash/817/large.jpg'
'src' => 'https://cdn.redaxscript.com/unsplash/817/large.jpg'
]);
$videoElement = new Html\Element();
$videoElement->init('video',
[
'autoplay' => 'autoplay',
'class' => 'rs-video-default',
'muted' => 'muted',
'src' => '//cdn.redaxscript.com/renderfarming/bbb_sunflower_1080p_30fps_normal.mp4#10'
'src' => 'https://cdn.redaxscript.com/renderfarming/bbb_sunflower_1080p_30fps_normal.mp4#10'
]);
?>
@@ -44,14 +44,14 @@ public function renderStart()
$link = Head\Link::getInstance();
$link
->init()
->appendFile('//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/atom-one-dark.min.css');
->appendFile('https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/atom-one-dark.min.css');
/* script */
$script = Head\Script::getInstance();
$script
->init('foot')
->appendFile('//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js')
->appendFile('https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js')
->appendFile('modules/SyntaxHighlighter/assets/scripts/init.js')
->appendFile('modules/SyntaxHighlighter/dist/scripts/syntax-highlighter.min.js');
}
@@ -44,7 +44,7 @@ public function renderStart()
$script = Head\Script::getInstance();
$script
->init('foot')
->appendFile('//cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.3/tinymce.min.js')
->appendFile('https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.3/tinymce.min.js')
->appendFile('modules/Tinymce/assets/scripts/init.js')
->appendFile('modules/Tinymce/dist/scripts/tinymce.min.js');
@@ -1 +1 @@
@import '//cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.3/skins/lightgray/skin.min.css';
@import 'https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.3/skins/lightgray/skin.min.css';
@@ -47,17 +47,17 @@
/* jpg */
--rs-url-teaser-small-jpg: url('//cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/small.jpg');
--rs-url-teaser-medium-jpg: url('//cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/medium.jpg');
--rs-url-teaser-large-jpg: url('//cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/large.jpg');
--rs-url-teaser-ultra-jpg: url('//cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/ultra.jpg');
--rs-url-teaser-small-jpg: url('https://cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/small.jpg');
--rs-url-teaser-medium-jpg: url('https://cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/medium.jpg');
--rs-url-teaser-large-jpg: url('https://cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/large.jpg');
--rs-url-teaser-ultra-jpg: url('https://cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/ultra.jpg');
/* webp */
--rs-url-teaser-small-webp: url('//cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/small.webp');
--rs-url-teaser-medium-webp: url('//cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/medium.webp');
--rs-url-teaser-large-webp: url('//cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/large.webp');
--rs-url-teaser-ultra-webp: url('//cdn.redaxscript.com/unsplash/var(--rs-image-teaser)ultra.webp');
--rs-url-teaser-small-webp: url('https://cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/small.webp');
--rs-url-teaser-medium-webp: url('https://cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/medium.webp');
--rs-url-teaser-large-webp: url('https://cdn.redaxscript.com/unsplash/var(--rs-image-teaser)/large.webp');
--rs-url-teaser-ultra-webp: url('https://cdn.redaxscript.com/unsplash/var(--rs-image-teaser)ultra.webp');
/* branding */

0 comments on commit a00d480

Please sign in to comment.