From 02621988686ada931bbeffb26f39933179518801 Mon Sep 17 00:00:00 2001 From: Zac Echola Date: Mon, 28 Jul 2014 11:24:30 -0500 Subject: [PATCH] Lint nested containers Closes #45 by implementing it. Closes #46 by merging a modified version of it. --- dist/browser/bootlint.js | 24 ++++++++++++++- src/bootlint.js | 7 +++++ test/bootlint_test.js | 18 +++++++++++- .../containers/nested-fixed-fixed.html | 29 +++++++++++++++++++ .../containers/nested-fixed-fluid.html | 29 +++++++++++++++++++ .../containers/nested-fluid-fixed.html | 29 +++++++++++++++++++ .../containers/nested-fluid-fluid.html | 29 +++++++++++++++++++ 7 files changed, 163 insertions(+), 2 deletions(-) create mode 100644 test/fixtures/containers/nested-fixed-fixed.html create mode 100644 test/fixtures/containers/nested-fixed-fluid.html create mode 100644 test/fixtures/containers/nested-fluid-fixed.html create mode 100644 test/fixtures/containers/nested-fluid-fluid.html diff --git a/dist/browser/bootlint.js b/dist/browser/bootlint.js index a3ad0892..a878dbf5 100644 --- a/dist/browser/bootlint.js +++ b/dist/browser/bootlint.js @@ -1,4 +1,4 @@ -/*! bootlint - v0.0.1 - 2014-07-20 */ +/*! bootlint - v0.1.1 - 2014-07-31 */ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o + + + + + + Test + + + + + + + + + +
+
+
+ +
+
    +
  1. +
+ + diff --git a/test/fixtures/containers/nested-fixed-fluid.html b/test/fixtures/containers/nested-fixed-fluid.html new file mode 100644 index 00000000..192115ee --- /dev/null +++ b/test/fixtures/containers/nested-fixed-fluid.html @@ -0,0 +1,29 @@ + + + + + + + Test + + + + + + + + + +
+
+
+ +
+
    +
  1. +
+ + diff --git a/test/fixtures/containers/nested-fluid-fixed.html b/test/fixtures/containers/nested-fluid-fixed.html new file mode 100644 index 00000000..192115ee --- /dev/null +++ b/test/fixtures/containers/nested-fluid-fixed.html @@ -0,0 +1,29 @@ + + + + + + + Test + + + + + + + + + +
+
+
+ +
+
    +
  1. +
+ + diff --git a/test/fixtures/containers/nested-fluid-fluid.html b/test/fixtures/containers/nested-fluid-fluid.html new file mode 100644 index 00000000..a9295910 --- /dev/null +++ b/test/fixtures/containers/nested-fluid-fluid.html @@ -0,0 +1,29 @@ + + + + + + + Test + + + + + + + + + +
+
+
+ +
+
    +
  1. +
+ +