소스 검색

renamed files from camelCase to hyphens, accordingly updated readme and documentation

LostCrew 12 년 전
부모
커밋
a25d2315f8
5개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 3
      README.md
  2. 2 2
      examples/index.html
  3. 0 0
      static/js/bootstrap-switch.js
  4. 0 0
      static/less/bootstrap-switch.less
  5. 0 0
      static/stylesheets/bootstrap-switch.css

+ 3 - 3
README.md

@@ -11,10 +11,10 @@ Just include Twitter Bootstrap, jQuery, Bootstrap Switch CSS and Javascript
 ``` html
 ``` html
 <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8;" />
 <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8;" />
 <link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css">
 <link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css">
-<link rel="stylesheet" href="bootstrapSwitch.css">
+<link rel="stylesheet" href="bootstrap-switch.css">
 
 
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
-<script src="bootstrapSwitch.js"></script>  // master
+<script src="bootstrap-switch.js"></script>  // master
 <script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-switch/1.3/bootstrapSwitch.min.js">  // from cdnjs.com
 <script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-switch/1.3/bootstrapSwitch.min.js">  // from cdnjs.com
 ```
 ```
 
 
@@ -22,7 +22,7 @@ Less
 ----
 ----
 If you want to use your bootstrap vars edit bootstrapSwitch.less and then compile the less file
 If you want to use your bootstrap vars edit bootstrapSwitch.less and then compile the less file
 ``` bash
 ``` bash
-lessc static/less/bootstrapSwitch.less static/stylesheets/bootstrapSwitch.css
+lessc static/less/bootstrap-switch.less static/stylesheets/bootstrap-switch.css
 ```
 ```
 
 
 Basic Example
 Basic Example

+ 2 - 2
examples/index.html

@@ -7,7 +7,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8;" />
     <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8;" />
 
 
     <link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css">
     <link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css">
-    <link rel="stylesheet" href="../static/stylesheets/bootstrapSwitch.css">
+    <link rel="stylesheet" href="../static/stylesheets/bootstrap-switch.css">
     <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/js/google-code-prettify/prettify.css">
     <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/js/google-code-prettify/prettify.css">
     <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/docs.css">
     <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/docs.css">
 
 
@@ -409,7 +409,7 @@ $('#disable-switch').bootstrapSwitch('setActive', false);  // true || false</pre
 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
 <script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
 <script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
 <script src="http://twitter.github.com/bootstrap/assets/js/google-code-prettify/prettify.js"></script>
 <script src="http://twitter.github.com/bootstrap/assets/js/google-code-prettify/prettify.js"></script>
-<script src="../static/js/bootstrapSwitch.js"></script>
+<script src="../static/js/bootstrap-switch.js"></script>
 <script>
 <script>
     window.prettyPrint && prettyPrint();
     window.prettyPrint && prettyPrint();
     $('#mySwitch').on('switch-change', function (e, data) {
     $('#mySwitch').on('switch-change', function (e, data) {

+ 0 - 0
static/js/bootstrapSwitch.js → static/js/bootstrap-switch.js


+ 0 - 0
static/less/bootstrapSwitch.less → static/less/bootstrap-switch.less


+ 0 - 0
static/stylesheets/bootstrapSwitch.css → static/stylesheets/bootstrap-switch.css