From 286c7352b63162f3eae5ccaf8106ec44af23c300 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Tue, 5 Jun 2012 10:24:00 -0700 Subject: [PATCH] Fix Less load paths, simplify builder error output. Fixes #461 --- CHANGELOG.md | 3 +- Gemfile | 4 + .../lib/middleman-core/cli/build.rb | 76 +- .../core_extensions/rendering.rb | 7 + .../lib/middleman-core/renderers/less.rb | 46 + middleman-core/middleman-core.gemspec | 2 +- middleman-more/features/coffee-script.feature | 2 +- .../twitter-bootstrap-compile.feature | 5 + .../fixtures/twitter-bootstrap-app/config.rb | 0 .../twitter-bootstrap-ebc6935/.gitignore | 36 + .../twitter-bootstrap-ebc6935/.travis.yml | 3 + .../source/twitter-bootstrap-ebc6935/LICENSE | 176 + .../twitter-bootstrap-ebc6935/README.md | 137 + .../img/glyphicons-halflings-white.png | Bin 0 -> 8777 bytes .../img/glyphicons-halflings.png | Bin 0 -> 13826 bytes .../twitter-bootstrap-ebc6935/js/.jshintrc | 10 + .../twitter-bootstrap-ebc6935/js/README.md | 112 + .../js/bootstrap-alert.js | 90 + .../js/bootstrap-button.js | 96 + .../js/bootstrap-carousel.js | 169 + .../js/bootstrap-collapse.js | 157 + .../js/bootstrap-dropdown.js | 100 + .../js/bootstrap-modal.js | 218 + .../js/bootstrap-popover.js | 98 + .../js/bootstrap-scrollspy.js | 151 + .../js/bootstrap-tab.js | 135 + .../js/bootstrap-tooltip.js | 275 + .../js/bootstrap-transition.js | 61 + .../js/bootstrap-typeahead.js | 285 + .../js/tests/index.html | 54 + .../js/tests/phantom.js | 63 + .../js/tests/server.js | 14 + .../js/tests/unit/bootstrap-alert.js | 56 + .../js/tests/unit/bootstrap-button.js | 77 + .../js/tests/unit/bootstrap-carousel.js | 28 + .../js/tests/unit/bootstrap-collapse.js | 54 + .../js/tests/unit/bootstrap-dropdown.js | 87 + .../js/tests/unit/bootstrap-modal.js | 114 + .../js/tests/unit/bootstrap-phantom.js | 21 + .../js/tests/unit/bootstrap-popover.js | 93 + .../js/tests/unit/bootstrap-scrollspy.js | 31 + .../js/tests/unit/bootstrap-tab.js | 61 + .../js/tests/unit/bootstrap-tooltip.js | 155 + .../js/tests/unit/bootstrap-transition.js | 13 + .../js/tests/unit/bootstrap-typeahead.js | 148 + .../js/tests/vendor/jquery.js | 9252 +++++++++++++++++ .../js/tests/vendor/qunit.css | 232 + .../js/tests/vendor/qunit.js | 1510 +++ .../less/_accordion.less | 33 + .../less/_alerts.less | 58 + .../less/_breadcrumbs.less | 24 + .../less/_button-groups.less | 191 + .../less/_buttons.less | 191 + .../less/_carousel.less | 121 + .../less/_close.less | 29 + .../twitter-bootstrap-ebc6935/less/_code.less | 57 + .../less/_component-animations.less | 20 + .../less/_dropdowns.less | 143 + .../less/_forms.less | 583 ++ .../twitter-bootstrap-ebc6935/less/_grid.less | 5 + .../less/_hero-unit.less | 22 + .../less/_labels-badges.less | 55 + .../less/_layouts.less | 17 + .../less/_mixins.less | 646 ++ .../less/_modals.less | 90 + .../less/_navbar.less | 358 + .../twitter-bootstrap-ebc6935/less/_navs.less | 363 + .../less/_pager.less | 36 + .../less/_pagination.less | 56 + .../less/_popovers.less | 49 + .../less/_progress-bars.less | 117 + .../less/_reset.less | 131 + .../less/_responsive-1200px-min.less | 26 + .../less/_responsive-767px-max.less | 149 + .../less/_responsive-768px-979px.less | 17 + .../less/_responsive-navbar.less | 153 + .../less/_responsive-utilities.less | 41 + .../less/_scaffolding.less | 29 + .../less/_sprites.less | 191 + .../less/_tables.less | 176 + .../less/_thumbnails.less | 47 + .../less/_tooltip.less | 35 + .../twitter-bootstrap-ebc6935/less/_type.less | 232 + .../less/_utilities.less | 23 + .../less/_variables.less | 206 + .../less/_wells.less | 27 + .../less/bootstrap.less | 62 + .../less/responsive.less | 48 + .../less/tests/css-tests.css | 52 + .../less/tests/css-tests.html | 917 ++ .../less/tests/forms.html | 179 + .../less/tests/navbar.html | 108 + .../twitter-bootstrap-ebc6935/package.json | 25 + middleman-more/middleman-more.gemspec | 1 + 94 files changed, 20630 insertions(+), 26 deletions(-) create mode 100644 middleman-core/lib/middleman-core/renderers/less.rb create mode 100644 middleman-more/features/twitter-bootstrap-compile.feature create mode 100644 middleman-more/fixtures/twitter-bootstrap-app/config.rb create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/.gitignore create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/.travis.yml create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/LICENSE create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/README.md create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/img/glyphicons-halflings-white.png create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/img/glyphicons-halflings.png create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/.jshintrc create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/README.md create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-alert.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-button.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-carousel.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-collapse.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-dropdown.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-modal.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-popover.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-scrollspy.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-tab.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-tooltip.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-transition.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-typeahead.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/index.html create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/phantom.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/server.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-alert.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-button.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-carousel.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-collapse.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-dropdown.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-modal.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-phantom.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-popover.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-scrollspy.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-tab.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-tooltip.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-transition.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-typeahead.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/vendor/jquery.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/vendor/qunit.css create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/vendor/qunit.js create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_accordion.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_alerts.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_breadcrumbs.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_button-groups.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_buttons.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_carousel.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_close.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_code.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_component-animations.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_dropdowns.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_forms.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_grid.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_hero-unit.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_labels-badges.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_layouts.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_mixins.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_modals.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_navbar.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_navs.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_pager.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_pagination.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_popovers.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_progress-bars.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_reset.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_responsive-1200px-min.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_responsive-767px-max.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_responsive-768px-979px.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_responsive-navbar.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_responsive-utilities.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_scaffolding.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_sprites.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_tables.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_thumbnails.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_tooltip.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_type.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_utilities.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_variables.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_wells.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/bootstrap.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/responsive.less create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/tests/css-tests.css create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/tests/css-tests.html create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/tests/forms.html create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/tests/navbar.html create mode 100755 middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/package.json diff --git a/CHANGELOG.md b/CHANGELOG.md index c7478b85..1e368cbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -3.0.pre +3.0.rc1 ==== * Split into 3 gems (middleman-core, middleman-more and middleman which simply includes both) * Rewritten to work directly with Rack (Sinatra apps can still be mounted) @@ -46,6 +46,7 @@ * Include vendored assets in sprockets path. * Finally support Compass in Sprockets! Thanks to @xdite and @petebrowne * Moved Sprockets into an extension +* Support loading Less @imports 2.0.14 ==== diff --git a/Gemfile b/Gemfile index 8f8f01d0..ad5c0176 100644 --- a/Gemfile +++ b/Gemfile @@ -18,6 +18,10 @@ group :test do gem "coffee-filter", "~> 0.1.1" gem "liquid", "~> 2.2" + # For less tests + gem "therubyracer" + gem "less", "~> 2.2" + platforms :ruby do gem "redcarpet", "~> 2.1.1" end diff --git a/middleman-core/lib/middleman-core/cli/build.rb b/middleman-core/lib/middleman-core/cli/build.rb index 3f2574f6..4c30a395 100644 --- a/middleman-core/lib/middleman-core/cli/build.rb +++ b/middleman-core/lib/middleman-core/cli/build.rb @@ -7,6 +7,8 @@ module Middleman::Cli class Build < Thor include Thor::Actions + attr_reader :debugging + check_unknown_options! namespace :build @@ -40,7 +42,10 @@ module Middleman::Cli require 'find' - self.class.shared_instance(options["verbose"] || false) + @debugging = Middleman::Cli::Base.debugging + @had_errors = false + + self.class.shared_instance(options["verbose"]) self.class.shared_rack @@ -50,6 +55,12 @@ module Middleman::Cli action GlobAction.new(self, opts) + if @had_errors && !@debugging + self.shell.say "There were errors during this build, re-run with --debug to see the full exception." + end + + exit(1) if @had_errors + self.class.shared_instance.run_hook :after_build, self end @@ -94,32 +105,42 @@ module Middleman::Cli end end - # Ignore following method - desc "", "", :hide => true - - # Render a resource to a file. - # - # @param [Middleman::Sitemap::Resource] resource - # @return [String] The full path of the file that was written - def render_to_file(resource) - build_dir = self.class.shared_instance.build_dir - output_file = File.join(build_dir, resource.destination_path) + no_tasks { + # Render a resource to a file. + # + # @param [Middleman::Sitemap::Resource] resource + # @return [String] The full path of the file that was written + def render_to_file(resource) + build_dir = self.class.shared_instance.build_dir + output_file = File.join(build_dir, resource.destination_path) - begin - response = self.class.shared_rack.get(URI.escape(resource.destination_path)) + begin + response = self.class.shared_rack.get(URI.escape(resource.destination_path)) - if response.status == 200 - create_file(output_file, response.body, { :force => true }) - else - raise Thor::Error.new response.body + if response.status == 200 + create_file(output_file, response.body) + else + handle_error(output_file, response.body) + end + rescue => e + handle_error(output_file, "#{e}\n#{e.backtrace.join("\n")}", e) end - rescue => e - say_status :error, output_file, :red - raise Thor::Error.new "#{e}\n#{e.backtrace.join("\n")}" - end - output_file - end + output_file + end + + def handle_error(file_name, response, e=Thor::Error.new(response)) + @had_errors = true + + say_status :error, file_name, :red + if self.debugging + raise e + exit(1) + elsif options["verbose"] + self.shell.error(response) + end + end + } end # A Thor Action, modular code, which does the majority of the work. @@ -149,6 +170,7 @@ module Middleman::Cli end protected + # Remove files which were not built in this cycle # @return [void] def clean! @@ -239,3 +261,11 @@ module Middleman::Cli # Alias "b" to "build" Base.map({ "b" => "build" }) end + +# Quiet down create file +class ::Thor::Actions::CreateFile + def on_conflict_behavior(&block) + say_status :create, :green + block.call unless pretend? + end +end \ No newline at end of file diff --git a/middleman-core/lib/middleman-core/core_extensions/rendering.rb b/middleman-core/lib/middleman-core/core_extensions/rendering.rb index 315ea8ab..3e129c10 100644 --- a/middleman-core/lib/middleman-core/core_extensions/rendering.rb +++ b/middleman-core/lib/middleman-core/core_extensions/rendering.rb @@ -61,6 +61,13 @@ module Middleman app.register Middleman::Renderers::Slim rescue LoadError end + + # Less Support + begin + require "middleman-core/renderers/less" + app.register Middleman::Renderers::Less + rescue LoadError + end end alias :included :registered diff --git a/middleman-core/lib/middleman-core/renderers/less.rb b/middleman-core/lib/middleman-core/renderers/less.rb new file mode 100644 index 00000000..52faf0e1 --- /dev/null +++ b/middleman-core/lib/middleman-core/renderers/less.rb @@ -0,0 +1,46 @@ +require "less" + +module Middleman + module Renderers + + # Sass renderer + module Less + + # Setup extension + class << self + + # Once registered + def registered(app) + # Default sass options + app.set :less, {} + + app.before_configuration do + template_extensions :less => :css + end + + # Tell Tilt to use it as well (for inline sass blocks) + ::Tilt.register 'less', LocalLoadingLessTemplate + ::Tilt.prefer(LocalLoadingLessTemplate) + end + + alias :included :registered + end + + # A SassTemplate for Tilt which outputs debug messages + class LocalLoadingLessTemplate < ::Tilt::LessTemplate + + def prepare + if ::Less.const_defined? :Engine + @engine = ::Less::Engine.new(data) + else + $stderr.puts "HEEERE" + parser = ::Less::Parser.new(options.merge :filename => eval_file, :line => line, :paths => [".", File.dirname(eval_file)]) + @engine = parser.parse(data) + end + end + + end + + end + end +end \ No newline at end of file diff --git a/middleman-core/middleman-core.gemspec b/middleman-core/middleman-core.gemspec index d7fe73ae..08400465 100644 --- a/middleman-core/middleman-core.gemspec +++ b/middleman-core/middleman-core.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |s| s.add_dependency("rack-test", ["~> 0.6.1"]) # CLI - s.add_dependency("thor", ["~> 0.14.0"]) + s.add_dependency("thor", ["~> 0.14.3"]) # Helpers s.add_dependency("activesupport", ["~> 3.2.4"]) diff --git a/middleman-more/features/coffee-script.feature b/middleman-more/features/coffee-script.feature index d054cdb5..0251d678 100644 --- a/middleman-more/features/coffee-script.feature +++ b/middleman-more/features/coffee-script.feature @@ -14,4 +14,4 @@ Feature: Support coffee-script Scenario: Rendering broken coffee Given the Server is running at "coffeescript-app" When I go to "/javascripts/broken-coffee.js" - Then I should see "Error" \ No newline at end of file + Then I should see "reserved word" \ No newline at end of file diff --git a/middleman-more/features/twitter-bootstrap-compile.feature b/middleman-more/features/twitter-bootstrap-compile.feature new file mode 100644 index 00000000..74e59597 --- /dev/null +++ b/middleman-more/features/twitter-bootstrap-compile.feature @@ -0,0 +1,5 @@ +Feature: Compile a complicated Twitter bootstrap app + + Scenario: User drops Twitter Bootstrap source into an app + + Given a successfully built app at "twitter-bootstrap-app" \ No newline at end of file diff --git a/middleman-more/fixtures/twitter-bootstrap-app/config.rb b/middleman-more/fixtures/twitter-bootstrap-app/config.rb new file mode 100644 index 00000000..e69de29b diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/.gitignore b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/.gitignore new file mode 100755 index 00000000..2b1ffbfe --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/.gitignore @@ -0,0 +1,36 @@ +# Numerous always-ignore extensions +*.diff +*.err +*.orig +*.log +*.rej +*.swo +*.swp +*.zip +*.vi +*~ +*.sass-cache + +# OS or Editor folders +.DS_Store +._* +Thumbs.db +.cache +.project +.settings +.tmproj +*.esproj +nbproject +*.sublime-project +*.sublime-workspace + +# Komodo +*.komodoproject +.komodotools + +# Folders to ignore +.hg +.svn +.CVS +.idea +node_modules diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/.travis.yml b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/.travis.yml new file mode 100755 index 00000000..b8e1f172 --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - 0.6 \ No newline at end of file diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/LICENSE b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/LICENSE new file mode 100755 index 00000000..2bb9ad24 --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/LICENSE @@ -0,0 +1,176 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS \ No newline at end of file diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/README.md b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/README.md new file mode 100755 index 00000000..f69925ea --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/README.md @@ -0,0 +1,137 @@ +[Twitter Bootstrap](http://twitter.github.com/bootstrap) [![Build Status](https://secure.travis-ci.org/twitter/bootstrap.png)](http://travis-ci.org/twitter/bootstrap) +================= + +Bootstrap provides simple and flexible HTML, CSS, and Javascript for popular user interface components and interactions. In other words, it's a front-end toolkit for faster, more beautiful web development. It's created and maintained by [Mark Otto](http://twitter.com/mdo) and [Jacob Thornton](http://twitter.com/fat) at Twitter. + +To get started, checkout http://twitter.github.com/bootstrap! + + + +Quick start +----------- + +Clone the repo, `git clone git@github.com:twitter/bootstrap.git`, or [download the latest release](https://github.com/twitter/bootstrap/zipball/master). + + + +Versioning +---------- + +For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Bootstrap will be maintained under the Semantic Versioning guidelines as much as possible. + +Releases will be numbered with the follow format: + +`..` + +And constructed with the following guidelines: + +* Breaking backward compatibility bumps the major (and resets the minor and patch) +* New additions without breaking backward compatibility bumps the minor (and resets the patch) +* Bug fixes and misc changes bumps the patch + +For more information on SemVer, please visit http://semver.org/. + + + +Bug tracker +----------- + +Have a bug? Please create an issue here on GitHub! Also, when filing please make sure you're familiar with [necolas's guidelines](https://github.com/necolas/issue-guidelines). thanks! <3 + +https://github.com/twitter/bootstrap/issues + + + +Twitter account +--------------- + +Keep up to date on announcements and more by following Bootstrap on Twitter, [@TwBootstrap](http://twitter.com/TwBootstrap). + + + +Blog +---- + +Read more detailed announcements, discussions, and more on [The Official Twitter Bootstrap Blog](http://blog.getbootstrap.com). + + + +Mailing list +------------ + +Have a question? Ask on our mailing list! + +twitter-bootstrap@googlegroups.com + +http://groups.google.com/group/twitter-bootstrap + + + +IRC +--- + +Server: irc.freenode.net + +Channel: ##twitter-bootstrap (the double ## is not a typo) + + + +Developers +---------- + +We have included a makefile with convenience methods for working with the Bootstrap library. + ++ **dependencies** +Our makefile depends on you having recess, uglify.js, and jshint installed. To install, just run the following command in npm: + +``` +$ npm install recess uglify-js jshint -g +``` + ++ **build** - `make` +Runs the recess compiler to rebuild the `/less` files and compiles the docs pages. Requires recess and uglify-js. Read more in our docs » + ++ **test** - `make test` +Runs jshint and qunit tests headlessly in phantom js (used for ci). Depends on having phatomjs installed. + ++ **watch** - `make watch` +This is a convenience method for watching just Less files and automatically building them whenever you save. Requires the Watchr gem. + + +Contributing +------------ + +Please make all pull requests against wip-* branches. Also, if your unit test contains javascript patches or features - you must include relevant unit tests. Thanks! + + +Authors +------- + +**Mark Otto** + ++ http://twitter.com/mdo ++ http://github.com/markdotto + +**Jacob Thornton** + ++ http://twitter.com/fat ++ http://github.com/fat + + + +Copyright and license +--------------------- + +Copyright 2012 Twitter, Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this work except in compliance with the License. +You may obtain a copy of the License in the LICENSE file, or 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. diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/img/glyphicons-halflings-white.png b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/img/glyphicons-halflings-white.png new file mode 100755 index 0000000000000000000000000000000000000000..3bf6484a29d8da269f9bc874b25493a45fae3bae GIT binary patch literal 8777 zcmZvC1yGz#v+m*$LXcp=A$ZWB0fL7wNbp_U*$~{_gL`my3oP#L!5tQYy99Ta`+g_q zKlj|KJ2f@c)ARJx{q*bbkhN_!|Wn*Vos8{TEhUT@5e;_WJsIMMcG5%>DiS&dv_N`4@J0cnAQ-#>RjZ z00W5t&tJ^l-QC*ST1-p~00u^9XJ=AUl7oW-;2a+x2k__T=grN{+1c4XK0ZL~^z^i$ zp&>vEhr@4fZWb380S18T&!0cQ3IKpHF)?v=b_NIm0Q>vwY7D0baZ)n z31Fa5sELUQARIVaU0nqf0XzT+fB_63aA;@<$l~wse|mcA;^G1TmX?-)e)jkGPfkuA z92@|!<>h5S_4f8QP-JRq>d&7)^Yin8l7K8gED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K%a>i z?fvf}va_DGUXlI#4--`A3qK7J?-HwnG7O~H2;zR~RLW)_^#La!=}+>KW#anZ{|^D3 B7G?kd literal 0 HcmV?d00001 diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/img/glyphicons-halflings.png b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/img/glyphicons-halflings.png new file mode 100755 index 0000000000000000000000000000000000000000..79bc568c21395d5a5ceab62fadb04457094b2ac7 GIT binary patch literal 13826 zcma)jby!@B+o%-915yyF0YFyB4?Ne(CRg z-#O<#&wb84`D17H-t*49Gi$BAvS#fBDJx22pcA4aAt7PN%1EdpAw8RXk~3bSJRMO{ zLOPzl2q2PL5H+wV#M#IJgd}PLHU^Q&+8CLER6#~2F82K(0VJg7mlo<;5G{o-d_b@b zi_u>l7MP9Q6B-FgKp19c1hfJ{$c#Z|7Pf*EM~$r%WELiZ6q=k0YzlVbAae^DR|k-q ztD-v4)e6XKLLn?fCII7mGGGIO7?HtjtZg0nV1g9?*yVeY|6XRLAp1uJVkJoNAEdMt zl*z=w4j?j47B*%e8y7nn*Jl>?&uqM(d6~#Qv9YtUvVUS_<7Q@Os%DRy=VF;OnbPZB&l+~Sg=;$olKxc@r)Yv8{FpRTZ&JYl7zK5_7had2=;im|h^ zOS1E@^NNabNpOiuiHY)jW|#UmR@T-LVq^;h{dM{mYw=&$PyZv9Puu}y1OYp!gTdDS z?kdXWUuEt5GU<9?B8*-aqzJHUs!SW&!V4sCD=ZRit}=F za#FB9kud@CK`bEFpnvsHQESM*Bx{Smy@b!&$kyyB9n2;mQzNJ~ghI&7+QrV?0tmKs zG<38vvbHufF>%IThd>Rse#s3_OPbdF5nnAWt zL)hVIta5&^8bd;2&ytl8Rfo+Tcz~_-Bx?#ZE2<3oUBe})+zpAGX&=O$_aCJBN!CBt zv~LUxtg{dH^uI`jCU#YZa*6x&AyIg@k@bxImc$%rVne48BslqY$+TLFj(v37h7yfx z$^jmG#g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ywj5XdkuSTR2s1b> z60lzNZMkjx`b~_wapzIo-Eku>H`NV#XFRgb*F@gDM&yDMiwX=D%B zmzw)_!+aX+zV8mY9at~%ev^rb^(0rwKSp(3};ZpMvxEwD2OjDaVA6Ry$0&8rtZV3pHxzf$? zzAjYXA~;b|XCc95MUR%dTT@Z>0}uY+8y=;wW1vky{pKP;cOV}6&6tV$I;>`FK z906wPfPrz9t=;&M?(Wwdm z0?&;KzLQk84srC-9#ap*I_9GregSZjm<$6oiZ>h3ACEnS7A^faq{fPmD!rT69qQG% zRVF#+RDZ(-Ue?g!$?;NT#p=8F8SV%EZ5ry{-5J)UN6Jj~-klPlw7o4w&aUp0pn@@) zM(jp3}a6rP@=sC1ZvM zV)jL-HO|elZ@x|hHXkrmGu9uS2%=Jqa zgIqpCmA+s{=XewW1!LqE)3%%mIO z(8jQbk;xApH`iS0;h7M96j^_3N=#|-xP-=*>3=obmL(W)Au>jdy3E<UjD;R zOI^Va(lW(qH`MjF&}RqCOifgKKA39SANA9=Qv4z+3Qey|4BJBzex_v%9=l5D-xJaG`?IF#?EKul!io4R+`>v>t_65&VXqROwiMr@*>SD)gNHL4^Ml5(vgCqodJjd$~XNSPzt@GziL=mgy;Y+qBZh&1qKxwm{>$kMCyH2rN?F2%^-bX#z9QBC| zNx?aIaFXEMqAKsMWDfWB@Pt3@$5LZ%DVDT70icB1BXM`F_#4rYqTkpk%wf tVgFekgZM{XhA!KlmFcR^%iaf4$rSfz)nO-hfB%&wE2$_^D)!aq{{YOB6}SKZ literal 0 HcmV?d00001 diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/.jshintrc b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/.jshintrc new file mode 100755 index 00000000..bbac349e --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/.jshintrc @@ -0,0 +1,10 @@ +{ + "validthis": true, + "laxcomma" : true, + "laxbreak" : true, + "browser" : true, + "debug" : true, + "boss" : true, + "expr" : true, + "asi" : true +} \ No newline at end of file diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/README.md b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/README.md new file mode 100755 index 00000000..b7927ba6 --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/README.md @@ -0,0 +1,112 @@ +## 2.0 BOOTSTRAP JS PHILOSOPHY +These are the high-level design rules which guide the development of Bootstrap's plugin apis. + +--- + +### DATA-ATTRIBUTE API + +We believe you should be able to use all plugins provided by Bootstrap purely through the markup API without writing a single line of JavaScript. This is Bootstrap's first class API. + +We acknowledge that this isn't always the most performant and it may sometimes be desirable to turn this functionality off altogether. Therefore, as of 2.0 we provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this: + + $('body').off('.data-api') + +To target a specific plugin, just include the plugins name as a namespace along with the data-api namespace like this: + + $('body').off('.alert.data-api') + +--- + +### PROGRAMATIC API + +We also believe you should be able to use all plugins provided by Bootstrap purely through the JavaScript API. + +All public APIs should be single, chainable methods, and return the collection acted upon. + + $(".btn.danger").button("toggle").addClass("fat") + +All methods should accept an optional options object, a string which targets a particular method, or null which initiates the default behavior: + + $("#myModal").modal() // initialized with defaults + $("#myModal").modal({ keyboard: false }) // initialized with no keyboard + $("#myModal").modal('show') // initializes and invokes show immediately + +--- + +### OPTIONS + +Options should be sparse and add universal value. We should pick the right defaults. + +All plugins should have a default object which can be modified to affect all instances' default options. The defaults object should be available via `$.fn.plugin.defaults`. + + $.fn.modal.defaults = { โ€ฆ } + +An options definition should take the following form: + + *noun*: *adjective* - describes or modifies a quality of an instance + +Examples: + + backdrop: true + keyboard: false + placement: 'top' + +--- + +### EVENTS + +All events should have an infinitive and past participle form. The infinitive is fired just before an action takes place, the past participle on completion of the action. + + show | shown + hide | hidden + +All infinitive events should provide preventDefault functionality. This provides the abililty to stop the execution of an action. + + $('#myModal').on('show', function (e) { + if (!data) return e.preventDefault() // stops modal from being shown + }) + +--- + +### CONSTRUCTORS + +Each plugin should expose its raw constructor on a `Constructor` property -- accessed in the following way: + + + $.fn.popover.Constructor + +--- + +### DATA ACCESSOR + +Each plugin stores a copy of the invoked class on an object. This class instance can be accessed directly through jQuery's data API like this: + + $('[rel=popover]').data('popover') instanceof $.fn.popover.Constructor + +--- + +### DATA ATTRIBUTES + +Data attributes should take the following form: + +- data-{{verb}}={{plugin}} - defines main interaction +- data-target || href^=# - defined on "control" element (if element controls an element other than self) +- data-{{noun}} - defines class instance options + +Examples: + + // control other targets + data-toggle="modal" data-target="#foo" + data-toggle="collapse" data-target="#foo" data-parent="#bar" + + // defined on element they control + data-spy="scroll" + + data-dismiss="modal" + data-dismiss="alert" + + data-toggle="dropdown" + + data-toggle="button" + data-toggle="buttons-checkbox" + data-toggle="buttons-radio" \ No newline at end of file diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-alert.js b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-alert.js new file mode 100755 index 00000000..57890a9a --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-alert.js @@ -0,0 +1,90 @@ +/* ========================================================== + * bootstrap-alert.js v2.0.4 + * http://twitter.github.com/bootstrap/javascript.html#alerts + * ========================================================== + * Copyright 2012 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 ($) { + + "use strict"; // jshint ;_; + + + /* ALERT CLASS DEFINITION + * ====================== */ + + var dismiss = '[data-dismiss="alert"]' + , Alert = function (el) { + $(el).on('click', dismiss, this.close) + } + + Alert.prototype.close = function (e) { + var $this = $(this) + , selector = $this.attr('data-target') + , $parent + + if (!selector) { + selector = $this.attr('href') + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 + } + + $parent = $(selector) + + e && e.preventDefault() + + $parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent()) + + $parent.trigger(e = $.Event('close')) + + if (e.isDefaultPrevented()) return + + $parent.removeClass('in') + + function removeElement() { + $parent + .trigger('closed') + .remove() + } + + $.support.transition && $parent.hasClass('fade') ? + $parent.on($.support.transition.end, removeElement) : + removeElement() + } + + + /* ALERT PLUGIN DEFINITION + * ======================= */ + + $.fn.alert = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('alert') + if (!data) $this.data('alert', (data = new Alert(this))) + if (typeof option == 'string') data[option].call($this) + }) + } + + $.fn.alert.Constructor = Alert + + + /* ALERT DATA-API + * ============== */ + + $(function () { + $('body').on('click.alert.data-api', dismiss, Alert.prototype.close) + }) + +}(window.jQuery); \ No newline at end of file diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-button.js b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-button.js new file mode 100755 index 00000000..7f187be6 --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-button.js @@ -0,0 +1,96 @@ +/* ============================================================ + * bootstrap-button.js v2.0.4 + * http://twitter.github.com/bootstrap/javascript.html#buttons + * ============================================================ + * Copyright 2012 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 ($) { + + "use strict"; // jshint ;_; + + + /* BUTTON PUBLIC CLASS DEFINITION + * ============================== */ + + var Button = function (element, options) { + this.$element = $(element) + this.options = $.extend({}, $.fn.button.defaults, options) + } + + Button.prototype.setState = function (state) { + var d = 'disabled' + , $el = this.$element + , data = $el.data() + , val = $el.is('input') ? 'val' : 'html' + + state = state + 'Text' + data.resetText || $el.data('resetText', $el[val]()) + + $el[val](data[state] || this.options[state]) + + // push to event loop to allow forms to submit + setTimeout(function () { + state == 'loadingText' ? + $el.addClass(d).attr(d, d) : + $el.removeClass(d).removeAttr(d) + }, 0) + } + + Button.prototype.toggle = function () { + var $parent = this.$element.parent('[data-toggle="buttons-radio"]') + + $parent && $parent + .find('.active') + .removeClass('active') + + this.$element.toggleClass('active') + } + + + /* BUTTON PLUGIN DEFINITION + * ======================== */ + + $.fn.button = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('button') + , options = typeof option == 'object' && option + if (!data) $this.data('button', (data = new Button(this, options))) + if (option == 'toggle') data.toggle() + else if (option) data.setState(option) + }) + } + + $.fn.button.defaults = { + loadingText: 'loading...' + } + + $.fn.button.Constructor = Button + + + /* BUTTON DATA-API + * =============== */ + + $(function () { + $('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) { + var $btn = $(e.target) + if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') + $btn.button('toggle') + }) + }) + +}(window.jQuery); \ No newline at end of file diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-carousel.js b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-carousel.js new file mode 100755 index 00000000..551de589 --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-carousel.js @@ -0,0 +1,169 @@ +/* ========================================================== + * bootstrap-carousel.js v2.0.4 + * http://twitter.github.com/bootstrap/javascript.html#carousel + * ========================================================== + * Copyright 2012 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 ($) { + + "use strict"; // jshint ;_; + + + /* CAROUSEL CLASS DEFINITION + * ========================= */ + + var Carousel = function (element, options) { + this.$element = $(element) + this.options = options + this.options.slide && this.slide(this.options.slide) + this.options.pause == 'hover' && this.$element + .on('mouseenter', $.proxy(this.pause, this)) + .on('mouseleave', $.proxy(this.cycle, this)) + } + + Carousel.prototype = { + + cycle: function (e) { + if (!e) this.paused = false + this.options.interval + && !this.paused + && (this.interval = setInterval($.proxy(this.next, this), this.options.interval)) + return this + } + + , to: function (pos) { + var $active = this.$element.find('.active') + , children = $active.parent().children() + , activePos = children.index($active) + , that = this + + if (pos > (children.length - 1) || pos < 0) return + + if (this.sliding) { + return this.$element.one('slid', function () { + that.to(pos) + }) + } + + if (activePos == pos) { + return this.pause().cycle() + } + + return this.slide(pos > activePos ? 'next' : 'prev', $(children[pos])) + } + + , pause: function (e) { + if (!e) this.paused = true + clearInterval(this.interval) + this.interval = null + return this + } + + , next: function () { + if (this.sliding) return + return this.slide('next') + } + + , prev: function () { + if (this.sliding) return + return this.slide('prev') + } + + , slide: function (type, next) { + var $active = this.$element.find('.active') + , $next = next || $active[type]() + , isCycling = this.interval + , direction = type == 'next' ? 'left' : 'right' + , fallback = type == 'next' ? 'first' : 'last' + , that = this + , e = $.Event('slide') + + this.sliding = true + + isCycling && this.pause() + + $next = $next.length ? $next : this.$element.find('.item')[fallback]() + + if ($next.hasClass('active')) return + + if ($.support.transition && this.$element.hasClass('slide')) { + this.$element.trigger(e) + if (e.isDefaultPrevented()) return + $next.addClass(type) + $next[0].offsetWidth // force reflow + $active.addClass(direction) + $next.addClass(direction) + this.$element.one($.support.transition.end, function () { + $next.removeClass([type, direction].join(' ')).addClass('active') + $active.removeClass(['active', direction].join(' ')) + that.sliding = false + setTimeout(function () { that.$element.trigger('slid') }, 0) + }) + } else { + this.$element.trigger(e) + if (e.isDefaultPrevented()) return + $active.removeClass('active') + $next.addClass('active') + this.sliding = false + this.$element.trigger('slid') + } + + isCycling && this.cycle() + + return this + } + + } + + + /* CAROUSEL PLUGIN DEFINITION + * ========================== */ + + $.fn.carousel = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('carousel') + , options = $.extend({}, $.fn.carousel.defaults, typeof option == 'object' && option) + if (!data) $this.data('carousel', (data = new Carousel(this, options))) + if (typeof option == 'number') data.to(option) + else if (typeof option == 'string' || (option = options.slide)) data[option]() + else if (options.interval) data.cycle() + }) + } + + $.fn.carousel.defaults = { + interval: 5000 + , pause: 'hover' + } + + $.fn.carousel.Constructor = Carousel + + + /* CAROUSEL DATA-API + * ================= */ + + $(function () { + $('body').on('click.carousel.data-api', '[data-slide]', function ( e ) { + var $this = $(this), href + , $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7 + , options = !$target.data('modal') && $.extend({}, $target.data(), $this.data()) + $target.carousel(options) + e.preventDefault() + }) + }) + +}(window.jQuery); \ No newline at end of file diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-collapse.js b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-collapse.js new file mode 100755 index 00000000..fbc915b9 --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-collapse.js @@ -0,0 +1,157 @@ +/* ============================================================= + * bootstrap-collapse.js v2.0.4 + * http://twitter.github.com/bootstrap/javascript.html#collapse + * ============================================================= + * Copyright 2012 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 ($) { + + "use strict"; // jshint ;_; + + + /* COLLAPSE PUBLIC CLASS DEFINITION + * ================================ */ + + var Collapse = function (element, options) { + this.$element = $(element) + this.options = $.extend({}, $.fn.collapse.defaults, options) + + if (this.options.parent) { + this.$parent = $(this.options.parent) + } + + this.options.toggle && this.toggle() + } + + Collapse.prototype = { + + constructor: Collapse + + , dimension: function () { + var hasWidth = this.$element.hasClass('width') + return hasWidth ? 'width' : 'height' + } + + , show: function () { + var dimension + , scroll + , actives + , hasData + + if (this.transitioning) return + + dimension = this.dimension() + scroll = $.camelCase(['scroll', dimension].join('-')) + actives = this.$parent && this.$parent.find('> .accordion-group > .in') + + if (actives && actives.length) { + hasData = actives.data('collapse') + if (hasData && hasData.transitioning) return + actives.collapse('hide') + hasData || actives.data('collapse', null) + } + + this.$element[dimension](0) + this.transition('addClass', $.Event('show'), 'shown') + this.$element[dimension](this.$element[0][scroll]) + } + + , hide: function () { + var dimension + if (this.transitioning) return + dimension = this.dimension() + this.reset(this.$element[dimension]()) + this.transition('removeClass', $.Event('hide'), 'hidden') + this.$element[dimension](0) + } + + , reset: function (size) { + var dimension = this.dimension() + + this.$element + .removeClass('collapse') + [dimension](size || 'auto') + [0].offsetWidth + + this.$element[size !== null ? 'addClass' : 'removeClass']('collapse') + + return this + } + + , transition: function (method, startEvent, completeEvent) { + var that = this + , complete = function () { + if (startEvent.type == 'show') that.reset() + that.transitioning = 0 + that.$element.trigger(completeEvent) + } + + this.$element.trigger(startEvent) + + if (startEvent.isDefaultPrevented()) return + + this.transitioning = 1 + + this.$element[method]('in') + + $.support.transition && this.$element.hasClass('collapse') ? + this.$element.one($.support.transition.end, complete) : + complete() + } + + , toggle: function () { + this[this.$element.hasClass('in') ? 'hide' : 'show']() + } + + } + + + /* COLLAPSIBLE PLUGIN DEFINITION + * ============================== */ + + $.fn.collapse = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('collapse') + , options = typeof option == 'object' && option + if (!data) $this.data('collapse', (data = new Collapse(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.collapse.defaults = { + toggle: true + } + + $.fn.collapse.Constructor = Collapse + + + /* COLLAPSIBLE DATA-API + * ==================== */ + + $(function () { + $('body').on('click.collapse.data-api', '[data-toggle=collapse]', function ( e ) { + var $this = $(this), href + , target = $this.attr('data-target') + || e.preventDefault() + || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7 + , option = $(target).data('collapse') ? 'toggle' : $this.data() + $(target).collapse(option) + }) + }) + +}(window.jQuery); \ No newline at end of file diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-dropdown.js b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-dropdown.js new file mode 100755 index 00000000..454a9684 --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-dropdown.js @@ -0,0 +1,100 @@ +/* ============================================================ + * bootstrap-dropdown.js v2.0.4 + * http://twitter.github.com/bootstrap/javascript.html#dropdowns + * ============================================================ + * Copyright 2012 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 ($) { + + "use strict"; // jshint ;_; + + + /* DROPDOWN CLASS DEFINITION + * ========================= */ + + var toggle = '[data-toggle="dropdown"]' + , Dropdown = function (element) { + var $el = $(element).on('click.dropdown.data-api', this.toggle) + $('html').on('click.dropdown.data-api', function () { + $el.parent().removeClass('open') + }) + } + + Dropdown.prototype = { + + constructor: Dropdown + + , toggle: function (e) { + var $this = $(this) + , $parent + , selector + , isActive + + if ($this.is('.disabled, :disabled')) return + + selector = $this.attr('data-target') + + if (!selector) { + selector = $this.attr('href') + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 + } + + $parent = $(selector) + $parent.length || ($parent = $this.parent()) + + isActive = $parent.hasClass('open') + + clearMenus() + + if (!isActive) $parent.toggleClass('open') + + return false + } + + } + + function clearMenus() { + $(toggle).parent().removeClass('open') + } + + + /* DROPDOWN PLUGIN DEFINITION + * ========================== */ + + $.fn.dropdown = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('dropdown') + if (!data) $this.data('dropdown', (data = new Dropdown(this))) + if (typeof option == 'string') data[option].call($this) + }) + } + + $.fn.dropdown.Constructor = Dropdown + + + /* APPLY TO STANDARD DROPDOWN ELEMENTS + * =================================== */ + + $(function () { + $('html').on('click.dropdown.data-api', clearMenus) + $('body') + .on('click.dropdown', '.dropdown form', function (e) { e.stopPropagation() }) + .on('click.dropdown.data-api', toggle, Dropdown.prototype.toggle) + }) + +}(window.jQuery); \ No newline at end of file diff --git a/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-modal.js b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-modal.js new file mode 100755 index 00000000..38fd0c84 --- /dev/null +++ b/middleman-more/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-modal.js @@ -0,0 +1,218 @@ +/* ========================================================= + * bootstrap-modal.js v2.0.4 + * http://twitter.github.com/bootstrap/javascript.html#modals + * ========================================================= + * Copyright 2012 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 ($) { + + "use strict"; // jshint ;_; + + + /* MODAL CLASS DEFINITION + * ====================== */ + + var Modal = function (content, options) { + this.options = options + this.$element = $(content) + .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this)) + } + + Modal.prototype = { + + constructor: Modal + + , toggle: function () { + return this[!this.isShown ? 'show' : 'hide']() + } + + , show: function () { + var that = this + , e = $.Event('show') + + this.$element.trigger(e) + + if (this.isShown || e.isDefaultPrevented()) return + + $('body').addClass('modal-open') + + this.isShown = true + + escape.call(this) + backdrop.call(this, function () { + var transition = $.support.transition && that.$element.hasClass('fade') + + if (!that.$element.parent().length) { + that.$element.appendTo(document.body) //don't move modals dom position + } + + that.$element + .show() + + if (transition) { + that.$element[0].offsetWidth // force reflow + } + + that.$element.addClass('in') + + transition ? + that.$element.one($.support.transition.end, function () { that.$element.trigger('shown') }) : + that.$element.trigger('shown') + + }) + } + + , hide: function (e) { + e && e.preventDefault() + + var that = this + + e = $.Event('hide') + + this.$element.trigger(e) + + if (!this.isShown || e.isDefaultPrevented()) return + + this.isShown = false + + $('body').removeClass('modal-open') + + escape.call(this) + + this.$element.removeClass('in') + + $.support.transition && this.$element.hasClass('fade') ? + hideWithTransition.call(this) : + hideModal.call(this) + } + + } + + + /* MODAL PRIVATE METHODS + * ===================== */ + + function hideWithTransition() { + var that = this + , timeout = setTimeout(function () { + that.$element.off($.support.transition.end) + hideModal.call(that) + }, 500) + + this.$element.one($.support.transition.end, function () { + clearTimeout(timeout) + hideModal.call(that) + }) + } + + function hideModal(that) { + this.$element + .hide() + .trigger('hidden') + + backdrop.call(this) + } + + function backdrop(callback) { + var that = this + , animate = this.$element.hasClass('fade') ? 'fade' : '' + + if (this.isShown && this.options.backdrop) { + var doAnimate = $.support.transition && animate + + this.$backdrop = $('