Commit bdcac7ec by 陈雨佳

删除冗余

parents
# rails-assets-bootstrap
> The Bower package inside a gem
This gem was automatically generated. You can visit [rails-assets.org](https://rails-assets.org) for more information.
## Usage
Add rails-assets source block to your `Gemfile`:
```ruby
source "https://rails-assets.org" do
gem "rails-assets-bootstrap"
end
```
Then, import the asset using Sprockets’ `require` directive:
```js
//= require "bootstrap"
```
require 'bundler/gem_tasks'
{
"paths": {
"customizerJs": [
"../assets/js/vendor/autoprefixer.js",
"../assets/js/vendor/less.min.js",
"../assets/js/vendor/jszip.min.js",
"../assets/js/vendor/uglify.min.js",
"../assets/js/vendor/Blob.js",
"../assets/js/vendor/FileSaver.js",
"../assets/js/raw-files.min.js",
"../assets/js/src/customizer.js"
],
"docsJs": [
"../assets/js/vendor/holder.min.js",
"../assets/js/vendor/ZeroClipboard.min.js",
"../assets/js/vendor/anchor.min.js",
"../assets/js/src/application.js"
]
},
"config": {
"autoprefixerBrowsers": [
"Android 2.3",
"Android >= 4",
"Chrome >= 20",
"Firefox >= 24",
"Explorer >= 8",
"iOS >= 6",
"Opera >= 12",
"Safari >= 6"
],
"jqueryCheck": [
"if (typeof jQuery === 'undefined') {",
" throw new Error('Bootstrap\\'s JavaScript requires jQuery')",
"}\n"
],
"jqueryVersionCheck": [
"+function ($) {",
" 'use strict';",
" var version = $.fn.jquery.split(' ')[0].split('.')",
" if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) {",
" throw new Error('Bootstrap\\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')",
" }",
"}(jQuery);\n\n"
]
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
//= require bootstrap/bootstrap.js
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
require('../../js/transition.js')
require('../../js/alert.js')
require('../../js/button.js')
require('../../js/carousel.js')
require('../../js/collapse.js')
require('../../js/dropdown.js')
require('../../js/modal.js')
require('../../js/tooltip.js')
require('../../js/popover.js')
require('../../js/scrollspy.js')
require('../../js/tab.js')
require('../../js/affix.js')
\ No newline at end of file
@import 'bootstrap/bootstrap.scss';
This source diff could not be displayed because it is too large. You can view the blob instead.
require "rails-assets-bootstrap/version"
require "rails-assets-jquery"
module RailsAssetsBootstrap
def self.gem_path
Pathname(File.realpath(__FILE__)).join('../..')
end
def self.gem_spec
Gem::Specification::load(
gem_path.join("rails-assets-bootstrap.gemspec").to_s
)
end
def self.load_paths
gem_path.join('app/assets').each_child.to_a
end
def self.dependencies
[
RailsAssetsJquery
]
end
if defined?(Rails)
class Engine < ::Rails::Engine
# Rails -> use app/assets directory.
end
end
end
class RailsAssets
@components ||= []
class << self
attr_accessor :components
def load_paths
components.flat_map(&:load_paths)
end
end
end
RailsAssets.components << RailsAssetsBootstrap
module RailsAssetsBootstrap
VERSION = "3.3.7"
end
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rails-assets-bootstrap/version'
Gem::Specification.new do |spec|
spec.name = "rails-assets-bootstrap"
spec.version = RailsAssetsBootstrap::VERSION
spec.authors = ["rails-assets.org"]
spec.description = "The most popular front-end framework for developing responsive, mobile first projects on the web."
spec.summary = "The most popular front-end framework for developing responsive, mobile first projects on the web."
spec.homepage = "http://getbootstrap.com/"
spec.license = "MIT"
spec.files = `find ./* -type f | cut -b 3-`.split($/)
spec.require_paths = ["lib"]
spec.add_dependency "rails-assets-jquery", ">= 1.9.1", "< 4"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
end
{
"name": "rails-assets-bootstrap",
"downloads": null,
"version": "3.3.7",
"version_downloads": null,
"platform": "ruby",
"authors": "rails-assets.org",
"info": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
"licenses": "MIT",
"metadata": {
},
"sha": null,
"project_uri": "http://getbootstrap.com/",
"gem_uri": null,
"homepage_uri": "http://getbootstrap.com/",
"wiki_uri": null,
"documentation_uri": null,
"mailing_list_uri": null,
"source_code_uri": "http://getbootstrap.com/",
"bug_tracker_uri": null,
"dependencies": {
"development": [
{
"name": "rails-assets-jquery",
"requirements": ">= 1.9.1", "< 4"
},
],
"runtime": [
]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment