浏览代码

Secure urls in README and Docs

Emanuele 8 年之前
父节点
当前提交
d833a41b73
共有 12 个文件被更改,包括 6 次插入10 次删除
  1. 2 2
      README.md
  2. 0 0
      docs/404.html
  3. 0 0
      docs/documentation-2.html
  4. 0 0
      docs/events.html
  5. 0 0
      docs/examples.html
  6. 0 0
      docs/index.html
  7. 0 2
      docs/js/main.js
  8. 0 0
      docs/methods.html
  9. 0 0
      docs/options.html
  10. 2 2
      src/docs/_layout.jade
  11. 2 2
      src/docs/index.jade
  12. 0 2
      src/docs/js/main.js

+ 2 - 2
README.md

@@ -58,11 +58,11 @@ Have a bug or a feature request? Please first search for existing and closed iss
 The new issue should contain both a summary of the issue and the browser/OS environment in which it occurs and a link to the playground you prefer with the reduced test case.
 The new issue should contain both a summary of the issue and the browser/OS environment in which it occurs and a link to the playground you prefer with the reduced test case.
 If suitable, include the steps required to reproduce the bug.
 If suitable, include the steps required to reproduce the bug.
 
 
-Please do not use the issue tracker for personal support requests: [Stack Overflow](http://stackoverflow.com/questions/tagged/bootstrap-switch) is a better place to get help.
+Please do not use the issue tracker for personal support requests: [Stack Overflow](https://stackoverflow.com/questions/tagged/bootstrap-switch) is a better place to get help.
 
 
 ### Known issues
 ### Known issues
 
 
-- Make sure `.form-control` is not applied to the input. Bootstrap does not support that, refer to [Checkboxes and radios](http://getbootstrap.com/css/#checkboxes-and-radios)
+- Make sure `.form-control` is not applied to the input. Bootstrap does not support that, refer to [Checkboxes and radios](https://getbootstrap.com/css/#checkboxes-and-radios)
 
 
 ## Integrations
 ## Integrations
 
 

文件差异内容过多而无法显示
+ 0 - 0
docs/404.html


文件差异内容过多而无法显示
+ 0 - 0
docs/documentation-2.html


文件差异内容过多而无法显示
+ 0 - 0
docs/events.html


文件差异内容过多而无法显示
+ 0 - 0
docs/examples.html


文件差异内容过多而无法显示
+ 0 - 0
docs/index.html


+ 0 - 2
docs/js/main.js

@@ -4,8 +4,6 @@ var $window = $(window)
 var sectionTop = $('.top').outerHeight() + 20
 var sectionTop = $('.top').outerHeight() + 20
 var $createDestroy = $('#switch-create-destroy')
 var $createDestroy = $('#switch-create-destroy')
 
 
-console.log($)
-
 function capitalize (string) {
 function capitalize (string) {
   return string.charAt(0).toUpperCase() + string.slice(1)
   return string.charAt(0).toUpperCase() + string.slice(1)
 }
 }

文件差异内容过多而无法显示
+ 0 - 0
docs/methods.html


文件差异内容过多而无法显示
+ 0 - 0
docs/options.html


+ 2 - 2
src/docs/_layout.jade

@@ -10,7 +10,7 @@ html(lang='en')
     link(href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' rel='stylesheet')
     link(href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' rel='stylesheet')
     link(href='css/highlight.css' rel='stylesheet')
     link(href='css/highlight.css' rel='stylesheet')
     link(href="https://unpkg.com/bootstrap-switch/dist/css/bootstrap3/bootstrap-switch.css" rel='stylesheet')
     link(href="https://unpkg.com/bootstrap-switch/dist/css/bootstrap3/bootstrap-switch.css" rel='stylesheet')
-    link(href='http://getbootstrap.com/assets/css/docs.min.css' rel='stylesheet')
+    link(href='https://getbootstrap.com/assets/css/docs.min.css' rel='stylesheet')
     link(href='css/main.css' rel='stylesheet')
     link(href='css/main.css' rel='stylesheet')
   body
   body
     a(href='https://github.com/nostalgiaz/bootstrap-switch', id='github')
     a(href='https://github.com/nostalgiaz/bootstrap-switch', id='github')
@@ -50,7 +50,7 @@ html(lang='en')
         p
         p
           | Code licensed under
           | Code licensed under
           = ' '
           = ' '
-          a(href='http://www.apache.org/licenses/LICENSE-2.0', target='_blank') Apache License, Version 2.0
+          a(href='https://www.apache.org/licenses/LICENSE-2.0', target='_blank') Apache License, Version 2.0
           br
           br
           | Created by
           | Created by
           = ' '
           = ' '

+ 2 - 2
src/docs/index.jade

@@ -13,8 +13,8 @@
     p.lead
     p.lead
       a.btn.btn-outline-inverse.btn-lg(href='https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip') Download Bootstrap Switch
       a.btn.btn-outline-inverse.btn-lg(href='https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip') Download Bootstrap Switch
     p.bs-docs-social
     p.bs-docs-social
-      iframe(src='http://ghbtns.com/github-btn.html?user=nostalgiaz&repo=bootstrap-switch&type=watch&count=true&size=large', allowtransparency='true', frameborder='0', scrolling='0', width='184', height='30')
-      iframe(src='http://ghbtns.com/github-btn.html?user=nostalgiaz&repo=bootstrap-switch&type=fork&count=true&size=large', allowtransparency='true', frameborder='0', scrolling='0', width='144', height='30')
+      iframe(src='https://github-btn.html?user=nostalgiaz&repo=bootstrap-switch&type=watch&count=true&size=large', allowtransparency='true', frameborder='0', scrolling='0', width='184', height='30')
+      iframe(src='https://ghbtns.com/github-btn.html?user=nostalgiaz&repo=bootstrap-switch&type=fork&count=true&size=large', allowtransparency='true', frameborder='0', scrolling='0', width='144', height='30')
     br
     br
     p.version
     p.version
       | Currently v3.3.3 · Compatible with Bootstrap 2 and 3
       | Currently v3.3.3 · Compatible with Bootstrap 2 and 3

+ 0 - 2
src/docs/js/main.js

@@ -4,8 +4,6 @@ var $window = $(window)
 var sectionTop = $('.top').outerHeight() + 20
 var sectionTop = $('.top').outerHeight() + 20
 var $createDestroy = $('#switch-create-destroy')
 var $createDestroy = $('#switch-create-destroy')
 
 
-console.log($)
-
 function capitalize (string) {
 function capitalize (string) {
   return string.charAt(0).toUpperCase() + string.slice(1)
   return string.charAt(0).toUpperCase() + string.slice(1)
 }
 }

部分文件因为文件数量过多而无法显示