diff --git a/.gitignore b/.gitignore index 85a3ad51f4..d44f5c51bb 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,6 @@ lib/ dist/ !tools/dist/ docs-built/ -ie8/bundle.js tmp-bower-repo/ tmp-docs-repo/ .babel-cache/ diff --git a/ie8/.eslintrc b/ie8/.eslintrc deleted file mode 100644 index 7140da56ac..0000000000 --- a/ie8/.eslintrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - rules: { - "react/no-multi-comp": 0 - } -} diff --git a/ie8/README.md b/ie8/README.md deleted file mode 100644 index 5d43efa2cb..0000000000 --- a/ie8/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# ie8 tests - -A simple page with several React-Bootstrap components for testing in ie8. - -``` -npm run ie8 -``` - -Look for the port number in console (usually 4000). This will watch for file -changes and recompile. Simply refresh your browser. - -If you do not have the pleasure of operating a vintage Windows machine, -you can download virtual machines at [modern.ie](https://modern.ie/) diff --git a/ie8/assets/carousel.png b/ie8/assets/carousel.png deleted file mode 100644 index cec528aef2..0000000000 Binary files a/ie8/assets/carousel.png and /dev/null differ diff --git a/ie8/index.html b/ie8/index.html deleted file mode 100644 index 934063377e..0000000000 --- a/ie8/index.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - React-Bootstrap IE8 test page - - - - - - - - -

Hello, world!

- - - - diff --git a/ie8/server.js b/ie8/server.js deleted file mode 100644 index 3e457a7e30..0000000000 --- a/ie8/server.js +++ /dev/null @@ -1,40 +0,0 @@ -import express from 'express'; -import path from 'path'; -import webpack from 'webpack'; -import webpackMiddleware from 'webpack-dev-middleware'; -import webpackConfigBuilder from '../webpack/webpack.config'; - -const development = process.env.NODE_ENV !== 'production'; -let app = express(); - -if (development) { - let webpackConfig = webpackConfigBuilder({ - development, - ie8: true - }); - let publicPath = webpackConfig.output.publicPath; - - webpackConfig.output.path = '/'; - webpackConfig.output.publicPath = undefined; - - console.log('webpackConfig'); - console.log(webpackConfig); - - app = app - .use(webpackMiddleware(webpack(webpackConfig), { - noInfo: false, - publicPath, - stats: { - colors: true - } - })) - .use(express.static(path.join(__dirname))); -} else { - app = app - .use(express.static(path.join(__dirname, '../ie8-built'))); -} - -app - .listen(4000, function () { - console.log('Server started at http://localhost:4000'); - }); diff --git a/ie8/src.js b/ie8/src.js deleted file mode 100644 index e8edfd5f13..0000000000 --- a/ie8/src.js +++ /dev/null @@ -1,209 +0,0 @@ -import React from 'react'; -import Button from '../src/Button'; -import DropdownButton from '../src/DropdownButton'; -import MenuItem from '../src/MenuItem'; -import Accordion from '../src/Accordion'; -import Panel from '../src/Panel'; -import ButtonToolbar from '../src/ButtonToolbar'; -import OverlayTrigger from '../src/OverlayTrigger'; -import Tooltip from '../src/Tooltip'; -import Alert from '../src/Alert'; -import TabbedArea from '../src/TabbedArea'; -import TabPane from '../src/TabPane'; -import Modal from '../src/Modal'; -import OverlayMixin from '../src/OverlayMixin'; -import Popover from '../src/Popover'; -import Carousel from '../src/Carousel'; -import CarouselItem from '../src/CarouselItem'; - -import './assets/carousel.png'; - -const dropdownInstance = ( - - Item 1 - Item 2 - -); - -const accordionInstance = ( - - - Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. - - - Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. - - - Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. - - -); - -const positionerInstance = ( - - Holy guacamole! Check this info.}> - - - Holy guacamole! Check this info.}> - - - Holy guacamole! Check this info.}> - - - Holy guacamole! Check this info.}> - - - -); - -const popoverInstance = ( - - Holy guacamole! Check this info.}> - - - Holy guacamole! Check this info.}> - - - Holy guacamole! Check this info.}> - - - Holy guacamole! Check this info.}> - - - -); - -const tabbedAreaInstance = ( - - TabPane 1 content - TabPane 2 content - -); - -const AlertAutoDismissable = React.createClass({ - getInitialState() { - return { - alertVisible: false - }; - }, - - render() { - if (this.state.alertVisible) { - return ( - -

Oh snap! You got an error!

-

But this will hide after 2 seconds.

-
- ); - } - - return ( - - ); - }, - - handleAlertDismiss() { - this.setState({alertVisible: false}); - }, - - handleAlertShow() { - this.setState({alertVisible: true}); - } -}); - -const CustomModalTrigger = React.createClass({ - mixins: [OverlayMixin], - - getInitialState() { - return { - isModalOpen: false - }; - }, - - handleToggle() { - this.setState({ - isModalOpen: !this.state.isModalOpen - }); - }, - - render() { - return ( - - ); - }, - - // This is called by the `OverlayMixin` when this component - // is mounted or updated and the return value is appended to the body. - renderOverlay() { - if (!this.state.isModalOpen) { - return ; - } - - return ( - -
- This modal is controlled by our custom trigger component. -
-
- -
-
- ); - } -}); - -const carouselInstance = ( - - - 900x500 -
-

First slide label

-

Nulla vitae elit libero, a pharetra augue mollis interdum.

-
-
- - 900x500 -
-

Second slide label

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

-
-
- - 900x500 -
-

Third slide label

-

Praesent commodo cursus magna, vel scelerisque nisl consectetur.

-
-
-
-); - -const allTests = ( -
-

Dropdown

- {dropdownInstance} - -

Tooltips

- {positionerInstance} - -

Popovers

- {popoverInstance} - -

Tabs

- {tabbedAreaInstance} - -

Accordian

- {accordionInstance} - -

Alert

- - -

Modal

- - -

Carousel

- {carouselInstance} -
-); - -React.render(allTests, document.body);