Просмотр исходного кода

Fix broken Placeholder.js links

It appears as though GitHub has stopped serving the Placeholder.js
GitHub Pages site.  This broke placeholder support on older versions
of IE in the documentation and broke the link we had to the
polyfill.  Since the repository is still online, and the
documentation should work without an internet connection, the
JavaScript files have been pulled into the documentation folder.
Kevin Brown 10 лет назад
Родитель
Сommit
631ae06c8d
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 2
      docs/examples.html
  2. 1 0
      docs/vendor/js/placeholders.jquery.min.js

+ 2 - 2
docs/examples.html

@@ -4,7 +4,7 @@ title: Examples - Select2
 slug: examples
 ---
 
-<script type="text/javascript" src="https://jamesallardice.github.io/Placeholders.js/assets/js/placeholders.jquery.min.js"></script>
+<script type="text/javascript" src="vendor/js/placeholders.jquery.min.js"></script>
 <script type="text/javascript" src="dist/js/i18n/es.js"></script>
 
 <div class="container">
@@ -93,7 +93,7 @@ $(".js-example-basic-multiple").select2();
       <p>
         Select2 uses the <code>placeholder</code> attribute on multiple select
         boxes, which requires IE 10+. You can support it in older versions with
-        <a href="https://jamesallardice.github.io/Placeholders.js/">the Placeholders.js polyfill</a>.
+        <a href="https://github.com/jamesallardice/Placeholders.js">the Placeholders.js polyfill</a>.
       </p>
 
       <p>

Разница между файлами не показана из-за своего большого размера
+ 1 - 0
docs/vendor/js/placeholders.jquery.min.js


Некоторые файлы не были показаны из-за большого количества измененных файлов