]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add liscense to js files
authorJacob Thornton <jacobthornton@gmail.com>
Sun, 11 Sep 2011 05:24:31 +0000 (22:24 -0700)
committerJacob Thornton <jacobthornton@gmail.com>
Sun, 11 Sep 2011 05:24:31 +0000 (22:24 -0700)
js/bootstrap-alerts.js
js/bootstrap-dropdown.js
js/bootstrap-modal.js
js/bootstrap-popover.js
js/bootstrap-scrollspy.js
js/bootstrap-tabs.js
js/bootstrap-twipsy.js

index 4c9c9394d6c2a7e6cfa6f1179c5efefd3f715114..dbce13466f96532d83711a3789d2274adcf61c86 100644 (file)
@@ -1,3 +1,23 @@
+/* ==========================================================
+ * bootstrap-alerts.js
+ * http://twitter.github.com/bootstrap/javascript.html#alerts
+ * ==========================================================
+ * Copyright 2011 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ========================================================== */
+
+
 (function( $ ){
 
   /* CSS TRANSITION SUPPORT (https://gist.github.com/373874)
index fe73e7994432e8606e508213672dec74337b420f..26db8546115a24404107af30b67f6739d2f870d6 100644 (file)
@@ -1,7 +1,24 @@
-(function( $ ){
+/* ============================================================
+ * bootstrap-dropdown.js
+ * http://twitter.github.com/bootstrap/javascript.html#dropdown
+ * ============================================================
+ * Copyright 2011 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============================================================ */
+
 
- /* DROPDOWN PLUGIN DEFINITION
-  * ========================== */
+(function( $ ){
 
   var selector = 'a.menu, .dropdown-toggle'
 
@@ -13,6 +30,9 @@
     $('body').bind("click", clearMenus)
   })
 
+  /* DROPDOWN PLUGIN DEFINITION
+   * ========================== */
+
   $.fn.dropdown = function ( options ) {
     return this.each(function () {
       $(this).delegate(selector, 'click', function (e) {
index f1e795668beb6d25e087830801c38844bf54ec88..8b21c192d1a65986d70c6894344eee6505adfc61 100644 (file)
@@ -1,3 +1,23 @@
+/* =========================================================
+ * bootstrap-modal.js
+ * http://twitter.github.com/bootstrap/javascript.html#modal
+ * =========================================================
+ * Copyright 2011 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ========================================================= */
+
+
 (function( $ ){
 
  /* CSS TRANSITION SUPPORT (https://gist.github.com/373874)
index 5928fe8caf5290a851eb2b1c36690547d5f05dc0..4995fe5d89fc2f104fcfbb71d4d0395cdb04b176 100644 (file)
@@ -1,10 +1,24 @@
- /* EXTENDS BOOTSTRAP-TWIPSY.js
-    =========================== */
+/* ===========================================================
+ * bootstrap-popover.js
+ * http://twitter.github.com/bootstrap/javascript.html#popover
+ * ===========================================================
+ * Copyright 2011 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * =========================================================== */
 
-(function( $ ) {
 
- /* POPOVER PUBLIC CLASS DEFINITION
-  * ============================== */
+(function( $ ) {
 
   var Popover = function ( element, options ) {
     this.$element = $(element)
@@ -12,6 +26,9 @@
     this.enabled = true
   }
 
+  /* NOTE: POPOVER EXTENDS BOOTSTRAP-TWIPSY.js
+     ========================================= */
+
   Popover.prototype = $.extend({}, $.fn.twipsy.Twipsy.prototype, {
 
     setContent: function () {
index c492e2feefbe22b129ecc044eea35028093d219a..2cf487c50ff8c13b90ed3e969734ad74d1fb4675 100644 (file)
@@ -15,8 +15,8 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- * ==============================================================
- */
+ * ============================================================== */
+
 
 !function ( $ ) {
 
index 029ccc65c368e031d9d1816c8e693557b1f52d21..aaa73644dfd2d40b3c661038a27622b70f5e0934 100644 (file)
@@ -1,3 +1,23 @@
+/* ========================================================
+ * bootstrap-tabs.js
+ * http://twitter.github.com/bootstrap/javascript.html#tabs
+ * ========================================================
+ * Copyright 2011 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================== */
+
+
 (function( $ ){
 
   function activate ( element, container ) {
index ac2f562414275dd91f619bcce9ff20ce05ccf07e..a227af4d28b4d8e794834919f1ca2408d43758bd 100644 (file)
@@ -1,4 +1,23 @@
-/* Adapted from the original jQuery.tipsy by Jason Frame */
+/* ==========================================================
+ * bootstrap-twipsy.js
+ * http://twitter.github.com/bootstrap/javascript.html#twipsy
+ * Adapted from the original jQuery.tipsy by Jason Frame
+ * ==========================================================
+ * Copyright 2011 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ========================================================== */
+
 
 (function( $ ) {