`, and ``.\n@font-family-monospace: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n@font-family-base: @font-family-sans-serif;\n\n@font-size-base: 14px;\n@font-size-large: ceil((@font-size-base * 1.25)); // ~18px\n@font-size-small: ceil((@font-size-base * 0.85)); // ~12px\n\n@font-size-h1: floor((@font-size-base * 2.6)); // ~36px\n@font-size-h2: floor((@font-size-base * 2.15)); // ~30px\n@font-size-h3: ceil((@font-size-base * 1.7)); // ~24px\n@font-size-h4: ceil((@font-size-base * 1.25)); // ~18px\n@font-size-h5: @font-size-base;\n@font-size-h6: ceil((@font-size-base * 0.85)); // ~12px\n\n//** Unit-less `line-height` for use in components like buttons.\n@line-height-base: 1.428571429; // 20/14\n//** Computed \"line-height\" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.\n@line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px\n\n//** By default, this inherits from the ``.\n@headings-font-family: inherit;\n@headings-font-weight: 500;\n@headings-line-height: 1.1;\n@headings-color: inherit;\n\n\n//-- Iconography\n//\n//## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.\n\n@icon-font-path: \"../fonts/\";\n@icon-font-name: \"glyphicons-halflings-regular\";\n@icon-font-svg-id: \"glyphicons_halflingsregular\";\n\n//== Components\n//\n//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).\n\n@padding-base-vertical: 6px;\n@padding-base-horizontal: 12px;\n\n@padding-large-vertical: 10px;\n@padding-large-horizontal: 16px;\n\n@padding-small-vertical: 5px;\n@padding-small-horizontal: 10px;\n\n@padding-xs-vertical: 1px;\n@padding-xs-horizontal: 5px;\n\n@line-height-large: 1.33;\n@line-height-small: 1.5;\n\n@border-radius-base: 4px;\n@border-radius-large: 6px;\n@border-radius-small: 3px;\n\n//** Global color for active items (e.g., navs or dropdowns).\n@component-active-color: #fff;\n//** Global background color for active items (e.g., navs or dropdowns).\n@component-active-bg: @brand-primary;\n\n//** Width of the `border` for generating carets that indicator dropdowns.\n@caret-width-base: 4px;\n//** Carets increase slightly in size for larger components.\n@caret-width-large: 5px;\n\n\n//== Tables\n//\n//## Customizes the `.table` component with basic values, each used across all table variations.\n\n//** Padding for ``s and ` `s.\n@table-cell-padding: 8px;\n//** Padding for cells in `.table-condensed`.\n@table-condensed-cell-padding: 5px;\n\n//** Default background color used for all tables.\n@table-bg: transparent;\n//** Background color used for `.table-striped`.\n@table-bg-accent: #f9f9f9;\n//** Background color used for `.table-hover`.\n@table-bg-hover: #f5f5f5;\n@table-bg-active: @table-bg-hover;\n\n//** Border color for table and cell borders.\n@table-border-color: #ddd;\n\n\n//== Buttons\n//\n//## For each of Bootstrap's buttons, define text, background and border color.\n\n@btn-font-weight: normal;\n\n@btn-default-color: #333;\n@btn-default-bg: #fff;\n@btn-default-border: #ccc;\n\n@btn-primary-color: #fff;\n@btn-primary-bg: @brand-primary;\n@btn-primary-border: darken(@btn-primary-bg, 5%);\n\n@btn-success-color: #fff;\n@btn-success-bg: @brand-success;\n@btn-success-border: darken(@btn-success-bg, 5%);\n\n@btn-info-color: #fff;\n@btn-info-bg: @brand-info;\n@btn-info-border: darken(@btn-info-bg, 5%);\n\n@btn-warning-color: #fff;\n@btn-warning-bg: @brand-warning;\n@btn-warning-border: darken(@btn-warning-bg, 5%);\n\n@btn-danger-color: #fff;\n@btn-danger-bg: @brand-danger;\n@btn-danger-border: darken(@btn-danger-bg, 5%);\n\n@btn-link-disabled-color: @gray-light;\n\n\n//== Forms\n//\n//##\n\n//** ` ` background color\n@input-bg: #fff;\n//** ` ` background color\n@input-bg-disabled: @gray-lighter;\n\n//** Text color for ` `s\n@input-color: @gray;\n//** ` ` border color\n@input-border: #ccc;\n//** ` ` border radius\n@input-border-radius: @border-radius-base;\n//** Border color for inputs on focus\n@input-border-focus: #66afe9;\n\n//** Placeholder text color\n@input-color-placeholder: @gray-light;\n\n//** Default `.form-control` height\n@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);\n//** Large `.form-control` height\n@input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);\n//** Small `.form-control` height\n@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);\n\n@legend-color: @gray-dark;\n@legend-border-color: #e5e5e5;\n\n//** Background color for textual input addons\n@input-group-addon-bg: @gray-lighter;\n//** Border color for textual input addons\n@input-group-addon-border-color: @input-border;\n\n\n//== Dropdowns\n//\n//## Dropdown menu container and contents.\n\n//** Background for the dropdown menu.\n@dropdown-bg: #fff;\n//** Dropdown menu `border-color`.\n@dropdown-border: rgba(0,0,0,.15);\n//** Dropdown menu `border-color` **for IE8**.\n@dropdown-fallback-border: #ccc;\n//** Divider color for between dropdown items.\n@dropdown-divider-bg: #e5e5e5;\n\n//** Dropdown link text color.\n@dropdown-link-color: @gray-dark;\n//** Hover color for dropdown links.\n@dropdown-link-hover-color: darken(@gray-dark, 5%);\n//** Hover background for dropdown links.\n@dropdown-link-hover-bg: #f5f5f5;\n\n//** Active dropdown menu item text color.\n@dropdown-link-active-color: @component-active-color;\n//** Active dropdown menu item background color.\n@dropdown-link-active-bg: @component-active-bg;\n\n//** Disabled dropdown menu item background color.\n@dropdown-link-disabled-color: @gray-light;\n\n//** Text color for headers within dropdown menus.\n@dropdown-header-color: @gray-light;\n\n// Note: Deprecated @dropdown-caret-color as of v3.1.0\n@dropdown-caret-color: #000;\n\n\n//-- Z-index master list\n//\n// Warning: Avoid customizing these values. They're used for a bird's eye view\n// of components dependent on the z-axis and are designed to all work together.\n//\n// Note: These variables are not generated into the Customizer.\n\n@zindex-navbar: 1000;\n@zindex-dropdown: 1000;\n@zindex-popover: 1010;\n@zindex-tooltip: 1030;\n@zindex-navbar-fixed: 1030;\n@zindex-modal-background: 1040;\n@zindex-modal: 1050;\n\n\n//== Media queries breakpoints\n//\n//## Define the breakpoints at which your layout will change, adapting to different screen sizes.\n\n// Extra small screen / phone\n// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1\n@screen-xs: 480px;\n@screen-xs-min: @screen-xs;\n@screen-phone: @screen-xs-min;\n\n// Small screen / tablet\n// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1\n@screen-sm: 768px;\n@screen-sm-min: @screen-sm;\n@screen-tablet: @screen-sm-min;\n\n// Medium screen / desktop\n// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1\n@screen-md: 992px;\n@screen-md-min: @screen-md;\n@screen-desktop: @screen-md-min;\n\n// Large screen / wide desktop\n// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1\n@screen-lg: 1200px;\n@screen-lg-min: @screen-lg;\n@screen-lg-desktop: @screen-lg-min;\n\n// So media queries don't overlap when required, provide a maximum\n@screen-xs-max: (@screen-sm-min - 1);\n@screen-sm-max: (@screen-md-min - 1);\n@screen-md-max: (@screen-lg-min - 1);\n\n\n//== Grid system\n//\n//## Define your custom responsive grid.\n\n//** Number of columns in the grid.\n@grid-columns: 12;\n//** Padding between columns. Gets divided in half for the left and right.\n@grid-gutter-width: 30px;\n// Navbar collapse\n//** Point at which the navbar becomes uncollapsed.\n@grid-float-breakpoint: @screen-sm-min;\n//** Point at which the navbar begins collapsing.\n@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);\n\n\n//== Container sizes\n//\n//## Define the maximum width of `.container` for different screen sizes.\n\n// Small screen / tablet\n@container-tablet: ((720px + @grid-gutter-width));\n//** For `@screen-sm-min` and up.\n@container-sm: @container-tablet;\n\n// Medium screen / desktop\n@container-desktop: ((940px + @grid-gutter-width));\n//** For `@screen-md-min` and up.\n@container-md: @container-desktop;\n\n// Large screen / wide desktop\n@container-large-desktop: ((1140px + @grid-gutter-width));\n//** For `@screen-lg-min` and up.\n@container-lg: @container-large-desktop;\n\n\n//== Navbar\n//\n//##\n\n// Basics of a navbar\n@navbar-height: 50px;\n@navbar-margin-bottom: @line-height-computed;\n@navbar-border-radius: @border-radius-base;\n@navbar-padding-horizontal: floor((@grid-gutter-width / 2));\n@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);\n@navbar-collapse-max-height: 340px;\n\n@navbar-default-color: #777;\n@navbar-default-bg: #f8f8f8;\n@navbar-default-border: darken(@navbar-default-bg, 6.5%);\n\n// Navbar links\n@navbar-default-link-color: #777;\n@navbar-default-link-hover-color: #333;\n@navbar-default-link-hover-bg: transparent;\n@navbar-default-link-active-color: #555;\n@navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);\n@navbar-default-link-disabled-color: #ccc;\n@navbar-default-link-disabled-bg: transparent;\n\n// Navbar brand label\n@navbar-default-brand-color: @navbar-default-link-color;\n@navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);\n@navbar-default-brand-hover-bg: transparent;\n\n// Navbar toggle\n@navbar-default-toggle-hover-bg: #ddd;\n@navbar-default-toggle-icon-bar-bg: #888;\n@navbar-default-toggle-border-color: #ddd;\n\n\n// Inverted navbar\n// Reset inverted navbar basics\n@navbar-inverse-color: @gray-light;\n@navbar-inverse-bg: #222;\n@navbar-inverse-border: darken(@navbar-inverse-bg, 10%);\n\n// Inverted navbar links\n@navbar-inverse-link-color: @gray-light;\n@navbar-inverse-link-hover-color: #fff;\n@navbar-inverse-link-hover-bg: transparent;\n@navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;\n@navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);\n@navbar-inverse-link-disabled-color: #444;\n@navbar-inverse-link-disabled-bg: transparent;\n\n// Inverted navbar brand label\n@navbar-inverse-brand-color: @navbar-inverse-link-color;\n@navbar-inverse-brand-hover-color: #fff;\n@navbar-inverse-brand-hover-bg: transparent;\n\n// Inverted navbar toggle\n@navbar-inverse-toggle-hover-bg: #333;\n@navbar-inverse-toggle-icon-bar-bg: #fff;\n@navbar-inverse-toggle-border-color: #333;\n\n\n//== Navs\n//\n//##\n\n//=== Shared nav styles\n@nav-link-padding: 10px 15px;\n@nav-link-hover-bg: @gray-lighter;\n\n@nav-disabled-link-color: @gray-light;\n@nav-disabled-link-hover-color: @gray-light;\n\n@nav-open-link-hover-color: #fff;\n\n//== Tabs\n@nav-tabs-border-color: #ddd;\n\n@nav-tabs-link-hover-border-color: @gray-lighter;\n\n@nav-tabs-active-link-hover-bg: @body-bg;\n@nav-tabs-active-link-hover-color: @gray;\n@nav-tabs-active-link-hover-border-color: #ddd;\n\n@nav-tabs-justified-link-border-color: #ddd;\n@nav-tabs-justified-active-link-border-color: @body-bg;\n\n//== Pills\n@nav-pills-border-radius: @border-radius-base;\n@nav-pills-active-link-hover-bg: @component-active-bg;\n@nav-pills-active-link-hover-color: @component-active-color;\n\n\n//== Pagination\n//\n//##\n\n@pagination-color: @link-color;\n@pagination-bg: #fff;\n@pagination-border: #ddd;\n\n@pagination-hover-color: @link-hover-color;\n@pagination-hover-bg: @gray-lighter;\n@pagination-hover-border: #ddd;\n\n@pagination-active-color: #fff;\n@pagination-active-bg: @brand-primary;\n@pagination-active-border: @brand-primary;\n\n@pagination-disabled-color: @gray-light;\n@pagination-disabled-bg: #fff;\n@pagination-disabled-border: #ddd;\n\n\n//== Pager\n//\n//##\n\n@pager-bg: @pagination-bg;\n@pager-border: @pagination-border;\n@pager-border-radius: 15px;\n\n@pager-hover-bg: @pagination-hover-bg;\n\n@pager-active-bg: @pagination-active-bg;\n@pager-active-color: @pagination-active-color;\n\n@pager-disabled-color: @pagination-disabled-color;\n\n\n//== Jumbotron\n//\n//##\n\n@jumbotron-padding: 30px;\n@jumbotron-color: inherit;\n@jumbotron-bg: @gray-lighter;\n@jumbotron-heading-color: inherit;\n@jumbotron-font-size: ceil((@font-size-base * 1.5));\n\n\n//== Form states and alerts\n//\n//## Define colors for form feedback states and, by default, alerts.\n\n@state-success-text: #3c763d;\n@state-success-bg: #dff0d8;\n@state-success-border: darken(spin(@state-success-bg, -10), 5%);\n\n@state-info-text: #31708f;\n@state-info-bg: #d9edf7;\n@state-info-border: darken(spin(@state-info-bg, -10), 7%);\n\n@state-warning-text: #8a6d3b;\n@state-warning-bg: #fcf8e3;\n@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);\n\n@state-danger-text: #a94442;\n@state-danger-bg: #f2dede;\n@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);\n\n\n//== Tooltips\n//\n//##\n\n//** Tooltip max width\n@tooltip-max-width: 200px;\n//** Tooltip text color\n@tooltip-color: #fff;\n//** Tooltip background color\n@tooltip-bg: #000;\n@tooltip-opacity: .9;\n\n//** Tooltip arrow width\n@tooltip-arrow-width: 5px;\n//** Tooltip arrow color\n@tooltip-arrow-color: @tooltip-bg;\n\n\n//== Popovers\n//\n//##\n\n//** Popover body background color\n@popover-bg: #fff;\n//** Popover maximum width\n@popover-max-width: 276px;\n//** Popover border color\n@popover-border-color: rgba(0,0,0,.2);\n//** Popover fallback border color\n@popover-fallback-border-color: #ccc;\n\n//** Popover title background color\n@popover-title-bg: darken(@popover-bg, 3%);\n\n//** Popover arrow width\n@popover-arrow-width: 10px;\n//** Popover arrow color\n@popover-arrow-color: #fff;\n\n//** Popover outer arrow width\n@popover-arrow-outer-width: (@popover-arrow-width + 1);\n//** Popover outer arrow color\n@popover-arrow-outer-color: fadein(@popover-border-color, 5%);\n//** Popover outer arrow fallback color\n@popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);\n\n\n//== Labels\n//\n//##\n\n//** Default label background color\n@label-default-bg: @gray-light;\n//** Primary label background color\n@label-primary-bg: @brand-primary;\n//** Success label background color\n@label-success-bg: @brand-success;\n//** Info label background color\n@label-info-bg: @brand-info;\n//** Warning label background color\n@label-warning-bg: @brand-warning;\n//** Danger label background color\n@label-danger-bg: @brand-danger;\n\n//** Default label text color\n@label-color: #fff;\n//** Default text color of a linked label\n@label-link-hover-color: #fff;\n\n\n//== Modals\n//\n//##\n\n//** Padding applied to the modal body\n@modal-inner-padding: 20px;\n\n//** Padding applied to the modal title\n@modal-title-padding: 15px;\n//** Modal title line-height\n@modal-title-line-height: @line-height-base;\n\n//** Background color of modal content area\n@modal-content-bg: #fff;\n//** Modal content border color\n@modal-content-border-color: rgba(0,0,0,.2);\n//** Modal content border color **for IE8**\n@modal-content-fallback-border-color: #999;\n\n//** Modal backdrop background color\n@modal-backdrop-bg: #000;\n//** Modal backdrop opacity\n@modal-backdrop-opacity: .5;\n//** Modal header border color\n@modal-header-border-color: #e5e5e5;\n//** Modal footer border color\n@modal-footer-border-color: @modal-header-border-color;\n\n@modal-lg: 900px;\n@modal-md: 600px;\n@modal-sm: 300px;\n\n\n//== Alerts\n//\n//## Define alert colors, border radius, and padding.\n\n@alert-padding: 15px;\n@alert-border-radius: @border-radius-base;\n@alert-link-font-weight: bold;\n\n@alert-success-bg: @state-success-bg;\n@alert-success-text: @state-success-text;\n@alert-success-border: @state-success-border;\n\n@alert-info-bg: @state-info-bg;\n@alert-info-text: @state-info-text;\n@alert-info-border: @state-info-border;\n\n@alert-warning-bg: @state-warning-bg;\n@alert-warning-text: @state-warning-text;\n@alert-warning-border: @state-warning-border;\n\n@alert-danger-bg: @state-danger-bg;\n@alert-danger-text: @state-danger-text;\n@alert-danger-border: @state-danger-border;\n\n\n//== Progress bars\n//\n//##\n\n//** Background color of the whole progress component\n@progress-bg: #f5f5f5;\n//** Progress bar text color\n@progress-bar-color: #fff;\n\n//** Default progress bar color\n@progress-bar-bg: @brand-primary;\n//** Success progress bar color\n@progress-bar-success-bg: @brand-success;\n//** Warning progress bar color\n@progress-bar-warning-bg: @brand-warning;\n//** Danger progress bar color\n@progress-bar-danger-bg: @brand-danger;\n//** Info progress bar color\n@progress-bar-info-bg: @brand-info;\n\n\n//== List group\n//\n//##\n\n//** Background color on `.list-group-item`\n@list-group-bg: #fff;\n//** `.list-group-item` border color\n@list-group-border: #ddd;\n//** List group border radius\n@list-group-border-radius: @border-radius-base;\n\n//** Background color of single list elements on hover\n@list-group-hover-bg: #f5f5f5;\n//** Text color of active list elements\n@list-group-active-color: @component-active-color;\n//** Background color of active list elements\n@list-group-active-bg: @component-active-bg;\n//** Border color of active list elements\n@list-group-active-border: @list-group-active-bg;\n@list-group-active-text-color: lighten(@list-group-active-bg, 40%);\n\n@list-group-link-color: #555;\n@list-group-link-heading-color: #333;\n\n\n//== Panels\n//\n//##\n\n@panel-bg: #fff;\n@panel-body-padding: 15px;\n@panel-border-radius: @border-radius-base;\n\n//** Border color for elements within panels\n@panel-inner-border: #ddd;\n@panel-footer-bg: #f5f5f5;\n\n@panel-default-text: @gray-dark;\n@panel-default-border: #ddd;\n@panel-default-heading-bg: #f5f5f5;\n\n@panel-primary-text: #fff;\n@panel-primary-border: @brand-primary;\n@panel-primary-heading-bg: @brand-primary;\n\n@panel-success-text: @state-success-text;\n@panel-success-border: @state-success-border;\n@panel-success-heading-bg: @state-success-bg;\n\n@panel-info-text: @state-info-text;\n@panel-info-border: @state-info-border;\n@panel-info-heading-bg: @state-info-bg;\n\n@panel-warning-text: @state-warning-text;\n@panel-warning-border: @state-warning-border;\n@panel-warning-heading-bg: @state-warning-bg;\n\n@panel-danger-text: @state-danger-text;\n@panel-danger-border: @state-danger-border;\n@panel-danger-heading-bg: @state-danger-bg;\n\n\n//== Thumbnails\n//\n//##\n\n//** Padding around the thumbnail image\n@thumbnail-padding: 4px;\n//** Thumbnail background color\n@thumbnail-bg: @body-bg;\n//** Thumbnail border color\n@thumbnail-border: #ddd;\n//** Thumbnail border radius\n@thumbnail-border-radius: @border-radius-base;\n\n//** Custom text color for thumbnail captions\n@thumbnail-caption-color: @text-color;\n//** Padding around the thumbnail caption\n@thumbnail-caption-padding: 9px;\n\n\n//== Wells\n//\n//##\n\n@well-bg: #f5f5f5;\n@well-border: darken(@well-bg, 7%);\n\n\n//== Badges\n//\n//##\n\n@badge-color: #fff;\n//** Linked badge text color on hover\n@badge-link-hover-color: #fff;\n@badge-bg: @gray-light;\n\n//** Badge text color in active nav link\n@badge-active-color: @link-color;\n//** Badge background color in active nav link\n@badge-active-bg: #fff;\n\n@badge-font-weight: bold;\n@badge-line-height: 1;\n@badge-border-radius: 10px;\n\n\n//== Breadcrumbs\n//\n//##\n\n@breadcrumb-padding-vertical: 8px;\n@breadcrumb-padding-horizontal: 15px;\n//** Breadcrumb background color\n@breadcrumb-bg: #f5f5f5;\n//** Breadcrumb text color\n@breadcrumb-color: #ccc;\n//** Text color of current page in the breadcrumb\n@breadcrumb-active-color: @gray-light;\n//** Textual separator for between breadcrumb elements\n@breadcrumb-separator: \"/\";\n\n\n//== Carousel\n//\n//##\n\n@carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);\n\n@carousel-control-color: #fff;\n@carousel-control-width: 15%;\n@carousel-control-opacity: .5;\n@carousel-control-font-size: 20px;\n\n@carousel-indicator-active-bg: #fff;\n@carousel-indicator-border-color: #fff;\n\n@carousel-caption-color: #fff;\n\n\n//== Close\n//\n//##\n\n@close-font-weight: bold;\n@close-color: #000;\n@close-text-shadow: 0 1px 0 #fff;\n\n\n//== Code\n//\n//##\n\n@code-color: #c7254e;\n@code-bg: #f9f2f4;\n\n@kbd-color: #fff;\n@kbd-bg: #333;\n\n@pre-bg: #f5f5f5;\n@pre-color: @gray-dark;\n@pre-border-color: #ccc;\n@pre-scrollable-max-height: 340px;\n\n\n//== Type\n//\n//##\n\n//** Text muted color\n@text-muted: @gray-light;\n//** Abbreviations and acronyms border color\n@abbr-border-color: @gray-light;\n//** Headings small color\n@headings-small-color: @gray-light;\n//** Blockquote small color\n@blockquote-small-color: @gray-light;\n//** Blockquote font size\n@blockquote-font-size: (@font-size-base * 1.25);\n//** Blockquote border color\n@blockquote-border-color: @gray-lighter;\n//** Page header border color\n@page-header-border-color: @gray-lighter;\n\n\n//== Miscellaneous\n//\n//##\n\n//** Horizontal line color.\n@hr-border: @gray-lighter;\n\n//** Horizontal offset for forms and lists.\n@component-offset-horizontal: 180px;\n","//\n// Thumbnails\n// --------------------------------------------------\n\n\n// Mixin and adjust the regular image class\n.thumbnail {\n display: block;\n padding: @thumbnail-padding;\n margin-bottom: @line-height-computed;\n line-height: @line-height-base;\n background-color: @thumbnail-bg;\n border: 1px solid @thumbnail-border;\n border-radius: @thumbnail-border-radius;\n .transition(all .2s ease-in-out);\n\n > img,\n a > img {\n &:extend(.img-responsive);\n margin-left: auto;\n margin-right: auto;\n }\n\n // Add a hover state for linked versions only\n a&:hover,\n a&:focus,\n a&.active {\n border-color: @link-color;\n }\n\n // Image captions\n .caption {\n padding: @thumbnail-caption-padding;\n color: @thumbnail-caption-color;\n }\n}\n","//\n// Carousel\n// --------------------------------------------------\n\n\n// Wrapper for the slide container and indicators\n.carousel {\n position: relative;\n}\n\n.carousel-inner {\n position: relative;\n overflow: hidden;\n width: 100%;\n\n > .item {\n display: none;\n position: relative;\n .transition(.6s ease-in-out left);\n\n // Account for jankitude on images\n > img,\n > a > img {\n &:extend(.img-responsive);\n line-height: 1;\n }\n }\n\n > .active,\n > .next,\n > .prev { display: block; }\n\n > .active {\n left: 0;\n }\n\n > .next,\n > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n > .next {\n left: 100%;\n }\n > .prev {\n left: -100%;\n }\n > .next.left,\n > .prev.right {\n left: 0;\n }\n\n > .active.left {\n left: -100%;\n }\n > .active.right {\n left: 100%;\n }\n\n}\n\n// Left/right controls for nav\n// ---------------------------\n\n.carousel-control {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: @carousel-control-width;\n .opacity(@carousel-control-opacity);\n font-size: @carousel-control-font-size;\n color: @carousel-control-color;\n text-align: center;\n text-shadow: @carousel-text-shadow;\n // We can't have this transition here because WebKit cancels the carousel\n // animation if you trip this while in the middle of another animation.\n\n // Set gradients for backgrounds\n &.left {\n #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));\n }\n &.right {\n left: auto;\n right: 0;\n #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));\n }\n\n // Hover/focus state\n &:hover,\n &:focus {\n outline: none;\n color: @carousel-control-color;\n text-decoration: none;\n .opacity(.9);\n }\n\n // Toggles\n .icon-prev,\n .icon-next,\n .glyphicon-chevron-left,\n .glyphicon-chevron-right {\n position: absolute;\n top: 50%;\n z-index: 5;\n display: inline-block;\n }\n .icon-prev,\n .glyphicon-chevron-left {\n left: 50%;\n }\n .icon-next,\n .glyphicon-chevron-right {\n right: 50%;\n }\n .icon-prev,\n .icon-next {\n width: 20px;\n height: 20px;\n margin-top: -10px;\n margin-left: -10px;\n font-family: serif;\n }\n\n .icon-prev {\n &:before {\n content: '\\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)\n }\n }\n .icon-next {\n &:before {\n content: '\\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)\n }\n }\n}\n\n// Optional indicator pips\n//\n// Add an unordered list with the following class and add a list item for each\n// slide your carousel holds.\n\n.carousel-indicators {\n position: absolute;\n bottom: 10px;\n left: 50%;\n z-index: 15;\n width: 60%;\n margin-left: -30%;\n padding-left: 0;\n list-style: none;\n text-align: center;\n\n li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n border: 1px solid @carousel-indicator-border-color;\n border-radius: 10px;\n cursor: pointer;\n\n // IE8-9 hack for event handling\n //\n // Internet Explorer 8-9 does not support clicks on elements without a set\n // `background-color`. We cannot use `filter` since that's not viewed as a\n // background color by the browser. Thus, a hack is needed.\n //\n // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we\n // set alpha transparency for the best results possible.\n background-color: #000 \\9; // IE8\n background-color: rgba(0,0,0,0); // IE9\n }\n .active {\n margin: 0;\n width: 12px;\n height: 12px;\n background-color: @carousel-indicator-active-bg;\n }\n}\n\n// Optional captions\n// -----------------------------\n// Hidden by default for smaller viewports\n.carousel-caption {\n position: absolute;\n left: 15%;\n right: 15%;\n bottom: 20px;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: @carousel-caption-color;\n text-align: center;\n text-shadow: @carousel-text-shadow;\n & .btn {\n text-shadow: none; // No shadow for button elements in carousel-caption\n }\n}\n\n\n// Scale up controls for tablets and up\n@media screen and (min-width: @screen-sm-min) {\n\n // Scale up the controls a smidge\n .carousel-control {\n .glyphicon-chevron-left,\n .glyphicon-chevron-right,\n .icon-prev,\n .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -15px;\n margin-left: -15px;\n font-size: 30px;\n }\n }\n\n // Show and left align the captions\n .carousel-caption {\n left: 20%;\n right: 20%;\n padding-bottom: 30px;\n }\n\n // Move up the indicators\n .carousel-indicators {\n bottom: 20px;\n }\n}\n","//\n// Typography\n// --------------------------------------------------\n\n\n// Headings\n// -------------------------\n\nh1, h2, h3, h4, h5, h6,\n.h1, .h2, .h3, .h4, .h5, .h6 {\n font-family: @headings-font-family;\n font-weight: @headings-font-weight;\n line-height: @headings-line-height;\n color: @headings-color;\n\n small,\n .small {\n font-weight: normal;\n line-height: 1;\n color: @headings-small-color;\n }\n}\n\nh1, .h1,\nh2, .h2,\nh3, .h3 {\n margin-top: @line-height-computed;\n margin-bottom: (@line-height-computed / 2);\n\n small,\n .small {\n font-size: 65%;\n }\n}\nh4, .h4,\nh5, .h5,\nh6, .h6 {\n margin-top: (@line-height-computed / 2);\n margin-bottom: (@line-height-computed / 2);\n\n small,\n .small {\n font-size: 75%;\n }\n}\n\nh1, .h1 { font-size: @font-size-h1; }\nh2, .h2 { font-size: @font-size-h2; }\nh3, .h3 { font-size: @font-size-h3; }\nh4, .h4 { font-size: @font-size-h4; }\nh5, .h5 { font-size: @font-size-h5; }\nh6, .h6 { font-size: @font-size-h6; }\n\n\n// Body text\n// -------------------------\n\np {\n margin: 0 0 (@line-height-computed / 2);\n}\n\n.lead {\n margin-bottom: @line-height-computed;\n font-size: floor((@font-size-base * 1.15));\n font-weight: 200;\n line-height: 1.4;\n\n @media (min-width: @screen-sm-min) {\n font-size: (@font-size-base * 1.5);\n }\n}\n\n\n// Emphasis & misc\n// -------------------------\n\n// Ex: 14px base font * 85% = about 12px\nsmall,\n.small { font-size: 85%; }\n\n// Undo browser default styling\ncite { font-style: normal; }\n\n// Alignment\n.text-left { text-align: left; }\n.text-right { text-align: right; }\n.text-center { text-align: center; }\n.text-justify { text-align: justify; }\n\n// Contextual colors\n.text-muted {\n color: @text-muted;\n}\n.text-primary {\n .text-emphasis-variant(@brand-primary);\n}\n.text-success {\n .text-emphasis-variant(@state-success-text);\n}\n.text-info {\n .text-emphasis-variant(@state-info-text);\n}\n.text-warning {\n .text-emphasis-variant(@state-warning-text);\n}\n.text-danger {\n .text-emphasis-variant(@state-danger-text);\n}\n\n// Contextual backgrounds\n// For now we'll leave these alongside the text classes until v4 when we can\n// safely shift things around (per SemVer rules).\n.bg-primary {\n // Given the contrast here, this is the only class to have its color inverted\n // automatically.\n color: #fff;\n .bg-variant(@brand-primary);\n}\n.bg-success {\n .bg-variant(@state-success-bg);\n}\n.bg-info {\n .bg-variant(@state-info-bg);\n}\n.bg-warning {\n .bg-variant(@state-warning-bg);\n}\n.bg-danger {\n .bg-variant(@state-danger-bg);\n}\n\n\n// Page header\n// -------------------------\n\n.page-header {\n padding-bottom: ((@line-height-computed / 2) - 1);\n margin: (@line-height-computed * 2) 0 @line-height-computed;\n border-bottom: 1px solid @page-header-border-color;\n}\n\n\n// Lists\n// --------------------------------------------------\n\n// Unordered and Ordered lists\nul,\nol {\n margin-top: 0;\n margin-bottom: (@line-height-computed / 2);\n ul,\n ol {\n margin-bottom: 0;\n }\n}\n\n// List options\n\n// Unstyled keeps list items block level, just removes default browser padding and list-style\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n\n// Inline turns list items into inline-block\n.list-inline {\n .list-unstyled();\n margin-left: -5px;\n\n > li {\n display: inline-block;\n padding-left: 5px;\n padding-right: 5px;\n }\n}\n\n// Description Lists\ndl {\n margin-top: 0; // Remove browser default\n margin-bottom: @line-height-computed;\n}\ndt,\ndd {\n line-height: @line-height-base;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0; // Undo browser default\n}\n\n// Horizontal description lists\n//\n// Defaults to being stacked without any of the below styles applied, until the\n// grid breakpoint is reached (default of ~768px).\n\n@media (min-width: @grid-float-breakpoint) {\n .dl-horizontal {\n dt {\n float: left;\n width: (@component-offset-horizontal - 20);\n clear: left;\n text-align: right;\n .text-overflow();\n }\n dd {\n margin-left: @component-offset-horizontal;\n &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present\n }\n }\n}\n\n// MISC\n// ----\n\n// Abbreviations and acronyms\nabbr[title],\n// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted @abbr-border-color;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\n\n// Blockquotes\nblockquote {\n padding: (@line-height-computed / 2) @line-height-computed;\n margin: 0 0 @line-height-computed;\n font-size: @blockquote-font-size;\n border-left: 5px solid @blockquote-border-color;\n\n p,\n ul,\n ol {\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n // Note: Deprecated small and .small as of v3.1.0\n // Context: https://github.com/twbs/bootstrap/issues/11660\n footer,\n small,\n .small {\n display: block;\n font-size: 80%; // back to default font-size\n line-height: @line-height-base;\n color: @blockquote-small-color;\n\n &:before {\n content: '\\2014 \\00A0'; // em dash, nbsp\n }\n }\n}\n\n// Opposite alignment of blockquote\n//\n// Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n border-right: 5px solid @blockquote-border-color;\n border-left: 0;\n text-align: right;\n\n // Account for citation\n footer,\n small,\n .small {\n &:before { content: ''; }\n &:after {\n content: '\\00A0 \\2014'; // nbsp, em dash\n }\n }\n}\n\n// Quotes\nblockquote:before,\nblockquote:after {\n content: \"\";\n}\n\n// Addresses\naddress {\n margin-bottom: @line-height-computed;\n font-style: normal;\n line-height: @line-height-base;\n}\n","//\n// Code (inline and block)\n// --------------------------------------------------\n\n\n// Inline and block code styles\ncode,\nkbd,\npre,\nsamp {\n font-family: @font-family-monospace;\n}\n\n// Inline code\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: @code-color;\n background-color: @code-bg;\n white-space: nowrap;\n border-radius: @border-radius-base;\n}\n\n// User input typically entered via keyboard\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: @kbd-color;\n background-color: @kbd-bg;\n border-radius: @border-radius-small;\n box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);\n}\n\n// Blocks of code\npre {\n display: block;\n padding: ((@line-height-computed - 1) / 2);\n margin: 0 0 (@line-height-computed / 2);\n font-size: (@font-size-base - 1); // 14px to 13px\n line-height: @line-height-base;\n word-break: break-all;\n word-wrap: break-word;\n color: @pre-color;\n background-color: @pre-bg;\n border: 1px solid @pre-border-color;\n border-radius: @border-radius-base;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n }\n}\n\n// Enable scrollable blocks of code\n.pre-scrollable {\n max-height: @pre-scrollable-max-height;\n overflow-y: scroll;\n}\n","//\n// Grid system\n// --------------------------------------------------\n\n\n// Container widths\n//\n// Set the container width, and override it for fixed navbars in media queries.\n\n.container {\n .container-fixed();\n\n @media (min-width: @screen-sm-min) {\n width: @container-sm;\n }\n @media (min-width: @screen-md-min) {\n width: @container-md;\n }\n @media (min-width: @screen-lg-min) {\n width: @container-lg;\n }\n}\n\n\n// Fluid container\n//\n// Utilizes the mixin meant for fixed width containers, but without any defined\n// width for fluid, full width layouts.\n\n.container-fluid {\n .container-fixed();\n}\n\n\n// Row\n//\n// Rows contain and clear the floats of your columns.\n\n.row {\n .make-row();\n}\n\n\n// Columns\n//\n// Common styles for small and large grid columns\n\n.make-grid-columns();\n\n\n// Extra small grid\n//\n// Columns, offsets, pushes, and pulls for extra small devices like\n// smartphones.\n\n.make-grid(xs);\n\n\n// Small grid\n//\n// Columns, offsets, pushes, and pulls for the small device range, from phones\n// to tablets.\n\n@media (min-width: @screen-sm-min) {\n .make-grid(sm);\n}\n\n\n// Medium grid\n//\n// Columns, offsets, pushes, and pulls for the desktop device range.\n\n@media (min-width: @screen-md-min) {\n .make-grid(md);\n}\n\n\n// Large grid\n//\n// Columns, offsets, pushes, and pulls for the large desktop device range.\n\n@media (min-width: @screen-lg-min) {\n .make-grid(lg);\n}\n","//\n// Tables\n// --------------------------------------------------\n\n\ntable {\n max-width: 100%;\n background-color: @table-bg;\n}\nth {\n text-align: left;\n}\n\n\n// Baseline styles\n\n.table {\n width: 100%;\n margin-bottom: @line-height-computed;\n // Cells\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n padding: @table-cell-padding;\n line-height: @line-height-base;\n vertical-align: top;\n border-top: 1px solid @table-border-color;\n }\n }\n }\n // Bottom align for column headings\n > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid @table-border-color;\n }\n // Remove top border from thead by default\n > caption + thead,\n > colgroup + thead,\n > thead:first-child {\n > tr:first-child {\n > th,\n > td {\n border-top: 0;\n }\n }\n }\n // Account for multiple tbody instances\n > tbody + tbody {\n border-top: 2px solid @table-border-color;\n }\n\n // Nesting\n .table {\n background-color: @body-bg;\n }\n}\n\n\n// Condensed table w/ half padding\n\n.table-condensed {\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n padding: @table-condensed-cell-padding;\n }\n }\n }\n}\n\n\n// Bordered version\n//\n// Add borders all around the table and between all the columns.\n\n.table-bordered {\n border: 1px solid @table-border-color;\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n border: 1px solid @table-border-color;\n }\n }\n }\n > thead > tr {\n > th,\n > td {\n border-bottom-width: 2px;\n }\n }\n}\n\n\n// Zebra-striping\n//\n// Default zebra-stripe styles (alternating gray and transparent backgrounds)\n\n.table-striped {\n > tbody > tr:nth-child(odd) {\n > td,\n > th {\n background-color: @table-bg-accent;\n }\n }\n}\n\n\n// Hover effect\n//\n// Placed here since it has to come after the potential zebra striping\n\n.table-hover {\n > tbody > tr:hover {\n > td,\n > th {\n background-color: @table-bg-hover;\n }\n }\n}\n\n\n// Table cell sizing\n//\n// Reset default table behavior\n\ntable col[class*=\"col-\"] {\n position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)\n float: none;\n display: table-column;\n}\ntable {\n td,\n th {\n &[class*=\"col-\"] {\n position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)\n float: none;\n display: table-cell;\n }\n }\n}\n\n\n// Table backgrounds\n//\n// Exact selectors below required to override `.table-striped` and prevent\n// inheritance to nested tables.\n\n// Generate the contextual variants\n.table-row-variant(active; @table-bg-active);\n.table-row-variant(success; @state-success-bg);\n.table-row-variant(info; @state-info-bg);\n.table-row-variant(warning; @state-warning-bg);\n.table-row-variant(danger; @state-danger-bg);\n\n\n// Responsive tables\n//\n// Wrap your tables in `.table-responsive` and we'll make them mobile friendly\n// by enabling horizontal scrolling. Only applies <768px. Everything above that\n// will display normally.\n\n@media (max-width: @screen-xs-max) {\n .table-responsive {\n width: 100%;\n margin-bottom: (@line-height-computed * 0.75);\n overflow-y: hidden;\n overflow-x: scroll;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid @table-border-color;\n -webkit-overflow-scrolling: touch;\n\n // Tighten up spacing\n > .table {\n margin-bottom: 0;\n\n // Ensure the content doesn't wrap\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n white-space: nowrap;\n }\n }\n }\n }\n\n // Special overrides for the bordered tables\n > .table-bordered {\n border: 0;\n\n // Nuke the appropriate borders so that the parent can handle them\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th:first-child,\n > td:first-child {\n border-left: 0;\n }\n > th:last-child,\n > td:last-child {\n border-right: 0;\n }\n }\n }\n\n // Only nuke the last row's bottom-border in `tbody` and `tfoot` since\n // chances are there will be only one `tr` in a `thead` and that would\n // remove the border altogether.\n > tbody,\n > tfoot {\n > tr:last-child {\n > th,\n > td {\n border-bottom: 0;\n }\n }\n }\n\n }\n }\n}\n","//\n// Forms\n// --------------------------------------------------\n\n\n// Normalize non-controls\n//\n// Restyle and baseline non-control form elements.\n\nfieldset {\n padding: 0;\n margin: 0;\n border: 0;\n // Chrome and Firefox set a `min-width: -webkit-min-content;` on fieldsets,\n // so we reset that to ensure it behaves more like a standard block element.\n // See https://github.com/twbs/bootstrap/issues/12359.\n min-width: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: @line-height-computed;\n font-size: (@font-size-base * 1.5);\n line-height: inherit;\n color: @legend-color;\n border: 0;\n border-bottom: 1px solid @legend-border-color;\n}\n\nlabel {\n display: inline-block;\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n\n// Normalize form controls\n//\n// While most of our form styles require extra classes, some basic normalization\n// is required to ensure optimum display with or without those classes to better\n// address browser inconsistencies.\n\n// Override content-box in Normalize (* isn't specific enough)\ninput[type=\"search\"] {\n .box-sizing(border-box);\n}\n\n// Position radios and checkboxes better\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n margin: 4px 0 0;\n margin-top: 1px \\9; /* IE8-9 */\n line-height: normal;\n}\n\n// Set the height of file controls to match text inputs\ninput[type=\"file\"] {\n display: block;\n}\n\n// Make range inputs behave like textual form controls\ninput[type=\"range\"] {\n display: block;\n width: 100%;\n}\n\n// Make multiple select elements height not fixed\nselect[multiple],\nselect[size] {\n height: auto;\n}\n\n// Focus for file, radio, and checkbox\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n .tab-focus();\n}\n\n// Adjust output element\noutput {\n display: block;\n padding-top: (@padding-base-vertical + 1);\n font-size: @font-size-base;\n line-height: @line-height-base;\n color: @input-color;\n}\n\n\n// Common form controls\n//\n// Shared size and type resets for form controls. Apply `.form-control` to any\n// of the following form controls:\n//\n// select\n// textarea\n// input[type=\"text\"]\n// input[type=\"password\"]\n// input[type=\"datetime\"]\n// input[type=\"datetime-local\"]\n// input[type=\"date\"]\n// input[type=\"month\"]\n// input[type=\"time\"]\n// input[type=\"week\"]\n// input[type=\"number\"]\n// input[type=\"email\"]\n// input[type=\"url\"]\n// input[type=\"search\"]\n// input[type=\"tel\"]\n// input[type=\"color\"]\n\n.form-control {\n display: block;\n width: 100%;\n height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)\n padding: @padding-base-vertical @padding-base-horizontal;\n font-size: @font-size-base;\n line-height: @line-height-base;\n color: @input-color;\n background-color: @input-bg;\n background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n border: 1px solid @input-border;\n border-radius: @input-border-radius;\n .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));\n .transition(~\"border-color ease-in-out .15s, box-shadow ease-in-out .15s\");\n\n // Customize the `:focus` state to imitate native WebKit styles.\n .form-control-focus();\n\n // Placeholder\n .placeholder();\n\n // Disabled and read-only inputs\n //\n // HTML5 says that controls under a fieldset > legend:first-child won't be\n // disabled if the fieldset is disabled. Due to implementation difficulty, we\n // don't honor that edge case; we style them as disabled anyway.\n &[disabled],\n &[readonly],\n fieldset[disabled] & {\n cursor: not-allowed;\n background-color: @input-bg-disabled;\n opacity: 1; // iOS fix for unreadable disabled content\n }\n\n // Reset height for `textarea`s\n textarea& {\n height: auto;\n }\n}\n\n\n// Search inputs in iOS\n//\n// This overrides the extra rounded corners on search inputs in iOS so that our\n// `.form-control` class can properly style them. Note that this cannot simply\n// be added to `.form-control` as it's not specific enough. For details, see\n// https://github.com/twbs/bootstrap/issues/11586.\n\ninput[type=\"search\"] {\n -webkit-appearance: none;\n}\n\n\n// Special styles for iOS date input\n//\n// In Mobile Safari, date inputs require a pixel line-height that matches the\n// given height of the input.\n\ninput[type=\"date\"] {\n line-height: @input-height-base;\n}\n\n\n// Form groups\n//\n// Designed to help with the organization and spacing of vertical forms. For\n// horizontal forms, use the predefined grid classes.\n\n.form-group {\n margin-bottom: 15px;\n}\n\n\n// Checkboxes and radios\n//\n// Indent the labels to position radios/checkboxes as hanging controls.\n\n.radio,\n.checkbox {\n display: block;\n min-height: @line-height-computed; // clear the floating input if there is no label text\n margin-top: 10px;\n margin-bottom: 10px;\n padding-left: 20px;\n label {\n display: inline;\n font-weight: normal;\n cursor: pointer;\n }\n}\n.radio input[type=\"radio\"],\n.radio-inline input[type=\"radio\"],\n.checkbox input[type=\"checkbox\"],\n.checkbox-inline input[type=\"checkbox\"] {\n float: left;\n margin-left: -20px;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing\n}\n\n// Radios and checkboxes on same line\n.radio-inline,\n.checkbox-inline {\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n vertical-align: middle;\n font-weight: normal;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px; // space out consecutive inline controls\n}\n\n// Apply same disabled cursor tweak as for inputs\n//\n// Note: Neither radios nor checkboxes can be readonly.\ninput[type=\"radio\"],\ninput[type=\"checkbox\"],\n.radio,\n.radio-inline,\n.checkbox,\n.checkbox-inline {\n &[disabled],\n fieldset[disabled] & {\n cursor: not-allowed;\n }\n}\n\n\n// Form control sizing\n//\n// Build on `.form-control` with modifier classes to decrease or increase the\n// height and font-size of form controls.\n\n.input-sm {\n .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);\n}\n\n.input-lg {\n .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);\n}\n\n\n// Form control feedback states\n//\n// Apply contextual and semantic states to individual form controls.\n\n.has-feedback {\n // Enable absolute positioning\n position: relative;\n\n // Ensure icons don't overlap text\n .form-control {\n padding-right: (@input-height-base * 1.25);\n }\n\n // Feedback icon (requires .glyphicon classes)\n .form-control-feedback {\n position: absolute;\n top: (@line-height-computed + 5); // Height of the `label` and its margin\n right: 0;\n display: block;\n width: @input-height-base;\n height: @input-height-base;\n line-height: @input-height-base;\n text-align: center;\n }\n}\n\n// Feedback states\n.has-success {\n .form-control-validation(@state-success-text; @state-success-text; @state-success-bg);\n}\n.has-warning {\n .form-control-validation(@state-warning-text; @state-warning-text; @state-warning-bg);\n}\n.has-error {\n .form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);\n}\n\n\n// Static form control text\n//\n// Apply class to a `p` element to make any string of text align with labels in\n// a horizontal form layout.\n\n.form-control-static {\n margin-bottom: 0; // Remove default margin from `p`\n}\n\n\n// Help text\n//\n// Apply to any element you wish to create light text for placement immediately\n// below a form control. Use for general help, formatting, or instructional text.\n\n.help-block {\n display: block; // account for any element using help-block\n margin-top: 5px;\n margin-bottom: 10px;\n color: lighten(@text-color, 25%); // lighten the text some for contrast\n}\n\n\n\n// Inline forms\n//\n// Make forms appear inline(-block) by adding the `.form-inline` class. Inline\n// forms begin stacked on extra small (mobile) devices and then go inline when\n// viewports reach <768px.\n//\n// Requires wrapping inputs and labels with `.form-group` for proper display of\n// default HTML form controls and our custom form controls (e.g., input groups).\n//\n// Heads up! This is mixin-ed into `.navbar-form` in navbars.less.\n\n.form-inline {\n\n // Kick in the inline\n @media (min-width: @screen-sm-min) {\n // Inline-block all the things for \"inline\"\n .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n\n // In navbar-form, allow folks to *not* use `.form-group`\n .form-control {\n display: inline-block;\n width: auto; // Prevent labels from stacking above inputs in `.form-group`\n vertical-align: middle;\n }\n // Input groups need that 100% width though\n .input-group > .form-control {\n width: 100%;\n }\n\n .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n\n // Remove default margin on radios/checkboxes that were used for stacking, and\n // then undo the floating of radios and checkboxes to match (which also avoids\n // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).\n .radio,\n .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 0;\n vertical-align: middle;\n }\n .radio input[type=\"radio\"],\n .checkbox input[type=\"checkbox\"] {\n float: none;\n margin-left: 0;\n }\n\n // Validation states\n //\n // Reposition the icon because it's now within a grid column and columns have\n // `position: relative;` on them. Also accounts for the grid gutter padding.\n .has-feedback .form-control-feedback {\n top: 0;\n }\n }\n}\n\n\n// Horizontal forms\n//\n// Horizontal forms are built on grid classes and allow you to create forms with\n// labels on the left and inputs on the right.\n\n.form-horizontal {\n\n // Consistent vertical alignment of labels, radios, and checkboxes\n .control-label,\n .radio,\n .checkbox,\n .radio-inline,\n .checkbox-inline {\n margin-top: 0;\n margin-bottom: 0;\n padding-top: (@padding-base-vertical + 1); // Default padding plus a border\n }\n // Account for padding we're adding to ensure the alignment and of help text\n // and other content below items\n .radio,\n .checkbox {\n min-height: (@line-height-computed + (@padding-base-vertical + 1));\n }\n\n // Make form groups behave like rows\n .form-group {\n .make-row();\n }\n\n .form-control-static {\n padding-top: (@padding-base-vertical + 1);\n }\n\n // Only right align form labels here when the columns stop stacking\n @media (min-width: @screen-sm-min) {\n .control-label {\n text-align: right;\n }\n }\n\n // Validation states\n //\n // Reposition the icon because it's now within a grid column and columns have\n // `position: relative;` on them. Also accounts for the grid gutter padding.\n .has-feedback .form-control-feedback {\n top: 0;\n right: (@grid-gutter-width / 2);\n }\n}\n","//\n// Buttons\n// --------------------------------------------------\n\n\n// Base styles\n// --------------------------------------------------\n\n.btn {\n display: inline-block;\n margin-bottom: 0; // For input.btn\n font-weight: @btn-font-weight;\n text-align: center;\n vertical-align: middle;\n cursor: pointer;\n background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n border: 1px solid transparent;\n white-space: nowrap;\n .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);\n .user-select(none);\n\n &,\n &:active,\n &.active {\n &:focus {\n .tab-focus();\n }\n }\n\n &:hover,\n &:focus {\n color: @btn-default-color;\n text-decoration: none;\n }\n\n &:active,\n &.active {\n outline: 0;\n background-image: none;\n .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n }\n\n &.disabled,\n &[disabled],\n fieldset[disabled] & {\n cursor: not-allowed;\n pointer-events: none; // Future-proof disabling of clicks\n .opacity(.65);\n .box-shadow(none);\n }\n}\n\n\n// Alternate buttons\n// --------------------------------------------------\n\n.btn-default {\n .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);\n}\n.btn-primary {\n .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);\n}\n// Success appears as green\n.btn-success {\n .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);\n}\n// Info appears as blue-green\n.btn-info {\n .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);\n}\n// Warning appears as orange\n.btn-warning {\n .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);\n}\n// Danger and error appear as red\n.btn-danger {\n .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);\n}\n\n\n// Link buttons\n// -------------------------\n\n// Make a button look and behave like a link\n.btn-link {\n color: @link-color;\n font-weight: normal;\n cursor: pointer;\n border-radius: 0;\n\n &,\n &:active,\n &[disabled],\n fieldset[disabled] & {\n background-color: transparent;\n .box-shadow(none);\n }\n &,\n &:hover,\n &:focus,\n &:active {\n border-color: transparent;\n }\n &:hover,\n &:focus {\n color: @link-hover-color;\n text-decoration: underline;\n background-color: transparent;\n }\n &[disabled],\n fieldset[disabled] & {\n &:hover,\n &:focus {\n color: @btn-link-disabled-color;\n text-decoration: none;\n }\n }\n}\n\n\n// Button Sizes\n// --------------------------------------------------\n\n.btn-lg {\n // line-height: ensure even-numbered height of button next to large input\n .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);\n}\n.btn-sm {\n // line-height: ensure proper height of button next to small input\n .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);\n}\n.btn-xs {\n .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);\n}\n\n\n// Block button\n// --------------------------------------------------\n\n.btn-block {\n display: block;\n width: 100%;\n padding-left: 0;\n padding-right: 0;\n}\n\n// Vertically space out multiple block buttons\n.btn-block + .btn-block {\n margin-top: 5px;\n}\n\n// Specificity overrides\ninput[type=\"submit\"],\ninput[type=\"reset\"],\ninput[type=\"button\"] {\n &.btn-block {\n width: 100%;\n }\n}\n","//\n// Button groups\n// --------------------------------------------------\n\n// Make the div behave like a button\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle; // match .btn alignment given font-size hack above\n > .btn {\n position: relative;\n float: left;\n // Bring the \"active\" button to the front\n &:hover,\n &:focus,\n &:active,\n &.active {\n z-index: 2;\n }\n &:focus {\n // Remove focus outline when dropdown JS adds it after closing the menu\n outline: none;\n }\n }\n}\n\n// Prevent double borders when buttons are next to each other\n.btn-group {\n .btn + .btn,\n .btn + .btn-group,\n .btn-group + .btn,\n .btn-group + .btn-group {\n margin-left: -1px;\n }\n}\n\n// Optional: Group multiple button groups together for a toolbar\n.btn-toolbar {\n margin-left: -5px; // Offset the first child's margin\n &:extend(.clearfix all);\n\n .btn-group,\n .input-group {\n float: left;\n }\n > .btn,\n > .btn-group,\n > .input-group {\n margin-left: 5px;\n }\n}\n\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n\n// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match\n.btn-group > .btn:first-child {\n margin-left: 0;\n &:not(:last-child):not(.dropdown-toggle) {\n .border-right-radius(0);\n }\n}\n// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n .border-left-radius(0);\n}\n\n// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child {\n > .btn:last-child,\n > .dropdown-toggle {\n .border-right-radius(0);\n }\n}\n.btn-group > .btn-group:last-child > .btn:first-child {\n .border-left-radius(0);\n}\n\n// On active and open, don't show outline\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n\n\n// Sizing\n//\n// Remix the default button sizing classes into new ones for easier manipulation.\n\n.btn-group-xs > .btn { &:extend(.btn-xs); }\n.btn-group-sm > .btn { &:extend(.btn-sm); }\n.btn-group-lg > .btn { &:extend(.btn-lg); }\n\n\n// Split button dropdowns\n// ----------------------\n\n// Give the line between buttons some depth\n.btn-group > .btn + .dropdown-toggle {\n padding-left: 8px;\n padding-right: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-left: 12px;\n padding-right: 12px;\n}\n\n// The clickable button for toggling the menu\n// Remove the gradient and set the same inset shadow as the :active state\n.btn-group.open .dropdown-toggle {\n .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n\n // Show no shadow for `.btn-link` since it has no other button styles.\n &.btn-link {\n .box-shadow(none);\n }\n}\n\n\n// Reposition the caret\n.btn .caret {\n margin-left: 0;\n}\n// Carets in other button sizes\n.btn-lg .caret {\n border-width: @caret-width-large @caret-width-large 0;\n border-bottom-width: 0;\n}\n// Upside down carets for .dropup\n.dropup .btn-lg .caret {\n border-width: 0 @caret-width-large @caret-width-large;\n}\n\n\n// Vertical button groups\n// ----------------------\n\n.btn-group-vertical {\n > .btn,\n > .btn-group,\n > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n }\n\n // Clear floats so dropdown menus can be properly placed\n > .btn-group {\n &:extend(.clearfix all);\n > .btn {\n float: none;\n }\n }\n\n > .btn + .btn,\n > .btn + .btn-group,\n > .btn-group + .btn,\n > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n }\n}\n\n.btn-group-vertical > .btn {\n &:not(:first-child):not(:last-child) {\n border-radius: 0;\n }\n &:first-child:not(:last-child) {\n border-top-right-radius: @border-radius-base;\n .border-bottom-radius(0);\n }\n &:last-child:not(:first-child) {\n border-bottom-left-radius: @border-radius-base;\n .border-top-radius(0);\n }\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) {\n > .btn:last-child,\n > .dropdown-toggle {\n .border-bottom-radius(0);\n }\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n .border-top-radius(0);\n}\n\n\n\n// Justified button groups\n// ----------------------\n\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n > .btn,\n > .btn-group {\n float: none;\n display: table-cell;\n width: 1%;\n }\n > .btn-group .btn {\n width: 100%;\n }\n}\n\n\n// Checkbox and radio options\n[data-toggle=\"buttons\"] > .btn > input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn > input[type=\"checkbox\"] {\n display: none;\n}\n","//\n// Component animations\n// --------------------------------------------------\n\n// Heads up!\n//\n// We don't use the `.opacity()` mixin here since it causes a bug with text\n// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.\n\n.fade {\n opacity: 0;\n .transition(opacity .15s linear);\n &.in {\n opacity: 1;\n }\n}\n\n.collapse {\n display: none;\n &.in {\n display: block;\n }\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n .transition(height .35s ease);\n}\n","//\n// Glyphicons for Bootstrap\n//\n// Since icons are fonts, they can be placed anywhere text is placed and are\n// thus automatically sized to match the surrounding child. To use, create an\n// inline element with the appropriate classes, like so:\n//\n// Star \n\n// Import the fonts\n@font-face {\n font-family: 'Glyphicons Halflings';\n src: ~\"url('@{icon-font-path}@{icon-font-name}.eot')\";\n src: ~\"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')\",\n ~\"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')\",\n ~\"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')\",\n ~\"url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg')\";\n}\n\n// Catchall baseclass\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: 'Glyphicons Halflings';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n// Individual icons\n.glyphicon-asterisk { &:before { content: \"\\2a\"; } }\n.glyphicon-plus { &:before { content: \"\\2b\"; } }\n.glyphicon-euro { &:before { content: \"\\20ac\"; } }\n.glyphicon-minus { &:before { content: \"\\2212\"; } }\n.glyphicon-cloud { &:before { content: \"\\2601\"; } }\n.glyphicon-envelope { &:before { content: \"\\2709\"; } }\n.glyphicon-pencil { &:before { content: \"\\270f\"; } }\n.glyphicon-glass { &:before { content: \"\\e001\"; } }\n.glyphicon-music { &:before { content: \"\\e002\"; } }\n.glyphicon-search { &:before { content: \"\\e003\"; } }\n.glyphicon-heart { &:before { content: \"\\e005\"; } }\n.glyphicon-star { &:before { content: \"\\e006\"; } }\n.glyphicon-star-empty { &:before { content: \"\\e007\"; } }\n.glyphicon-user { &:before { content: \"\\e008\"; } }\n.glyphicon-film { &:before { content: \"\\e009\"; } }\n.glyphicon-th-large { &:before { content: \"\\e010\"; } }\n.glyphicon-th { &:before { content: \"\\e011\"; } }\n.glyphicon-th-list { &:before { content: \"\\e012\"; } }\n.glyphicon-ok { &:before { content: \"\\e013\"; } }\n.glyphicon-remove { &:before { content: \"\\e014\"; } }\n.glyphicon-zoom-in { &:before { content: \"\\e015\"; } }\n.glyphicon-zoom-out { &:before { content: \"\\e016\"; } }\n.glyphicon-off { &:before { content: \"\\e017\"; } }\n.glyphicon-signal { &:before { content: \"\\e018\"; } }\n.glyphicon-cog { &:before { content: \"\\e019\"; } }\n.glyphicon-trash { &:before { content: \"\\e020\"; } }\n.glyphicon-home { &:before { content: \"\\e021\"; } }\n.glyphicon-file { &:before { content: \"\\e022\"; } }\n.glyphicon-time { &:before { content: \"\\e023\"; } }\n.glyphicon-road { &:before { content: \"\\e024\"; } }\n.glyphicon-download-alt { &:before { content: \"\\e025\"; } }\n.glyphicon-download { &:before { content: \"\\e026\"; } }\n.glyphicon-upload { &:before { content: \"\\e027\"; } }\n.glyphicon-inbox { &:before { content: \"\\e028\"; } }\n.glyphicon-play-circle { &:before { content: \"\\e029\"; } }\n.glyphicon-repeat { &:before { content: \"\\e030\"; } }\n.glyphicon-refresh { &:before { content: \"\\e031\"; } }\n.glyphicon-list-alt { &:before { content: \"\\e032\"; } }\n.glyphicon-lock { &:before { content: \"\\e033\"; } }\n.glyphicon-flag { &:before { content: \"\\e034\"; } }\n.glyphicon-headphones { &:before { content: \"\\e035\"; } }\n.glyphicon-volume-off { &:before { content: \"\\e036\"; } }\n.glyphicon-volume-down { &:before { content: \"\\e037\"; } }\n.glyphicon-volume-up { &:before { content: \"\\e038\"; } }\n.glyphicon-qrcode { &:before { content: \"\\e039\"; } }\n.glyphicon-barcode { &:before { content: \"\\e040\"; } }\n.glyphicon-tag { &:before { content: \"\\e041\"; } }\n.glyphicon-tags { &:before { content: \"\\e042\"; } }\n.glyphicon-book { &:before { content: \"\\e043\"; } }\n.glyphicon-bookmark { &:before { content: \"\\e044\"; } }\n.glyphicon-print { &:before { content: \"\\e045\"; } }\n.glyphicon-camera { &:before { content: \"\\e046\"; } }\n.glyphicon-font { &:before { content: \"\\e047\"; } }\n.glyphicon-bold { &:before { content: \"\\e048\"; } }\n.glyphicon-italic { &:before { content: \"\\e049\"; } }\n.glyphicon-text-height { &:before { content: \"\\e050\"; } }\n.glyphicon-text-width { &:before { content: \"\\e051\"; } }\n.glyphicon-align-left { &:before { content: \"\\e052\"; } }\n.glyphicon-align-center { &:before { content: \"\\e053\"; } }\n.glyphicon-align-right { &:before { content: \"\\e054\"; } }\n.glyphicon-align-justify { &:before { content: \"\\e055\"; } }\n.glyphicon-list { &:before { content: \"\\e056\"; } }\n.glyphicon-indent-left { &:before { content: \"\\e057\"; } }\n.glyphicon-indent-right { &:before { content: \"\\e058\"; } }\n.glyphicon-facetime-video { &:before { content: \"\\e059\"; } }\n.glyphicon-picture { &:before { content: \"\\e060\"; } }\n.glyphicon-map-marker { &:before { content: \"\\e062\"; } }\n.glyphicon-adjust { &:before { content: \"\\e063\"; } }\n.glyphicon-tint { &:before { content: \"\\e064\"; } }\n.glyphicon-edit { &:before { content: \"\\e065\"; } }\n.glyphicon-share { &:before { content: \"\\e066\"; } }\n.glyphicon-check { &:before { content: \"\\e067\"; } }\n.glyphicon-move { &:before { content: \"\\e068\"; } }\n.glyphicon-step-backward { &:before { content: \"\\e069\"; } }\n.glyphicon-fast-backward { &:before { content: \"\\e070\"; } }\n.glyphicon-backward { &:before { content: \"\\e071\"; } }\n.glyphicon-play { &:before { content: \"\\e072\"; } }\n.glyphicon-pause { &:before { content: \"\\e073\"; } }\n.glyphicon-stop { &:before { content: \"\\e074\"; } }\n.glyphicon-forward { &:before { content: \"\\e075\"; } }\n.glyphicon-fast-forward { &:before { content: \"\\e076\"; } }\n.glyphicon-step-forward { &:before { content: \"\\e077\"; } }\n.glyphicon-eject { &:before { content: \"\\e078\"; } }\n.glyphicon-chevron-left { &:before { content: \"\\e079\"; } }\n.glyphicon-chevron-right { &:before { content: \"\\e080\"; } }\n.glyphicon-plus-sign { &:before { content: \"\\e081\"; } }\n.glyphicon-minus-sign { &:before { content: \"\\e082\"; } }\n.glyphicon-remove-sign { &:before { content: \"\\e083\"; } }\n.glyphicon-ok-sign { &:before { content: \"\\e084\"; } }\n.glyphicon-question-sign { &:before { content: \"\\e085\"; } }\n.glyphicon-info-sign { &:before { content: \"\\e086\"; } }\n.glyphicon-screenshot { &:before { content: \"\\e087\"; } }\n.glyphicon-remove-circle { &:before { content: \"\\e088\"; } }\n.glyphicon-ok-circle { &:before { content: \"\\e089\"; } }\n.glyphicon-ban-circle { &:before { content: \"\\e090\"; } }\n.glyphicon-arrow-left { &:before { content: \"\\e091\"; } }\n.glyphicon-arrow-right { &:before { content: \"\\e092\"; } }\n.glyphicon-arrow-up { &:before { content: \"\\e093\"; } }\n.glyphicon-arrow-down { &:before { content: \"\\e094\"; } }\n.glyphicon-share-alt { &:before { content: \"\\e095\"; } }\n.glyphicon-resize-full { &:before { content: \"\\e096\"; } }\n.glyphicon-resize-small { &:before { content: \"\\e097\"; } }\n.glyphicon-exclamation-sign { &:before { content: \"\\e101\"; } }\n.glyphicon-gift { &:before { content: \"\\e102\"; } }\n.glyphicon-leaf { &:before { content: \"\\e103\"; } }\n.glyphicon-fire { &:before { content: \"\\e104\"; } }\n.glyphicon-eye-open { &:before { content: \"\\e105\"; } }\n.glyphicon-eye-close { &:before { content: \"\\e106\"; } }\n.glyphicon-warning-sign { &:before { content: \"\\e107\"; } }\n.glyphicon-plane { &:before { content: \"\\e108\"; } }\n.glyphicon-calendar { &:before { content: \"\\e109\"; } }\n.glyphicon-random { &:before { content: \"\\e110\"; } }\n.glyphicon-comment { &:before { content: \"\\e111\"; } }\n.glyphicon-magnet { &:before { content: \"\\e112\"; } }\n.glyphicon-chevron-up { &:before { content: \"\\e113\"; } }\n.glyphicon-chevron-down { &:before { content: \"\\e114\"; } }\n.glyphicon-retweet { &:before { content: \"\\e115\"; } }\n.glyphicon-shopping-cart { &:before { content: \"\\e116\"; } }\n.glyphicon-folder-close { &:before { content: \"\\e117\"; } }\n.glyphicon-folder-open { &:before { content: \"\\e118\"; } }\n.glyphicon-resize-vertical { &:before { content: \"\\e119\"; } }\n.glyphicon-resize-horizontal { &:before { content: \"\\e120\"; } }\n.glyphicon-hdd { &:before { content: \"\\e121\"; } }\n.glyphicon-bullhorn { &:before { content: \"\\e122\"; } }\n.glyphicon-bell { &:before { content: \"\\e123\"; } }\n.glyphicon-certificate { &:before { content: \"\\e124\"; } }\n.glyphicon-thumbs-up { &:before { content: \"\\e125\"; } }\n.glyphicon-thumbs-down { &:before { content: \"\\e126\"; } }\n.glyphicon-hand-right { &:before { content: \"\\e127\"; } }\n.glyphicon-hand-left { &:before { content: \"\\e128\"; } }\n.glyphicon-hand-up { &:before { content: \"\\e129\"; } }\n.glyphicon-hand-down { &:before { content: \"\\e130\"; } }\n.glyphicon-circle-arrow-right { &:before { content: \"\\e131\"; } }\n.glyphicon-circle-arrow-left { &:before { content: \"\\e132\"; } }\n.glyphicon-circle-arrow-up { &:before { content: \"\\e133\"; } }\n.glyphicon-circle-arrow-down { &:before { content: \"\\e134\"; } }\n.glyphicon-globe { &:before { content: \"\\e135\"; } }\n.glyphicon-wrench { &:before { content: \"\\e136\"; } }\n.glyphicon-tasks { &:before { content: \"\\e137\"; } }\n.glyphicon-filter { &:before { content: \"\\e138\"; } }\n.glyphicon-briefcase { &:before { content: \"\\e139\"; } }\n.glyphicon-fullscreen { &:before { content: \"\\e140\"; } }\n.glyphicon-dashboard { &:before { content: \"\\e141\"; } }\n.glyphicon-paperclip { &:before { content: \"\\e142\"; } }\n.glyphicon-heart-empty { &:before { content: \"\\e143\"; } }\n.glyphicon-link { &:before { content: \"\\e144\"; } }\n.glyphicon-phone { &:before { content: \"\\e145\"; } }\n.glyphicon-pushpin { &:before { content: \"\\e146\"; } }\n.glyphicon-usd { &:before { content: \"\\e148\"; } }\n.glyphicon-gbp { &:before { content: \"\\e149\"; } }\n.glyphicon-sort { &:before { content: \"\\e150\"; } }\n.glyphicon-sort-by-alphabet { &:before { content: \"\\e151\"; } }\n.glyphicon-sort-by-alphabet-alt { &:before { content: \"\\e152\"; } }\n.glyphicon-sort-by-order { &:before { content: \"\\e153\"; } }\n.glyphicon-sort-by-order-alt { &:before { content: \"\\e154\"; } }\n.glyphicon-sort-by-attributes { &:before { content: \"\\e155\"; } }\n.glyphicon-sort-by-attributes-alt { &:before { content: \"\\e156\"; } }\n.glyphicon-unchecked { &:before { content: \"\\e157\"; } }\n.glyphicon-expand { &:before { content: \"\\e158\"; } }\n.glyphicon-collapse-down { &:before { content: \"\\e159\"; } }\n.glyphicon-collapse-up { &:before { content: \"\\e160\"; } }\n.glyphicon-log-in { &:before { content: \"\\e161\"; } }\n.glyphicon-flash { &:before { content: \"\\e162\"; } }\n.glyphicon-log-out { &:before { content: \"\\e163\"; } }\n.glyphicon-new-window { &:before { content: \"\\e164\"; } }\n.glyphicon-record { &:before { content: \"\\e165\"; } }\n.glyphicon-save { &:before { content: \"\\e166\"; } }\n.glyphicon-open { &:before { content: \"\\e167\"; } }\n.glyphicon-saved { &:before { content: \"\\e168\"; } }\n.glyphicon-import { &:before { content: \"\\e169\"; } }\n.glyphicon-export { &:before { content: \"\\e170\"; } }\n.glyphicon-send { &:before { content: \"\\e171\"; } }\n.glyphicon-floppy-disk { &:before { content: \"\\e172\"; } }\n.glyphicon-floppy-saved { &:before { content: \"\\e173\"; } }\n.glyphicon-floppy-remove { &:before { content: \"\\e174\"; } }\n.glyphicon-floppy-save { &:before { content: \"\\e175\"; } }\n.glyphicon-floppy-open { &:before { content: \"\\e176\"; } }\n.glyphicon-credit-card { &:before { content: \"\\e177\"; } }\n.glyphicon-transfer { &:before { content: \"\\e178\"; } }\n.glyphicon-cutlery { &:before { content: \"\\e179\"; } }\n.glyphicon-header { &:before { content: \"\\e180\"; } }\n.glyphicon-compressed { &:before { content: \"\\e181\"; } }\n.glyphicon-earphone { &:before { content: \"\\e182\"; } }\n.glyphicon-phone-alt { &:before { content: \"\\e183\"; } }\n.glyphicon-tower { &:before { content: \"\\e184\"; } }\n.glyphicon-stats { &:before { content: \"\\e185\"; } }\n.glyphicon-sd-video { &:before { content: \"\\e186\"; } }\n.glyphicon-hd-video { &:before { content: \"\\e187\"; } }\n.glyphicon-subtitles { &:before { content: \"\\e188\"; } }\n.glyphicon-sound-stereo { &:before { content: \"\\e189\"; } }\n.glyphicon-sound-dolby { &:before { content: \"\\e190\"; } }\n.glyphicon-sound-5-1 { &:before { content: \"\\e191\"; } }\n.glyphicon-sound-6-1 { &:before { content: \"\\e192\"; } }\n.glyphicon-sound-7-1 { &:before { content: \"\\e193\"; } }\n.glyphicon-copyright-mark { &:before { content: \"\\e194\"; } }\n.glyphicon-registration-mark { &:before { content: \"\\e195\"; } }\n.glyphicon-cloud-download { &:before { content: \"\\e197\"; } }\n.glyphicon-cloud-upload { &:before { content: \"\\e198\"; } }\n.glyphicon-tree-conifer { &:before { content: \"\\e199\"; } }\n.glyphicon-tree-deciduous { &:before { content: \"\\e200\"; } }\n","//\n// Dropdown menus\n// --------------------------------------------------\n\n\n// Dropdown arrow/caret\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: @caret-width-base solid;\n border-right: @caret-width-base solid transparent;\n border-left: @caret-width-base solid transparent;\n}\n\n// The dropdown wrapper (div)\n.dropdown {\n position: relative;\n}\n\n// Prevent the focus on the dropdown toggle when closing dropdowns\n.dropdown-toggle:focus {\n outline: 0;\n}\n\n// The dropdown menu (ul)\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: @zindex-dropdown;\n display: none; // none by default, but block on \"open\" of the menu\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0; // override default ul\n list-style: none;\n font-size: @font-size-base;\n background-color: @dropdown-bg;\n border: 1px solid @dropdown-fallback-border; // IE8 fallback\n border: 1px solid @dropdown-border;\n border-radius: @border-radius-base;\n .box-shadow(0 6px 12px rgba(0,0,0,.175));\n background-clip: padding-box;\n\n // Aligns the dropdown menu to right\n //\n // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`\n &.pull-right {\n right: 0;\n left: auto;\n }\n\n // Dividers (basically an hr) within the dropdown\n .divider {\n .nav-divider(@dropdown-divider-bg);\n }\n\n // Links within the dropdown menu\n > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: @line-height-base;\n color: @dropdown-link-color;\n white-space: nowrap; // prevent links from randomly breaking onto new lines\n }\n}\n\n// Hover/Focus state\n.dropdown-menu > li > a {\n &:hover,\n &:focus {\n text-decoration: none;\n color: @dropdown-link-hover-color;\n background-color: @dropdown-link-hover-bg;\n }\n}\n\n// Active state\n.dropdown-menu > .active > a {\n &,\n &:hover,\n &:focus {\n color: @dropdown-link-active-color;\n text-decoration: none;\n outline: 0;\n background-color: @dropdown-link-active-bg;\n }\n}\n\n// Disabled state\n//\n// Gray out text and ensure the hover/focus state remains gray\n\n.dropdown-menu > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @dropdown-link-disabled-color;\n }\n}\n// Nuke hover/focus effects\n.dropdown-menu > .disabled > a {\n &:hover,\n &:focus {\n text-decoration: none;\n background-color: transparent;\n background-image: none; // Remove CSS gradient\n .reset-filter();\n cursor: not-allowed;\n }\n}\n\n// Open state for the dropdown\n.open {\n // Show the menu\n > .dropdown-menu {\n display: block;\n }\n\n // Remove the outline when :focus is triggered\n > a {\n outline: 0;\n }\n}\n\n// Menu positioning\n//\n// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown\n// menu with the parent.\n.dropdown-menu-right {\n left: auto; // Reset the default from `.dropdown-menu`\n right: 0;\n}\n// With v3, we enabled auto-flipping if you have a dropdown within a right\n// aligned nav component. To enable the undoing of that, we provide an override\n// to restore the default dropdown menu alignment.\n//\n// This is only for left-aligning a dropdown menu within a `.navbar-right` or\n// `.pull-right` nav component.\n.dropdown-menu-left {\n left: 0;\n right: auto;\n}\n\n// Dropdown section headers\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: @font-size-small;\n line-height: @line-height-base;\n color: @dropdown-header-color;\n}\n\n// Backdrop to catch body clicks on mobile, etc.\n.dropdown-backdrop {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n z-index: (@zindex-dropdown - 10);\n}\n\n// Right aligned dropdowns\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n\n// Allow for dropdowns to go bottom up (aka, dropup-menu)\n//\n// Just add .dropup after the standard .dropdown class and you're set, bro.\n// TODO: abstract this so that the navbar fixed styles are not placed here?\n\n.dropup,\n.navbar-fixed-bottom .dropdown {\n // Reverse the caret\n .caret {\n border-top: 0;\n border-bottom: @caret-width-base solid;\n content: \"\";\n }\n // Different positioning for bottom up menu\n .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 1px;\n }\n}\n\n\n// Component alignment\n//\n// Reiterate per navbar.less and the modified component alignment there.\n\n@media (min-width: @grid-float-breakpoint) {\n .navbar-right {\n .dropdown-menu {\n .dropdown-menu-right();\n }\n // Necessary for overrides of the default right aligned menu.\n // Will remove come v4 in all likelihood.\n .dropdown-menu-left {\n .dropdown-menu-left();\n }\n }\n}\n\n","//\n// Input groups\n// --------------------------------------------------\n\n// Base styles\n// -------------------------\n.input-group {\n position: relative; // For dropdowns\n display: table;\n border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table\n\n // Undo padding and float of grid classes\n &[class*=\"col-\"] {\n float: none;\n padding-left: 0;\n padding-right: 0;\n }\n\n .form-control {\n // Ensure that the input is always above the *appended* addon button for\n // proper border colors.\n position: relative;\n z-index: 2;\n\n // IE9 fubars the placeholder attribute in text inputs and the arrows on\n // select elements in input groups. To fix it, we float the input. Details:\n // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855\n float: left;\n\n width: 100%;\n margin-bottom: 0;\n }\n}\n\n// Sizing options\n//\n// Remix the default form control sizing classes into new ones for easier\n// manipulation.\n\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn { .input-lg(); }\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn { .input-sm(); }\n\n\n// Display as table-cell\n// -------------------------\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n\n &:not(:first-child):not(:last-child) {\n border-radius: 0;\n }\n}\n// Addon and addon wrapper for buttons\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle; // Match the inputs\n}\n\n// Text input groups\n// -------------------------\n.input-group-addon {\n padding: @padding-base-vertical @padding-base-horizontal;\n font-size: @font-size-base;\n font-weight: normal;\n line-height: 1;\n color: @input-color;\n text-align: center;\n background-color: @input-group-addon-bg;\n border: 1px solid @input-group-addon-border-color;\n border-radius: @border-radius-base;\n\n // Sizing\n &.input-sm {\n padding: @padding-small-vertical @padding-small-horizontal;\n font-size: @font-size-small;\n border-radius: @border-radius-small;\n }\n &.input-lg {\n padding: @padding-large-vertical @padding-large-horizontal;\n font-size: @font-size-large;\n border-radius: @border-radius-large;\n }\n\n // Nuke default margins from checkboxes and radios to vertically center within.\n input[type=\"radio\"],\n input[type=\"checkbox\"] {\n margin-top: 0;\n }\n}\n\n// Reset rounded corners\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n .border-right-radius(0);\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n .border-left-radius(0);\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n\n// Button input groups\n// -------------------------\n.input-group-btn {\n position: relative;\n // Jankily prevent input button groups from wrapping with `white-space` and\n // `font-size` in combination with `inline-block` on buttons.\n font-size: 0;\n white-space: nowrap;\n\n // Negative margin for spacing, position for bringing hovered/focused/actived\n // element above the siblings.\n > .btn {\n position: relative;\n + .btn {\n margin-left: -1px;\n }\n // Bring the \"active\" button to the front\n &:hover,\n &:focus,\n &:active {\n z-index: 2;\n }\n }\n\n // Negative margin to only have a 1px border between the two\n &:first-child {\n > .btn,\n > .btn-group {\n margin-right: -1px;\n }\n }\n &:last-child {\n > .btn,\n > .btn-group {\n margin-left: -1px;\n }\n }\n}\n","//\n// Navs\n// --------------------------------------------------\n\n\n// Base class\n// --------------------------------------------------\n\n.nav {\n margin-bottom: 0;\n padding-left: 0; // Override default ul/ol\n list-style: none;\n &:extend(.clearfix all);\n\n > li {\n position: relative;\n display: block;\n\n > a {\n position: relative;\n display: block;\n padding: @nav-link-padding;\n &:hover,\n &:focus {\n text-decoration: none;\n background-color: @nav-link-hover-bg;\n }\n }\n\n // Disabled state sets text to gray and nukes hover/tab effects\n &.disabled > a {\n color: @nav-disabled-link-color;\n\n &:hover,\n &:focus {\n color: @nav-disabled-link-hover-color;\n text-decoration: none;\n background-color: transparent;\n cursor: not-allowed;\n }\n }\n }\n\n // Open dropdowns\n .open > a {\n &,\n &:hover,\n &:focus {\n background-color: @nav-link-hover-bg;\n border-color: @link-color;\n }\n }\n\n // Nav dividers (deprecated with v3.0.1)\n //\n // This should have been removed in v3 with the dropping of `.nav-list`, but\n // we missed it. We don't currently support this anywhere, but in the interest\n // of maintaining backward compatibility in case you use it, it's deprecated.\n .nav-divider {\n .nav-divider();\n }\n\n // Prevent IE8 from misplacing imgs\n //\n // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989\n > li > a > img {\n max-width: none;\n }\n}\n\n\n// Tabs\n// -------------------------\n\n// Give the tabs something to sit on\n.nav-tabs {\n border-bottom: 1px solid @nav-tabs-border-color;\n > li {\n float: left;\n // Make the list-items overlay the bottom border\n margin-bottom: -1px;\n\n // Actual tabs (as links)\n > a {\n margin-right: 2px;\n line-height: @line-height-base;\n border: 1px solid transparent;\n border-radius: @border-radius-base @border-radius-base 0 0;\n &:hover {\n border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;\n }\n }\n\n // Active state, and its :hover to override normal :hover\n &.active > a {\n &,\n &:hover,\n &:focus {\n color: @nav-tabs-active-link-hover-color;\n background-color: @nav-tabs-active-link-hover-bg;\n border: 1px solid @nav-tabs-active-link-hover-border-color;\n border-bottom-color: transparent;\n cursor: default;\n }\n }\n }\n // pulling this in mainly for less shorthand\n &.nav-justified {\n .nav-justified();\n .nav-tabs-justified();\n }\n}\n\n\n// Pills\n// -------------------------\n.nav-pills {\n > li {\n float: left;\n\n // Links rendered as pills\n > a {\n border-radius: @nav-pills-border-radius;\n }\n + li {\n margin-left: 2px;\n }\n\n // Active state\n &.active > a {\n &,\n &:hover,\n &:focus {\n color: @nav-pills-active-link-hover-color;\n background-color: @nav-pills-active-link-hover-bg;\n }\n }\n }\n}\n\n\n// Stacked pills\n.nav-stacked {\n > li {\n float: none;\n + li {\n margin-top: 2px;\n margin-left: 0; // no need for this gap between nav items\n }\n }\n}\n\n\n// Nav variations\n// --------------------------------------------------\n\n// Justified nav links\n// -------------------------\n\n.nav-justified {\n width: 100%;\n\n > li {\n float: none;\n > a {\n text-align: center;\n margin-bottom: 5px;\n }\n }\n\n > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n }\n\n @media (min-width: @screen-sm-min) {\n > li {\n display: table-cell;\n width: 1%;\n > a {\n margin-bottom: 0;\n }\n }\n }\n}\n\n// Move borders to anchors instead of bottom of list\n//\n// Mixin for adding on top the shared `.nav-justified` styles for our tabs\n.nav-tabs-justified {\n border-bottom: 0;\n\n > li > a {\n // Override margin from .nav-tabs\n margin-right: 0;\n border-radius: @border-radius-base;\n }\n\n > .active > a,\n > .active > a:hover,\n > .active > a:focus {\n border: 1px solid @nav-tabs-justified-link-border-color;\n }\n\n @media (min-width: @screen-sm-min) {\n > li > a {\n border-bottom: 1px solid @nav-tabs-justified-link-border-color;\n border-radius: @border-radius-base @border-radius-base 0 0;\n }\n > .active > a,\n > .active > a:hover,\n > .active > a:focus {\n border-bottom-color: @nav-tabs-justified-active-link-border-color;\n }\n }\n}\n\n\n// Tabbable tabs\n// -------------------------\n\n// Hide tabbable panes to start, show them when `.active`\n.tab-content {\n > .tab-pane {\n display: none;\n }\n > .active {\n display: block;\n }\n}\n\n\n// Dropdowns\n// -------------------------\n\n// Specific dropdowns\n.nav-tabs .dropdown-menu {\n // make dropdown border overlap tab border\n margin-top: -1px;\n // Remove the top rounded corners here since there is a hard edge above the menu\n .border-top-radius(0);\n}\n","//\n// Navbars\n// --------------------------------------------------\n\n\n// Wrapper and base class\n//\n// Provide a static navbar from which we expand to create full-width, fixed, and\n// other navbar variations.\n\n.navbar {\n position: relative;\n min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)\n margin-bottom: @navbar-margin-bottom;\n border: 1px solid transparent;\n\n // Prevent floats from breaking the navbar\n &:extend(.clearfix all);\n\n @media (min-width: @grid-float-breakpoint) {\n border-radius: @navbar-border-radius;\n }\n}\n\n\n// Navbar heading\n//\n// Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy\n// styling of responsive aspects.\n\n.navbar-header {\n &:extend(.clearfix all);\n\n @media (min-width: @grid-float-breakpoint) {\n float: left;\n }\n}\n\n\n// Navbar collapse (body)\n//\n// Group your navbar content into this for easy collapsing and expanding across\n// various device sizes. By default, this content is collapsed when <768px, but\n// will expand past that for a horizontal display.\n//\n// To start (on mobile devices) the navbar links, forms, and buttons are stacked\n// vertically and include a `max-height` to overflow in case you have too much\n// content for the user's viewport.\n\n.navbar-collapse {\n max-height: @navbar-collapse-max-height;\n overflow-x: visible;\n padding-right: @navbar-padding-horizontal;\n padding-left: @navbar-padding-horizontal;\n border-top: 1px solid transparent;\n box-shadow: inset 0 1px 0 rgba(255,255,255,.1);\n &:extend(.clearfix all);\n -webkit-overflow-scrolling: touch;\n\n &.in {\n overflow-y: auto;\n }\n\n @media (min-width: @grid-float-breakpoint) {\n width: auto;\n border-top: 0;\n box-shadow: none;\n\n &.collapse {\n display: block !important;\n height: auto !important;\n padding-bottom: 0; // Override default setting\n overflow: visible !important;\n }\n\n &.in {\n overflow-y: visible;\n }\n\n // Undo the collapse side padding for navbars with containers to ensure\n // alignment of right-aligned contents.\n .navbar-fixed-top &,\n .navbar-static-top &,\n .navbar-fixed-bottom & {\n padding-left: 0;\n padding-right: 0;\n }\n }\n}\n\n\n// Both navbar header and collapse\n//\n// When a container is present, change the behavior of the header and collapse.\n\n.container,\n.container-fluid {\n > .navbar-header,\n > .navbar-collapse {\n margin-right: -@navbar-padding-horizontal;\n margin-left: -@navbar-padding-horizontal;\n\n @media (min-width: @grid-float-breakpoint) {\n margin-right: 0;\n margin-left: 0;\n }\n }\n}\n\n\n//\n// Navbar alignment options\n//\n// Display the navbar across the entirety of the page or fixed it to the top or\n// bottom of the page.\n\n// Static top (unfixed, but 100% wide) navbar\n.navbar-static-top {\n z-index: @zindex-navbar;\n border-width: 0 0 1px;\n\n @media (min-width: @grid-float-breakpoint) {\n border-radius: 0;\n }\n}\n\n// Fix the top/bottom navbars when screen real estate supports it\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: @zindex-navbar-fixed;\n\n // Undo the rounded corners\n @media (min-width: @grid-float-breakpoint) {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0; // override .navbar defaults\n border-width: 1px 0 0;\n}\n\n\n// Brand/project name\n\n.navbar-brand {\n float: left;\n padding: @navbar-padding-vertical @navbar-padding-horizontal;\n font-size: @font-size-large;\n line-height: @line-height-computed;\n height: @navbar-height;\n\n &:hover,\n &:focus {\n text-decoration: none;\n }\n\n @media (min-width: @grid-float-breakpoint) {\n .navbar > .container &,\n .navbar > .container-fluid & {\n margin-left: -@navbar-padding-horizontal;\n }\n }\n}\n\n\n// Navbar toggle\n//\n// Custom button for toggling the `.navbar-collapse`, powered by the collapse\n// JavaScript plugin.\n\n.navbar-toggle {\n position: relative;\n float: right;\n margin-right: @navbar-padding-horizontal;\n padding: 9px 10px;\n .navbar-vertical-align(34px);\n background-color: transparent;\n background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n border: 1px solid transparent;\n border-radius: @border-radius-base;\n\n // We remove the `outline` here, but later compensate by attaching `:hover`\n // styles to `:focus`.\n &:focus {\n outline: none;\n }\n\n // Bars\n .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n }\n .icon-bar + .icon-bar {\n margin-top: 4px;\n }\n\n @media (min-width: @grid-float-breakpoint) {\n display: none;\n }\n}\n\n\n// Navbar nav links\n//\n// Builds on top of the `.nav` components with its own modifier class to make\n// the nav the full height of the horizontal nav (above 768px).\n\n.navbar-nav {\n margin: (@navbar-padding-vertical / 2) -@navbar-padding-horizontal;\n\n > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: @line-height-computed;\n }\n\n @media (max-width: @grid-float-breakpoint-max) {\n // Dropdowns get custom display when collapsed\n .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n box-shadow: none;\n > li > a,\n .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n > li > a {\n line-height: @line-height-computed;\n &:hover,\n &:focus {\n background-image: none;\n }\n }\n }\n }\n\n // Uncollapse the nav\n @media (min-width: @grid-float-breakpoint) {\n float: left;\n margin: 0;\n\n > li {\n float: left;\n > a {\n padding-top: @navbar-padding-vertical;\n padding-bottom: @navbar-padding-vertical;\n }\n }\n\n &.navbar-right:last-child {\n margin-right: -@navbar-padding-horizontal;\n }\n }\n}\n\n\n// Component alignment\n//\n// Repurpose the pull utilities as their own navbar utilities to avoid specificity\n// issues with parents and chaining. Only do this when the navbar is uncollapsed\n// though so that navbar contents properly stack and align in mobile.\n\n@media (min-width: @grid-float-breakpoint) {\n .navbar-left { .pull-left(); }\n .navbar-right { .pull-right(); }\n}\n\n\n// Navbar form\n//\n// Extension of the `.form-inline` with some extra flavor for optimum display in\n// our navbars.\n\n.navbar-form {\n margin-left: -@navbar-padding-horizontal;\n margin-right: -@navbar-padding-horizontal;\n padding: 10px @navbar-padding-horizontal;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n @shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);\n .box-shadow(@shadow);\n\n // Mixin behavior for optimum display\n .form-inline();\n\n .form-group {\n @media (max-width: @grid-float-breakpoint-max) {\n margin-bottom: 5px;\n }\n }\n\n // Vertically center in expanded, horizontal navbar\n .navbar-vertical-align(@input-height-base);\n\n // Undo 100% width for pull classes\n @media (min-width: @grid-float-breakpoint) {\n width: auto;\n border: 0;\n margin-left: 0;\n margin-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n .box-shadow(none);\n\n // Outdent the form if last child to line up with content down the page\n &.navbar-right:last-child {\n margin-right: -@navbar-padding-horizontal;\n }\n }\n}\n\n\n// Dropdown menus\n\n// Menu position and menu carets\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n .border-top-radius(0);\n}\n// Menu position and menu caret support for dropups via extra dropup class\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n .border-bottom-radius(0);\n}\n\n\n// Buttons in navbars\n//\n// Vertically center a button within a navbar (when *not* in a form).\n\n.navbar-btn {\n .navbar-vertical-align(@input-height-base);\n\n &.btn-sm {\n .navbar-vertical-align(@input-height-small);\n }\n &.btn-xs {\n .navbar-vertical-align(22);\n }\n}\n\n\n// Text in navbars\n//\n// Add a class to make any element properly align itself vertically within the navbars.\n\n.navbar-text {\n .navbar-vertical-align(@line-height-computed);\n\n @media (min-width: @grid-float-breakpoint) {\n float: left;\n margin-left: @navbar-padding-horizontal;\n margin-right: @navbar-padding-horizontal;\n\n // Outdent the form if last child to line up with content down the page\n &.navbar-right:last-child {\n margin-right: 0;\n }\n }\n}\n\n// Alternate navbars\n// --------------------------------------------------\n\n// Default navbar\n.navbar-default {\n background-color: @navbar-default-bg;\n border-color: @navbar-default-border;\n\n .navbar-brand {\n color: @navbar-default-brand-color;\n &:hover,\n &:focus {\n color: @navbar-default-brand-hover-color;\n background-color: @navbar-default-brand-hover-bg;\n }\n }\n\n .navbar-text {\n color: @navbar-default-color;\n }\n\n .navbar-nav {\n > li > a {\n color: @navbar-default-link-color;\n\n &:hover,\n &:focus {\n color: @navbar-default-link-hover-color;\n background-color: @navbar-default-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-active-color;\n background-color: @navbar-default-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-disabled-color;\n background-color: @navbar-default-link-disabled-bg;\n }\n }\n }\n\n .navbar-toggle {\n border-color: @navbar-default-toggle-border-color;\n &:hover,\n &:focus {\n background-color: @navbar-default-toggle-hover-bg;\n }\n .icon-bar {\n background-color: @navbar-default-toggle-icon-bar-bg;\n }\n }\n\n .navbar-collapse,\n .navbar-form {\n border-color: @navbar-default-border;\n }\n\n // Dropdown menu items\n .navbar-nav {\n // Remove background color from open dropdown\n > .open > a {\n &,\n &:hover,\n &:focus {\n background-color: @navbar-default-link-active-bg;\n color: @navbar-default-link-active-color;\n }\n }\n\n @media (max-width: @grid-float-breakpoint-max) {\n // Dropdowns get custom display when collapsed\n .open .dropdown-menu {\n > li > a {\n color: @navbar-default-link-color;\n &:hover,\n &:focus {\n color: @navbar-default-link-hover-color;\n background-color: @navbar-default-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-active-color;\n background-color: @navbar-default-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-disabled-color;\n background-color: @navbar-default-link-disabled-bg;\n }\n }\n }\n }\n }\n\n\n // Links in navbars\n //\n // Add a class to ensure links outside the navbar nav are colored correctly.\n\n .navbar-link {\n color: @navbar-default-link-color;\n &:hover {\n color: @navbar-default-link-hover-color;\n }\n }\n\n}\n\n// Inverse navbar\n\n.navbar-inverse {\n background-color: @navbar-inverse-bg;\n border-color: @navbar-inverse-border;\n\n .navbar-brand {\n color: @navbar-inverse-brand-color;\n &:hover,\n &:focus {\n color: @navbar-inverse-brand-hover-color;\n background-color: @navbar-inverse-brand-hover-bg;\n }\n }\n\n .navbar-text {\n color: @navbar-inverse-color;\n }\n\n .navbar-nav {\n > li > a {\n color: @navbar-inverse-link-color;\n\n &:hover,\n &:focus {\n color: @navbar-inverse-link-hover-color;\n background-color: @navbar-inverse-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-active-color;\n background-color: @navbar-inverse-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-disabled-color;\n background-color: @navbar-inverse-link-disabled-bg;\n }\n }\n }\n\n // Darken the responsive nav toggle\n .navbar-toggle {\n border-color: @navbar-inverse-toggle-border-color;\n &:hover,\n &:focus {\n background-color: @navbar-inverse-toggle-hover-bg;\n }\n .icon-bar {\n background-color: @navbar-inverse-toggle-icon-bar-bg;\n }\n }\n\n .navbar-collapse,\n .navbar-form {\n border-color: darken(@navbar-inverse-bg, 7%);\n }\n\n // Dropdowns\n .navbar-nav {\n > .open > a {\n &,\n &:hover,\n &:focus {\n background-color: @navbar-inverse-link-active-bg;\n color: @navbar-inverse-link-active-color;\n }\n }\n\n @media (max-width: @grid-float-breakpoint-max) {\n // Dropdowns get custom display\n .open .dropdown-menu {\n > .dropdown-header {\n border-color: @navbar-inverse-border;\n }\n .divider {\n background-color: @navbar-inverse-border;\n }\n > li > a {\n color: @navbar-inverse-link-color;\n &:hover,\n &:focus {\n color: @navbar-inverse-link-hover-color;\n background-color: @navbar-inverse-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-active-color;\n background-color: @navbar-inverse-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-disabled-color;\n background-color: @navbar-inverse-link-disabled-bg;\n }\n }\n }\n }\n }\n\n .navbar-link {\n color: @navbar-inverse-link-color;\n &:hover {\n color: @navbar-inverse-link-hover-color;\n }\n }\n\n}\n","//\n// Utility classes\n// --------------------------------------------------\n\n\n// Floats\n// -------------------------\n\n.clearfix {\n .clearfix();\n}\n.center-block {\n .center-block();\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n\n\n// Toggling content\n// -------------------------\n\n// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n .text-hide();\n}\n\n\n// Hide from screenreaders and browsers\n//\n// Credit: HTML5 Boilerplate\n\n.hidden {\n display: none !important;\n visibility: hidden !important;\n}\n\n\n// For Affix plugin\n// -------------------------\n\n.affix {\n position: fixed;\n}\n","//\n// Breadcrumbs\n// --------------------------------------------------\n\n\n.breadcrumb {\n padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;\n margin-bottom: @line-height-computed;\n list-style: none;\n background-color: @breadcrumb-bg;\n border-radius: @border-radius-base;\n\n > li {\n display: inline-block;\n\n + li:before {\n content: \"@{breadcrumb-separator}\\00a0\"; // Unicode space added since inline-block means non-collapsing white-space\n padding: 0 5px;\n color: @breadcrumb-color;\n }\n }\n\n > .active {\n color: @breadcrumb-active-color;\n }\n}\n","//\n// Pagination (multiple pages)\n// --------------------------------------------------\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: @line-height-computed 0;\n border-radius: @border-radius-base;\n\n > li {\n display: inline; // Remove list-style and block-level defaults\n > a,\n > span {\n position: relative;\n float: left; // Collapse white-space\n padding: @padding-base-vertical @padding-base-horizontal;\n line-height: @line-height-base;\n text-decoration: none;\n color: @pagination-color;\n background-color: @pagination-bg;\n border: 1px solid @pagination-border;\n margin-left: -1px;\n }\n &:first-child {\n > a,\n > span {\n margin-left: 0;\n .border-left-radius(@border-radius-base);\n }\n }\n &:last-child {\n > a,\n > span {\n .border-right-radius(@border-radius-base);\n }\n }\n }\n\n > li > a,\n > li > span {\n &:hover,\n &:focus {\n color: @pagination-hover-color;\n background-color: @pagination-hover-bg;\n border-color: @pagination-hover-border;\n }\n }\n\n > .active > a,\n > .active > span {\n &,\n &:hover,\n &:focus {\n z-index: 2;\n color: @pagination-active-color;\n background-color: @pagination-active-bg;\n border-color: @pagination-active-border;\n cursor: default;\n }\n }\n\n > .disabled {\n > span,\n > span:hover,\n > span:focus,\n > a,\n > a:hover,\n > a:focus {\n color: @pagination-disabled-color;\n background-color: @pagination-disabled-bg;\n border-color: @pagination-disabled-border;\n cursor: not-allowed;\n }\n }\n}\n\n// Sizing\n// --------------------------------------------------\n\n// Large\n.pagination-lg {\n .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);\n}\n\n// Small\n.pagination-sm {\n .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);\n}\n","//\n// Pager pagination\n// --------------------------------------------------\n\n\n.pager {\n padding-left: 0;\n margin: @line-height-computed 0;\n list-style: none;\n text-align: center;\n &:extend(.clearfix all);\n li {\n display: inline;\n > a,\n > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: @pager-bg;\n border: 1px solid @pager-border;\n border-radius: @pager-border-radius;\n }\n\n > a:hover,\n > a:focus {\n text-decoration: none;\n background-color: @pager-hover-bg;\n }\n }\n\n .next {\n > a,\n > span {\n float: right;\n }\n }\n\n .previous {\n > a,\n > span {\n float: left;\n }\n }\n\n .disabled {\n > a,\n > a:hover,\n > a:focus,\n > span {\n color: @pager-disabled-color;\n background-color: @pager-bg;\n cursor: not-allowed;\n }\n }\n\n}\n","//\n// Labels\n// --------------------------------------------------\n\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: @label-color;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n\n // Add hover effects, but only for links\n &[href] {\n &:hover,\n &:focus {\n color: @label-link-hover-color;\n text-decoration: none;\n cursor: pointer;\n }\n }\n\n // Empty labels collapse automatically (not available in IE8)\n &:empty {\n display: none;\n }\n\n // Quick fix for labels in buttons\n .btn & {\n position: relative;\n top: -1px;\n }\n}\n\n// Colors\n// Contextual variations (linked labels get darker on :hover)\n\n.label-default {\n .label-variant(@label-default-bg);\n}\n\n.label-primary {\n .label-variant(@label-primary-bg);\n}\n\n.label-success {\n .label-variant(@label-success-bg);\n}\n\n.label-info {\n .label-variant(@label-info-bg);\n}\n\n.label-warning {\n .label-variant(@label-warning-bg);\n}\n\n.label-danger {\n .label-variant(@label-danger-bg);\n}\n","//\n// Badges\n// --------------------------------------------------\n\n\n// Base classes\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: @font-size-small;\n font-weight: @badge-font-weight;\n color: @badge-color;\n line-height: @badge-line-height;\n vertical-align: baseline;\n white-space: nowrap;\n text-align: center;\n background-color: @badge-bg;\n border-radius: @badge-border-radius;\n\n // Empty badges collapse automatically (not available in IE8)\n &:empty {\n display: none;\n }\n\n // Quick fix for badges in buttons\n .btn & {\n position: relative;\n top: -1px;\n }\n .btn-xs & {\n top: 0;\n padding: 1px 5px;\n }\n}\n\n// Hover state, but only for links\na.badge {\n &:hover,\n &:focus {\n color: @badge-link-hover-color;\n text-decoration: none;\n cursor: pointer;\n }\n}\n\n// Account for counters in navs\na.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: @badge-active-color;\n background-color: @badge-active-bg;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n","//\n// Jumbotron\n// --------------------------------------------------\n\n\n.jumbotron {\n padding: @jumbotron-padding;\n margin-bottom: @jumbotron-padding;\n color: @jumbotron-color;\n background-color: @jumbotron-bg;\n\n h1,\n .h1 {\n color: @jumbotron-heading-color;\n }\n p {\n margin-bottom: (@jumbotron-padding / 2);\n font-size: @jumbotron-font-size;\n font-weight: 200;\n }\n\n .container & {\n border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container\n }\n\n .container {\n max-width: 100%;\n }\n\n @media screen and (min-width: @screen-sm-min) {\n padding-top: (@jumbotron-padding * 1.6);\n padding-bottom: (@jumbotron-padding * 1.6);\n\n .container & {\n padding-left: (@jumbotron-padding * 2);\n padding-right: (@jumbotron-padding * 2);\n }\n\n h1,\n .h1 {\n font-size: (@font-size-base * 4.5);\n }\n }\n}\n","//\n// Alerts\n// --------------------------------------------------\n\n\n// Base styles\n// -------------------------\n\n.alert {\n padding: @alert-padding;\n margin-bottom: @line-height-computed;\n border: 1px solid transparent;\n border-radius: @alert-border-radius;\n\n // Headings for larger alerts\n h4 {\n margin-top: 0;\n // Specified for the h4 to prevent conflicts of changing @headings-color\n color: inherit;\n }\n // Provide class for links that match alerts\n .alert-link {\n font-weight: @alert-link-font-weight;\n }\n\n // Improve alignment and spacing of inner content\n > p,\n > ul {\n margin-bottom: 0;\n }\n > p + p {\n margin-top: 5px;\n }\n}\n\n// Dismissable alerts\n//\n// Expand the right padding and account for the close button's positioning.\n\n.alert-dismissable {\n padding-right: (@alert-padding + 20);\n\n // Adjust close link position\n .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n }\n}\n\n// Alternate styles\n//\n// Generate contextual modifier classes for colorizing the alert.\n\n.alert-success {\n .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);\n}\n.alert-info {\n .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);\n}\n.alert-warning {\n .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);\n}\n.alert-danger {\n .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);\n}\n","//\n// Progress bars\n// --------------------------------------------------\n\n\n// Bar animations\n// -------------------------\n\n// WebKit\n@-webkit-keyframes progress-bar-stripes {\n from { background-position: 40px 0; }\n to { background-position: 0 0; }\n}\n\n// Spec and IE10+\n@keyframes progress-bar-stripes {\n from { background-position: 40px 0; }\n to { background-position: 0 0; }\n}\n\n\n\n// Bar itself\n// -------------------------\n\n// Outer container\n.progress {\n overflow: hidden;\n height: @line-height-computed;\n margin-bottom: @line-height-computed;\n background-color: @progress-bg;\n border-radius: @border-radius-base;\n .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));\n}\n\n// Bar of progress\n.progress-bar {\n float: left;\n width: 0%;\n height: 100%;\n font-size: @font-size-small;\n line-height: @line-height-computed;\n color: @progress-bar-color;\n text-align: center;\n background-color: @progress-bar-bg;\n .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));\n .transition(width .6s ease);\n}\n\n// Striped bars\n.progress-striped .progress-bar {\n #gradient > .striped();\n background-size: 40px 40px;\n}\n\n// Call animation for the active one\n.progress.active .progress-bar {\n .animation(progress-bar-stripes 2s linear infinite);\n}\n\n\n\n// Variations\n// -------------------------\n\n.progress-bar-success {\n .progress-bar-variant(@progress-bar-success-bg);\n}\n\n.progress-bar-info {\n .progress-bar-variant(@progress-bar-info-bg);\n}\n\n.progress-bar-warning {\n .progress-bar-variant(@progress-bar-warning-bg);\n}\n\n.progress-bar-danger {\n .progress-bar-variant(@progress-bar-danger-bg);\n}\n","// Media objects\n// Source: http://stubbornella.org/content/?p=497\n// --------------------------------------------------\n\n\n// Common styles\n// -------------------------\n\n// Clear the floats\n.media,\n.media-body {\n overflow: hidden;\n zoom: 1;\n}\n\n// Proper spacing between instances of .media\n.media,\n.media .media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n\n// For images and videos, set to block\n.media-object {\n display: block;\n}\n\n// Reset margins on headings for tighter default spacing\n.media-heading {\n margin: 0 0 5px;\n}\n\n\n// Media image alignment\n// -------------------------\n\n.media {\n > .pull-left {\n margin-right: 10px;\n }\n > .pull-right {\n margin-left: 10px;\n }\n}\n\n\n// Media list variation\n// -------------------------\n\n// Undo default ul/ol styles\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n","//\n// List groups\n// --------------------------------------------------\n\n\n// Base class\n//\n// Easily usable on , , or .\n\n.list-group {\n // No need to set list-style: none; since .list-group-item is block level\n margin-bottom: 20px;\n padding-left: 0; // reset padding because ul and ol\n}\n\n\n// Individual list items\n//\n// Use on `li`s or `div`s within the `.list-group` parent.\n\n.list-group-item {\n position: relative;\n display: block;\n padding: 10px 15px;\n // Place the border on the list items and negative margin up for better styling\n margin-bottom: -1px;\n background-color: @list-group-bg;\n border: 1px solid @list-group-border;\n\n // Round the first and last items\n &:first-child {\n .border-top-radius(@list-group-border-radius);\n }\n &:last-child {\n margin-bottom: 0;\n .border-bottom-radius(@list-group-border-radius);\n }\n\n // Align badges within list items\n > .badge {\n float: right;\n }\n > .badge + .badge {\n margin-right: 5px;\n }\n}\n\n\n// Linked list items\n//\n// Use anchor elements instead of `li`s or `div`s to create linked list items.\n// Includes an extra `.active` modifier class for showing selected items.\n\na.list-group-item {\n color: @list-group-link-color;\n\n .list-group-item-heading {\n color: @list-group-link-heading-color;\n }\n\n // Hover state\n &:hover,\n &:focus {\n text-decoration: none;\n background-color: @list-group-hover-bg;\n }\n\n // Active class on item itself, not parent\n &.active,\n &.active:hover,\n &.active:focus {\n z-index: 2; // Place active items above their siblings for proper border styling\n color: @list-group-active-color;\n background-color: @list-group-active-bg;\n border-color: @list-group-active-border;\n\n // Force color to inherit for custom content\n .list-group-item-heading {\n color: inherit;\n }\n .list-group-item-text {\n color: @list-group-active-text-color;\n }\n }\n}\n\n\n// Contextual variants\n//\n// Add modifier classes to change text and background color on individual items.\n// Organizationally, this must come after the `:hover` states.\n\n.list-group-item-variant(success; @state-success-bg; @state-success-text);\n.list-group-item-variant(info; @state-info-bg; @state-info-text);\n.list-group-item-variant(warning; @state-warning-bg; @state-warning-text);\n.list-group-item-variant(danger; @state-danger-bg; @state-danger-text);\n\n\n// Custom content options\n//\n// Extra classes for creating well-formatted content within `.list-group-item`s.\n\n.list-group-item-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.list-group-item-text {\n margin-bottom: 0;\n line-height: 1.3;\n}\n","//\n// Panels\n// --------------------------------------------------\n\n\n// Base class\n.panel {\n margin-bottom: @line-height-computed;\n background-color: @panel-bg;\n border: 1px solid transparent;\n border-radius: @panel-border-radius;\n .box-shadow(0 1px 1px rgba(0,0,0,.05));\n}\n\n// Panel contents\n.panel-body {\n padding: @panel-body-padding;\n &:extend(.clearfix all);\n}\n\n// Optional heading\n.panel-heading {\n padding: 10px 15px;\n border-bottom: 1px solid transparent;\n .border-top-radius((@panel-border-radius - 1));\n\n > .dropdown .dropdown-toggle {\n color: inherit;\n }\n}\n\n// Within heading, strip any `h*` tag of its default margins for spacing.\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: ceil((@font-size-base * 1.125));\n color: inherit;\n\n > a {\n color: inherit;\n }\n}\n\n// Optional footer (stays gray in every modifier class)\n.panel-footer {\n padding: 10px 15px;\n background-color: @panel-footer-bg;\n border-top: 1px solid @panel-inner-border;\n .border-bottom-radius((@panel-border-radius - 1));\n}\n\n\n// List groups in panels\n//\n// By default, space out list group content from panel headings to account for\n// any kind of custom content between the two.\n\n.panel {\n > .list-group {\n margin-bottom: 0;\n\n .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n }\n\n // Add border top radius for first one\n &:first-child {\n .list-group-item:first-child {\n border-top: 0;\n .border-top-radius((@panel-border-radius - 1));\n }\n }\n // Add border bottom radius for last one\n &:last-child {\n .list-group-item:last-child {\n border-bottom: 0;\n .border-bottom-radius((@panel-border-radius - 1));\n }\n }\n }\n}\n// Collapse space between when there's no additional content.\n.panel-heading + .list-group {\n .list-group-item:first-child {\n border-top-width: 0;\n }\n}\n\n\n// Tables in panels\n//\n// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and\n// watch it go full width.\n\n.panel {\n > .table,\n > .table-responsive > .table {\n margin-bottom: 0;\n }\n // Add border top radius for first one\n > .table:first-child,\n > .table-responsive:first-child > .table:first-child {\n .border-top-radius((@panel-border-radius - 1));\n\n > thead:first-child,\n > tbody:first-child {\n > tr:first-child {\n td:first-child,\n th:first-child {\n border-top-left-radius: (@panel-border-radius - 1);\n }\n td:last-child,\n th:last-child {\n border-top-right-radius: (@panel-border-radius - 1);\n }\n }\n }\n }\n // Add border bottom radius for last one\n > .table:last-child,\n > .table-responsive:last-child > .table:last-child {\n .border-bottom-radius((@panel-border-radius - 1));\n\n > tbody:last-child,\n > tfoot:last-child {\n > tr:last-child {\n td:first-child,\n th:first-child {\n border-bottom-left-radius: (@panel-border-radius - 1);\n }\n td:last-child,\n th:last-child {\n border-bottom-right-radius: (@panel-border-radius - 1);\n }\n }\n }\n }\n > .panel-body + .table,\n > .panel-body + .table-responsive {\n border-top: 1px solid @table-border-color;\n }\n > .table > tbody:first-child > tr:first-child th,\n > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n }\n > .table-bordered,\n > .table-responsive > .table-bordered {\n border: 0;\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th:first-child,\n > td:first-child {\n border-left: 0;\n }\n > th:last-child,\n > td:last-child {\n border-right: 0;\n }\n }\n }\n > thead,\n > tbody {\n > tr:first-child {\n > td,\n > th {\n border-bottom: 0;\n }\n }\n }\n > tbody,\n > tfoot {\n > tr:last-child {\n > td,\n > th {\n border-bottom: 0;\n }\n }\n }\n }\n > .table-responsive {\n border: 0;\n margin-bottom: 0;\n }\n}\n\n\n// Collapsable panels (aka, accordion)\n//\n// Wrap a series of panels in `.panel-group` to turn them into an accordion with\n// the help of our collapse JavaScript plugin.\n\n.panel-group {\n margin-bottom: @line-height-computed;\n\n // Tighten up margin so it's only between panels\n .panel {\n margin-bottom: 0;\n border-radius: @panel-border-radius;\n overflow: hidden; // crop contents when collapsed\n + .panel {\n margin-top: 5px;\n }\n }\n\n .panel-heading {\n border-bottom: 0;\n + .panel-collapse .panel-body {\n border-top: 1px solid @panel-inner-border;\n }\n }\n .panel-footer {\n border-top: 0;\n + .panel-collapse .panel-body {\n border-bottom: 1px solid @panel-inner-border;\n }\n }\n}\n\n\n// Contextual variations\n.panel-default {\n .panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);\n}\n.panel-primary {\n .panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);\n}\n.panel-success {\n .panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);\n}\n.panel-info {\n .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);\n}\n.panel-warning {\n .panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);\n}\n.panel-danger {\n .panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);\n}\n","//\n// Wells\n// --------------------------------------------------\n\n\n// Base class\n.well {\n min-height: 20px;\n padding: 19px;\n margin-bottom: 20px;\n background-color: @well-bg;\n border: 1px solid @well-border;\n border-radius: @border-radius-base;\n .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));\n blockquote {\n border-color: #ddd;\n border-color: rgba(0,0,0,.15);\n }\n}\n\n// Sizes\n.well-lg {\n padding: 24px;\n border-radius: @border-radius-large;\n}\n.well-sm {\n padding: 9px;\n border-radius: @border-radius-small;\n}\n","//\n// Close icons\n// --------------------------------------------------\n\n\n.close {\n float: right;\n font-size: (@font-size-base * 1.5);\n font-weight: @close-font-weight;\n line-height: 1;\n color: @close-color;\n text-shadow: @close-text-shadow;\n .opacity(.2);\n\n &:hover,\n &:focus {\n color: @close-color;\n text-decoration: none;\n cursor: pointer;\n .opacity(.5);\n }\n\n // Additional properties for button version\n // iOS requires the button element instead of an anchor tag.\n // If you want the anchor version, it requires `href=\"#\"`.\n button& {\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n -webkit-appearance: none;\n }\n}\n","//\n// Modals\n// --------------------------------------------------\n\n// .modal-open - body class for killing the scroll\n// .modal - container to scroll within\n// .modal-dialog - positioning shell for the actual modal\n// .modal-content - actual modal w/ bg and corners and shit\n\n// Kill the scroll on the body\n.modal-open {\n overflow: hidden;\n}\n\n// Container that the modal scrolls within\n.modal {\n display: none;\n overflow: auto;\n overflow-y: scroll;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: @zindex-modal;\n -webkit-overflow-scrolling: touch;\n\n // Prevent Chrome on Windows from adding a focus outline. For details, see\n // https://github.com/twbs/bootstrap/pull/10951.\n outline: 0;\n\n // When fading in the modal, animate it to slide down\n &.fade .modal-dialog {\n .translate(0, -25%);\n .transition-transform(~\"0.3s ease-out\");\n }\n &.in .modal-dialog { .translate(0, 0)}\n}\n\n// Shell div to position the modal with bottom padding\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n\n// Actual modal\n.modal-content {\n position: relative;\n background-color: @modal-content-bg;\n border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)\n border: 1px solid @modal-content-border-color;\n border-radius: @border-radius-large;\n .box-shadow(0 3px 9px rgba(0,0,0,.5));\n background-clip: padding-box;\n // Remove focus outline from opened modal\n outline: none;\n}\n\n// Modal background\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: @zindex-modal-background;\n background-color: @modal-backdrop-bg;\n // Fade for backdrop\n &.fade { .opacity(0); }\n &.in { .opacity(@modal-backdrop-opacity); }\n}\n\n// Modal header\n// Top section of the modal w/ title and dismiss\n.modal-header {\n padding: @modal-title-padding;\n border-bottom: 1px solid @modal-header-border-color;\n min-height: (@modal-title-padding + @modal-title-line-height);\n}\n// Close icon\n.modal-header .close {\n margin-top: -2px;\n}\n\n// Title text within header\n.modal-title {\n margin: 0;\n line-height: @modal-title-line-height;\n}\n\n// Modal body\n// Where all modal content resides (sibling of .modal-header and .modal-footer)\n.modal-body {\n position: relative;\n padding: @modal-inner-padding;\n}\n\n// Footer (for actions)\n.modal-footer {\n margin-top: 15px;\n padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;\n text-align: right; // right align buttons\n border-top: 1px solid @modal-footer-border-color;\n &:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons\n\n // Properly space out buttons\n .btn + .btn {\n margin-left: 5px;\n margin-bottom: 0; // account for input[type=\"submit\"] which gets the bottom margin like all other inputs\n }\n // but override that for button groups\n .btn-group .btn + .btn {\n margin-left: -1px;\n }\n // and override it for block buttons as well\n .btn-block + .btn-block {\n margin-left: 0;\n }\n}\n\n// Scale up the modal\n@media (min-width: @screen-sm-min) {\n // Automatically set modal's width for larger viewports\n .modal-dialog {\n width: @modal-md;\n margin: 30px auto;\n }\n .modal-content {\n .box-shadow(0 5px 15px rgba(0,0,0,.5));\n }\n\n // Modal sizes\n .modal-sm { width: @modal-sm; }\n}\n\n@media (min-width: @screen-md-min) {\n .modal-lg { width: @modal-lg; }\n}\n","//\n// Tooltips\n// --------------------------------------------------\n\n\n// Base class\n.tooltip {\n position: absolute;\n z-index: @zindex-tooltip;\n display: block;\n visibility: visible;\n font-size: @font-size-small;\n line-height: 1.4;\n .opacity(0);\n\n &.in { .opacity(@tooltip-opacity); }\n &.top { margin-top: -3px; padding: @tooltip-arrow-width 0; }\n &.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }\n &.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; }\n &.left { margin-left: -3px; padding: 0 @tooltip-arrow-width; }\n}\n\n// Wrapper for the tooltip content\n.tooltip-inner {\n max-width: @tooltip-max-width;\n padding: 3px 8px;\n color: @tooltip-color;\n text-align: center;\n text-decoration: none;\n background-color: @tooltip-bg;\n border-radius: @border-radius-base;\n}\n\n// Arrows\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip {\n &.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -@tooltip-arrow-width;\n border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\n border-top-color: @tooltip-arrow-color;\n }\n &.top-left .tooltip-arrow {\n bottom: 0;\n left: @tooltip-arrow-width;\n border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\n border-top-color: @tooltip-arrow-color;\n }\n &.top-right .tooltip-arrow {\n bottom: 0;\n right: @tooltip-arrow-width;\n border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\n border-top-color: @tooltip-arrow-color;\n }\n &.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -@tooltip-arrow-width;\n border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;\n border-right-color: @tooltip-arrow-color;\n }\n &.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -@tooltip-arrow-width;\n border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;\n border-left-color: @tooltip-arrow-color;\n }\n &.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -@tooltip-arrow-width;\n border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\n border-bottom-color: @tooltip-arrow-color;\n }\n &.bottom-left .tooltip-arrow {\n top: 0;\n left: @tooltip-arrow-width;\n border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\n border-bottom-color: @tooltip-arrow-color;\n }\n &.bottom-right .tooltip-arrow {\n top: 0;\n right: @tooltip-arrow-width;\n border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\n border-bottom-color: @tooltip-arrow-color;\n }\n}\n","//\n// Popovers\n// --------------------------------------------------\n\n\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: @zindex-popover;\n display: none;\n max-width: @popover-max-width;\n padding: 1px;\n text-align: left; // Reset given new insertion method\n background-color: @popover-bg;\n background-clip: padding-box;\n border: 1px solid @popover-fallback-border-color;\n border: 1px solid @popover-border-color;\n border-radius: @border-radius-large;\n .box-shadow(0 5px 10px rgba(0,0,0,.2));\n\n // Overrides for proper insertion\n white-space: normal;\n\n // Offset the popover to account for the popover arrow\n &.top { margin-top: -@popover-arrow-width; }\n &.right { margin-left: @popover-arrow-width; }\n &.bottom { margin-top: @popover-arrow-width; }\n &.left { margin-left: -@popover-arrow-width; }\n}\n\n.popover-title {\n margin: 0; // reset heading margin\n padding: 8px 14px;\n font-size: @font-size-base;\n font-weight: normal;\n line-height: 18px;\n background-color: @popover-title-bg;\n border-bottom: 1px solid darken(@popover-title-bg, 5%);\n border-radius: 5px 5px 0 0;\n}\n\n.popover-content {\n padding: 9px 14px;\n}\n\n// Arrows\n//\n// .arrow is outer, .arrow:after is inner\n\n.popover > .arrow {\n &,\n &:after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n}\n.popover > .arrow {\n border-width: @popover-arrow-outer-width;\n}\n.popover > .arrow:after {\n border-width: @popover-arrow-width;\n content: \"\";\n}\n\n.popover {\n &.top > .arrow {\n left: 50%;\n margin-left: -@popover-arrow-outer-width;\n border-bottom-width: 0;\n border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n border-top-color: @popover-arrow-outer-color;\n bottom: -@popover-arrow-outer-width;\n &:after {\n content: \" \";\n bottom: 1px;\n margin-left: -@popover-arrow-width;\n border-bottom-width: 0;\n border-top-color: @popover-arrow-color;\n }\n }\n &.right > .arrow {\n top: 50%;\n left: -@popover-arrow-outer-width;\n margin-top: -@popover-arrow-outer-width;\n border-left-width: 0;\n border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n border-right-color: @popover-arrow-outer-color;\n &:after {\n content: \" \";\n left: 1px;\n bottom: -@popover-arrow-width;\n border-left-width: 0;\n border-right-color: @popover-arrow-color;\n }\n }\n &.bottom > .arrow {\n left: 50%;\n margin-left: -@popover-arrow-outer-width;\n border-top-width: 0;\n border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n border-bottom-color: @popover-arrow-outer-color;\n top: -@popover-arrow-outer-width;\n &:after {\n content: \" \";\n top: 1px;\n margin-left: -@popover-arrow-width;\n border-top-width: 0;\n border-bottom-color: @popover-arrow-color;\n }\n }\n\n &.left > .arrow {\n top: 50%;\n right: -@popover-arrow-outer-width;\n margin-top: -@popover-arrow-outer-width;\n border-right-width: 0;\n border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n border-left-color: @popover-arrow-outer-color;\n &:after {\n content: \" \";\n right: 1px;\n border-right-width: 0;\n border-left-color: @popover-arrow-color;\n bottom: -@popover-arrow-width;\n }\n }\n\n}\n","//\n// Responsive: Utility classes\n// --------------------------------------------------\n\n\n// IE10 in Windows (Phone) 8\n//\n// Support for responsive views via media queries is kind of borked in IE10, for\n// Surface/desktop in split view and for Windows Phone 8. This particular fix\n// must be accompanied by a snippet of JavaScript to sniff the user agent and\n// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at\n// our Getting Started page for more information on this bug.\n//\n// For more information, see the following:\n//\n// Issue: https://github.com/twbs/bootstrap/issues/10497\n// Docs: http://getbootstrap.com/getting-started/#browsers\n// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/\n\n@-ms-viewport {\n width: device-width;\n}\n\n\n// Visibility utilities\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n .responsive-invisibility();\n}\n\n.visible-xs {\n @media (max-width: @screen-xs-max) {\n .responsive-visibility();\n }\n}\n.visible-sm {\n @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n .responsive-visibility();\n }\n}\n.visible-md {\n @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n .responsive-visibility();\n }\n}\n.visible-lg {\n @media (min-width: @screen-lg-min) {\n .responsive-visibility();\n }\n}\n\n.hidden-xs {\n @media (max-width: @screen-xs-max) {\n .responsive-invisibility();\n }\n}\n.hidden-sm {\n @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n .responsive-invisibility();\n }\n}\n.hidden-md {\n @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n .responsive-invisibility();\n }\n}\n.hidden-lg {\n @media (min-width: @screen-lg-min) {\n .responsive-invisibility();\n }\n}\n\n\n// Print utilities\n//\n// Media queries are placed on the inside to be mixin-friendly.\n\n.visible-print {\n .responsive-invisibility();\n\n @media print {\n .responsive-visibility();\n }\n}\n\n.hidden-print {\n @media print {\n .responsive-invisibility();\n }\n}\n"]}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/components/bootstrap-3.1.1/css/bootstrap.min.css b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/css/bootstrap.min.css
new file mode 100644
index 0000000000..679272d258
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/css/bootstrap.min.css
@@ -0,0 +1,7 @@
+/*!
+ * Bootstrap v3.1.1 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+/*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}@media print{*{text-shadow:none!important;color:#000!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:before,:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:400;line-height:1;color:#999}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-muted{color:#999}.text-primary{color:#428bca}a.text-primary:hover{color:#3071a9}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#428bca}a.bg-primary:hover{background-color:#3071a9}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#999}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;white-space:nowrap;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=radio],input[type=checkbox]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=radio]:focus,input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}input[type=date]{line-height:34px}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;margin-top:10px;margin-bottom:10px;padding-left:20px}.radio label,.checkbox label{display:inline;font-weight:400;cursor:pointer}.radio input[type=radio],.radio-inline input[type=radio],.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type=radio][disabled],input[type=checkbox][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type=radio],fieldset[disabled] input[type=checkbox],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg,select[multiple].input-lg{height:auto}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.has-feedback .form-control-feedback{position:absolute;top:25px;right:0;display:block;width:34px;height:34px;line-height:34px;text-align:center}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.form-inline .radio input[type=radio],.form-inline .checkbox input[type=checkbox]{float:none;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.form-horizontal .has-feedback .form-control-feedback{top:0;right:15px}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#428bca;font-weight:400;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#262626;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#428bca}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#999}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=radio],[data-toggle=buttons]>.btn>input[type=checkbox]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=radio],.input-group-addon input[type=checkbox]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px;height:50px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin-top:8px;margin-bottom:8px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.navbar-form .radio input[type=radio],.navbar-form .checkbox input[type=checkbox]{float:none;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#e7e7e7;color:#555}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#080808;color:#fff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#ccc}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.42857143;text-decoration:none;color:#428bca;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{color:#2a6496;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:gray}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;color:#fff;line-height:1;vertical-align:baseline;white-space:nowrap;text-align:center;background-color:#999;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-left:60px;padding-right:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px;overflow:hidden}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:auto;overflow-y:scroll;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.42857143px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:20px}.modal-footer{margin-top:15px;padding:19px 20px 20px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1030;display:block;visibility:visible;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;right:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);white-space:normal}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:.5;filter:alpha(opacity=50);font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:0;color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #fff;border-radius:10px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0)}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}}@media print{.hidden-print{display:none!important}}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.eot b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.eot
new file mode 100644
index 0000000000..4a4ca865d6
Binary files /dev/null and b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.eot differ
diff --git a/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.svg b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.svg
new file mode 100644
index 0000000000..e3e2dc739d
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.svg
@@ -0,0 +1,229 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.ttf b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.ttf
new file mode 100644
index 0000000000..67fa00bf83
Binary files /dev/null and b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.ttf differ
diff --git a/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.woff b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.woff
new file mode 100644
index 0000000000..8c54182aa5
Binary files /dev/null and b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.woff differ
diff --git a/1.3.0-rc.2/docs/components/bootstrap-3.1.1/js/bootstrap.js b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/js/bootstrap.js
new file mode 100644
index 0000000000..8ae571b6da
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/js/bootstrap.js
@@ -0,0 +1,1951 @@
+/*!
+ * Bootstrap v3.1.1 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') }
+
+/* ========================================================================
+ * Bootstrap: transition.js v3.1.1
+ * http://getbootstrap.com/javascript/#transitions
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
+ // ============================================================
+
+ function transitionEnd() {
+ var el = document.createElement('bootstrap')
+
+ var transEndEventNames = {
+ 'WebkitTransition' : 'webkitTransitionEnd',
+ 'MozTransition' : 'transitionend',
+ 'OTransition' : 'oTransitionEnd otransitionend',
+ 'transition' : 'transitionend'
+ }
+
+ for (var name in transEndEventNames) {
+ if (el.style[name] !== undefined) {
+ return { end: transEndEventNames[name] }
+ }
+ }
+
+ return false // explicit for ie8 ( ._.)
+ }
+
+ // http://blog.alexmaccaw.com/css-transitions
+ $.fn.emulateTransitionEnd = function (duration) {
+ var called = false, $el = this
+ $(this).one($.support.transition.end, function () { called = true })
+ var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
+ setTimeout(callback, duration)
+ return this
+ }
+
+ $(function () {
+ $.support.transition = transitionEnd()
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: alert.js v3.1.1
+ * http://getbootstrap.com/javascript/#alerts
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // ALERT CLASS DEFINITION
+ // ======================
+
+ var dismiss = '[data-dismiss="alert"]'
+ var Alert = function (el) {
+ $(el).on('click', dismiss, this.close)
+ }
+
+ Alert.prototype.close = function (e) {
+ var $this = $(this)
+ var selector = $this.attr('data-target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
+ }
+
+ var $parent = $(selector)
+
+ if (e) e.preventDefault()
+
+ if (!$parent.length) {
+ $parent = $this.hasClass('alert') ? $this : $this.parent()
+ }
+
+ $parent.trigger(e = $.Event('close.bs.alert'))
+
+ if (e.isDefaultPrevented()) return
+
+ $parent.removeClass('in')
+
+ function removeElement() {
+ $parent.trigger('closed.bs.alert').remove()
+ }
+
+ $.support.transition && $parent.hasClass('fade') ?
+ $parent
+ .one($.support.transition.end, removeElement)
+ .emulateTransitionEnd(150) :
+ removeElement()
+ }
+
+
+ // ALERT PLUGIN DEFINITION
+ // =======================
+
+ var old = $.fn.alert
+
+ $.fn.alert = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.alert')
+
+ if (!data) $this.data('bs.alert', (data = new Alert(this)))
+ if (typeof option == 'string') data[option].call($this)
+ })
+ }
+
+ $.fn.alert.Constructor = Alert
+
+
+ // ALERT NO CONFLICT
+ // =================
+
+ $.fn.alert.noConflict = function () {
+ $.fn.alert = old
+ return this
+ }
+
+
+ // ALERT DATA-API
+ // ==============
+
+ $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: button.js v3.1.1
+ * http://getbootstrap.com/javascript/#buttons
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // BUTTON PUBLIC CLASS DEFINITION
+ // ==============================
+
+ var Button = function (element, options) {
+ this.$element = $(element)
+ this.options = $.extend({}, Button.DEFAULTS, options)
+ this.isLoading = false
+ }
+
+ Button.DEFAULTS = {
+ loadingText: 'loading...'
+ }
+
+ Button.prototype.setState = function (state) {
+ var d = 'disabled'
+ var $el = this.$element
+ var val = $el.is('input') ? 'val' : 'html'
+ var data = $el.data()
+
+ state = state + 'Text'
+
+ if (!data.resetText) $el.data('resetText', $el[val]())
+
+ $el[val](data[state] || this.options[state])
+
+ // push to event loop to allow forms to submit
+ setTimeout($.proxy(function () {
+ if (state == 'loadingText') {
+ this.isLoading = true
+ $el.addClass(d).attr(d, d)
+ } else if (this.isLoading) {
+ this.isLoading = false
+ $el.removeClass(d).removeAttr(d)
+ }
+ }, this), 0)
+ }
+
+ Button.prototype.toggle = function () {
+ var changed = true
+ var $parent = this.$element.closest('[data-toggle="buttons"]')
+
+ if ($parent.length) {
+ var $input = this.$element.find('input')
+ if ($input.prop('type') == 'radio') {
+ if ($input.prop('checked') && this.$element.hasClass('active')) changed = false
+ else $parent.find('.active').removeClass('active')
+ }
+ if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
+ }
+
+ if (changed) this.$element.toggleClass('active')
+ }
+
+
+ // BUTTON PLUGIN DEFINITION
+ // ========================
+
+ var old = $.fn.button
+
+ $.fn.button = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.button')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.button', (data = new Button(this, options)))
+
+ if (option == 'toggle') data.toggle()
+ else if (option) data.setState(option)
+ })
+ }
+
+ $.fn.button.Constructor = Button
+
+
+ // BUTTON NO CONFLICT
+ // ==================
+
+ $.fn.button.noConflict = function () {
+ $.fn.button = old
+ return this
+ }
+
+
+ // BUTTON DATA-API
+ // ===============
+
+ $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {
+ var $btn = $(e.target)
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
+ $btn.button('toggle')
+ e.preventDefault()
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: carousel.js v3.1.1
+ * http://getbootstrap.com/javascript/#carousel
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // CAROUSEL CLASS DEFINITION
+ // =========================
+
+ var Carousel = function (element, options) {
+ this.$element = $(element)
+ this.$indicators = this.$element.find('.carousel-indicators')
+ this.options = options
+ this.paused =
+ this.sliding =
+ this.interval =
+ this.$active =
+ this.$items = null
+
+ this.options.pause == 'hover' && this.$element
+ .on('mouseenter', $.proxy(this.pause, this))
+ .on('mouseleave', $.proxy(this.cycle, this))
+ }
+
+ Carousel.DEFAULTS = {
+ interval: 5000,
+ pause: 'hover',
+ wrap: true
+ }
+
+ Carousel.prototype.cycle = function (e) {
+ e || (this.paused = false)
+
+ this.interval && clearInterval(this.interval)
+
+ this.options.interval
+ && !this.paused
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
+
+ return this
+ }
+
+ Carousel.prototype.getActiveIndex = function () {
+ this.$active = this.$element.find('.item.active')
+ this.$items = this.$active.parent().children()
+
+ return this.$items.index(this.$active)
+ }
+
+ Carousel.prototype.to = function (pos) {
+ var that = this
+ var activeIndex = this.getActiveIndex()
+
+ if (pos > (this.$items.length - 1) || pos < 0) return
+
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) })
+ if (activeIndex == pos) return this.pause().cycle()
+
+ return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
+ }
+
+ Carousel.prototype.pause = function (e) {
+ e || (this.paused = true)
+
+ if (this.$element.find('.next, .prev').length && $.support.transition) {
+ this.$element.trigger($.support.transition.end)
+ this.cycle(true)
+ }
+
+ this.interval = clearInterval(this.interval)
+
+ return this
+ }
+
+ Carousel.prototype.next = function () {
+ if (this.sliding) return
+ return this.slide('next')
+ }
+
+ Carousel.prototype.prev = function () {
+ if (this.sliding) return
+ return this.slide('prev')
+ }
+
+ Carousel.prototype.slide = function (type, next) {
+ var $active = this.$element.find('.item.active')
+ var $next = next || $active[type]()
+ var isCycling = this.interval
+ var direction = type == 'next' ? 'left' : 'right'
+ var fallback = type == 'next' ? 'first' : 'last'
+ var that = this
+
+ if (!$next.length) {
+ if (!this.options.wrap) return
+ $next = this.$element.find('.item')[fallback]()
+ }
+
+ if ($next.hasClass('active')) return this.sliding = false
+
+ var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })
+ this.$element.trigger(e)
+ if (e.isDefaultPrevented()) return
+
+ this.sliding = true
+
+ isCycling && this.pause()
+
+ if (this.$indicators.length) {
+ this.$indicators.find('.active').removeClass('active')
+ this.$element.one('slid.bs.carousel', function () {
+ var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
+ $nextIndicator && $nextIndicator.addClass('active')
+ })
+ }
+
+ if ($.support.transition && this.$element.hasClass('slide')) {
+ $next.addClass(type)
+ $next[0].offsetWidth // force reflow
+ $active.addClass(direction)
+ $next.addClass(direction)
+ $active
+ .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.bs.carousel') }, 0)
+ })
+ .emulateTransitionEnd($active.css('transition-duration').slice(0, -1) * 1000)
+ } else {
+ $active.removeClass('active')
+ $next.addClass('active')
+ this.sliding = false
+ this.$element.trigger('slid.bs.carousel')
+ }
+
+ isCycling && this.cycle()
+
+ return this
+ }
+
+
+ // CAROUSEL PLUGIN DEFINITION
+ // ==========================
+
+ var old = $.fn.carousel
+
+ $.fn.carousel = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.carousel')
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
+ var action = typeof option == 'string' ? option : options.slide
+
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
+ if (typeof option == 'number') data.to(option)
+ else if (action) data[action]()
+ else if (options.interval) data.pause().cycle()
+ })
+ }
+
+ $.fn.carousel.Constructor = Carousel
+
+
+ // CAROUSEL NO CONFLICT
+ // ====================
+
+ $.fn.carousel.noConflict = function () {
+ $.fn.carousel = old
+ return this
+ }
+
+
+ // CAROUSEL DATA-API
+ // =================
+
+ $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
+ var $this = $(this), href
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
+ var options = $.extend({}, $target.data(), $this.data())
+ var slideIndex = $this.attr('data-slide-to')
+ if (slideIndex) options.interval = false
+
+ $target.carousel(options)
+
+ if (slideIndex = $this.attr('data-slide-to')) {
+ $target.data('bs.carousel').to(slideIndex)
+ }
+
+ e.preventDefault()
+ })
+
+ $(window).on('load', function () {
+ $('[data-ride="carousel"]').each(function () {
+ var $carousel = $(this)
+ $carousel.carousel($carousel.data())
+ })
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: collapse.js v3.1.1
+ * http://getbootstrap.com/javascript/#collapse
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // COLLAPSE PUBLIC CLASS DEFINITION
+ // ================================
+
+ var Collapse = function (element, options) {
+ this.$element = $(element)
+ this.options = $.extend({}, Collapse.DEFAULTS, options)
+ this.transitioning = null
+
+ if (this.options.parent) this.$parent = $(this.options.parent)
+ if (this.options.toggle) this.toggle()
+ }
+
+ Collapse.DEFAULTS = {
+ toggle: true
+ }
+
+ Collapse.prototype.dimension = function () {
+ var hasWidth = this.$element.hasClass('width')
+ return hasWidth ? 'width' : 'height'
+ }
+
+ Collapse.prototype.show = function () {
+ if (this.transitioning || this.$element.hasClass('in')) return
+
+ var startEvent = $.Event('show.bs.collapse')
+ this.$element.trigger(startEvent)
+ if (startEvent.isDefaultPrevented()) return
+
+ var actives = this.$parent && this.$parent.find('> .panel > .in')
+
+ if (actives && actives.length) {
+ var hasData = actives.data('bs.collapse')
+ if (hasData && hasData.transitioning) return
+ actives.collapse('hide')
+ hasData || actives.data('bs.collapse', null)
+ }
+
+ var dimension = this.dimension()
+
+ this.$element
+ .removeClass('collapse')
+ .addClass('collapsing')
+ [dimension](0)
+
+ this.transitioning = 1
+
+ var complete = function () {
+ this.$element
+ .removeClass('collapsing')
+ .addClass('collapse in')
+ [dimension]('auto')
+ this.transitioning = 0
+ this.$element.trigger('shown.bs.collapse')
+ }
+
+ if (!$.support.transition) return complete.call(this)
+
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'))
+
+ this.$element
+ .one($.support.transition.end, $.proxy(complete, this))
+ .emulateTransitionEnd(350)
+ [dimension](this.$element[0][scrollSize])
+ }
+
+ Collapse.prototype.hide = function () {
+ if (this.transitioning || !this.$element.hasClass('in')) return
+
+ var startEvent = $.Event('hide.bs.collapse')
+ this.$element.trigger(startEvent)
+ if (startEvent.isDefaultPrevented()) return
+
+ var dimension = this.dimension()
+
+ this.$element
+ [dimension](this.$element[dimension]())
+ [0].offsetHeight
+
+ this.$element
+ .addClass('collapsing')
+ .removeClass('collapse')
+ .removeClass('in')
+
+ this.transitioning = 1
+
+ var complete = function () {
+ this.transitioning = 0
+ this.$element
+ .trigger('hidden.bs.collapse')
+ .removeClass('collapsing')
+ .addClass('collapse')
+ }
+
+ if (!$.support.transition) return complete.call(this)
+
+ this.$element
+ [dimension](0)
+ .one($.support.transition.end, $.proxy(complete, this))
+ .emulateTransitionEnd(350)
+ }
+
+ Collapse.prototype.toggle = function () {
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
+ }
+
+
+ // COLLAPSE PLUGIN DEFINITION
+ // ==========================
+
+ var old = $.fn.collapse
+
+ $.fn.collapse = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.collapse')
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
+
+ if (!data && options.toggle && option == 'show') option = !option
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.collapse.Constructor = Collapse
+
+
+ // COLLAPSE NO CONFLICT
+ // ====================
+
+ $.fn.collapse.noConflict = function () {
+ $.fn.collapse = old
+ return this
+ }
+
+
+ // COLLAPSE DATA-API
+ // =================
+
+ $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
+ var $this = $(this), href
+ var target = $this.attr('data-target')
+ || e.preventDefault()
+ || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
+ var $target = $(target)
+ var data = $target.data('bs.collapse')
+ var option = data ? 'toggle' : $this.data()
+ var parent = $this.attr('data-parent')
+ var $parent = parent && $(parent)
+
+ if (!data || !data.transitioning) {
+ if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
+ $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
+ }
+
+ $target.collapse(option)
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: dropdown.js v3.1.1
+ * http://getbootstrap.com/javascript/#dropdowns
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // DROPDOWN CLASS DEFINITION
+ // =========================
+
+ var backdrop = '.dropdown-backdrop'
+ var toggle = '[data-toggle=dropdown]'
+ var Dropdown = function (element) {
+ $(element).on('click.bs.dropdown', this.toggle)
+ }
+
+ Dropdown.prototype.toggle = function (e) {
+ var $this = $(this)
+
+ if ($this.is('.disabled, :disabled')) return
+
+ var $parent = getParent($this)
+ var isActive = $parent.hasClass('open')
+
+ clearMenus()
+
+ if (!isActive) {
+ if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
+ // if mobile we use a backdrop because click events don't delegate
+ $('
').insertAfter($(this)).on('click', clearMenus)
+ }
+
+ var relatedTarget = { relatedTarget: this }
+ $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
+
+ if (e.isDefaultPrevented()) return
+
+ $parent
+ .toggleClass('open')
+ .trigger('shown.bs.dropdown', relatedTarget)
+
+ $this.focus()
+ }
+
+ return false
+ }
+
+ Dropdown.prototype.keydown = function (e) {
+ if (!/(38|40|27)/.test(e.keyCode)) return
+
+ var $this = $(this)
+
+ e.preventDefault()
+ e.stopPropagation()
+
+ if ($this.is('.disabled, :disabled')) return
+
+ var $parent = getParent($this)
+ var isActive = $parent.hasClass('open')
+
+ if (!isActive || (isActive && e.keyCode == 27)) {
+ if (e.which == 27) $parent.find(toggle).focus()
+ return $this.click()
+ }
+
+ var desc = ' li:not(.divider):visible a'
+ var $items = $parent.find('[role=menu]' + desc + ', [role=listbox]' + desc)
+
+ if (!$items.length) return
+
+ var index = $items.index($items.filter(':focus'))
+
+ if (e.keyCode == 38 && index > 0) index-- // up
+ if (e.keyCode == 40 && index < $items.length - 1) index++ // down
+ if (!~index) index = 0
+
+ $items.eq(index).focus()
+ }
+
+ function clearMenus(e) {
+ $(backdrop).remove()
+ $(toggle).each(function () {
+ var $parent = getParent($(this))
+ var relatedTarget = { relatedTarget: this }
+ if (!$parent.hasClass('open')) return
+ $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
+ if (e.isDefaultPrevented()) return
+ $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
+ })
+ }
+
+ function getParent($this) {
+ var selector = $this.attr('data-target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
+ }
+
+ var $parent = selector && $(selector)
+
+ return $parent && $parent.length ? $parent : $this.parent()
+ }
+
+
+ // DROPDOWN PLUGIN DEFINITION
+ // ==========================
+
+ var old = $.fn.dropdown
+
+ $.fn.dropdown = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.dropdown')
+
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
+ if (typeof option == 'string') data[option].call($this)
+ })
+ }
+
+ $.fn.dropdown.Constructor = Dropdown
+
+
+ // DROPDOWN NO CONFLICT
+ // ====================
+
+ $.fn.dropdown.noConflict = function () {
+ $.fn.dropdown = old
+ return this
+ }
+
+
+ // APPLY TO STANDARD DROPDOWN ELEMENTS
+ // ===================================
+
+ $(document)
+ .on('click.bs.dropdown.data-api', clearMenus)
+ .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
+ .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
+ .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu], [role=listbox]', Dropdown.prototype.keydown)
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: modal.js v3.1.1
+ * http://getbootstrap.com/javascript/#modals
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // MODAL CLASS DEFINITION
+ // ======================
+
+ var Modal = function (element, options) {
+ this.options = options
+ this.$element = $(element)
+ this.$backdrop =
+ this.isShown = null
+
+ if (this.options.remote) {
+ this.$element
+ .find('.modal-content')
+ .load(this.options.remote, $.proxy(function () {
+ this.$element.trigger('loaded.bs.modal')
+ }, this))
+ }
+ }
+
+ Modal.DEFAULTS = {
+ backdrop: true,
+ keyboard: true,
+ show: true
+ }
+
+ Modal.prototype.toggle = function (_relatedTarget) {
+ return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
+ }
+
+ Modal.prototype.show = function (_relatedTarget) {
+ var that = this
+ var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
+
+ this.$element.trigger(e)
+
+ if (this.isShown || e.isDefaultPrevented()) return
+
+ this.isShown = true
+
+ this.escape()
+
+ this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
+
+ this.backdrop(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()
+ .scrollTop(0)
+
+ if (transition) {
+ that.$element[0].offsetWidth // force reflow
+ }
+
+ that.$element
+ .addClass('in')
+ .attr('aria-hidden', false)
+
+ that.enforceFocus()
+
+ var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
+
+ transition ?
+ that.$element.find('.modal-dialog') // wait for modal to slide in
+ .one($.support.transition.end, function () {
+ that.$element.focus().trigger(e)
+ })
+ .emulateTransitionEnd(300) :
+ that.$element.focus().trigger(e)
+ })
+ }
+
+ Modal.prototype.hide = function (e) {
+ if (e) e.preventDefault()
+
+ e = $.Event('hide.bs.modal')
+
+ this.$element.trigger(e)
+
+ if (!this.isShown || e.isDefaultPrevented()) return
+
+ this.isShown = false
+
+ this.escape()
+
+ $(document).off('focusin.bs.modal')
+
+ this.$element
+ .removeClass('in')
+ .attr('aria-hidden', true)
+ .off('click.dismiss.bs.modal')
+
+ $.support.transition && this.$element.hasClass('fade') ?
+ this.$element
+ .one($.support.transition.end, $.proxy(this.hideModal, this))
+ .emulateTransitionEnd(300) :
+ this.hideModal()
+ }
+
+ Modal.prototype.enforceFocus = function () {
+ $(document)
+ .off('focusin.bs.modal') // guard against infinite focus loop
+ .on('focusin.bs.modal', $.proxy(function (e) {
+ if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
+ this.$element.focus()
+ }
+ }, this))
+ }
+
+ Modal.prototype.escape = function () {
+ if (this.isShown && this.options.keyboard) {
+ this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
+ e.which == 27 && this.hide()
+ }, this))
+ } else if (!this.isShown) {
+ this.$element.off('keyup.dismiss.bs.modal')
+ }
+ }
+
+ Modal.prototype.hideModal = function () {
+ var that = this
+ this.$element.hide()
+ this.backdrop(function () {
+ that.removeBackdrop()
+ that.$element.trigger('hidden.bs.modal')
+ })
+ }
+
+ Modal.prototype.removeBackdrop = function () {
+ this.$backdrop && this.$backdrop.remove()
+ this.$backdrop = null
+ }
+
+ Modal.prototype.backdrop = function (callback) {
+ var animate = this.$element.hasClass('fade') ? 'fade' : ''
+
+ if (this.isShown && this.options.backdrop) {
+ var doAnimate = $.support.transition && animate
+
+ this.$backdrop = $('
')
+ .appendTo(document.body)
+
+ this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
+ if (e.target !== e.currentTarget) return
+ this.options.backdrop == 'static'
+ ? this.$element[0].focus.call(this.$element[0])
+ : this.hide.call(this)
+ }, this))
+
+ if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
+
+ this.$backdrop.addClass('in')
+
+ if (!callback) return
+
+ doAnimate ?
+ this.$backdrop
+ .one($.support.transition.end, callback)
+ .emulateTransitionEnd(150) :
+ callback()
+
+ } else if (!this.isShown && this.$backdrop) {
+ this.$backdrop.removeClass('in')
+
+ $.support.transition && this.$element.hasClass('fade') ?
+ this.$backdrop
+ .one($.support.transition.end, callback)
+ .emulateTransitionEnd(150) :
+ callback()
+
+ } else if (callback) {
+ callback()
+ }
+ }
+
+
+ // MODAL PLUGIN DEFINITION
+ // =======================
+
+ var old = $.fn.modal
+
+ $.fn.modal = function (option, _relatedTarget) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.modal')
+ var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
+
+ if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
+ if (typeof option == 'string') data[option](_relatedTarget)
+ else if (options.show) data.show(_relatedTarget)
+ })
+ }
+
+ $.fn.modal.Constructor = Modal
+
+
+ // MODAL NO CONFLICT
+ // =================
+
+ $.fn.modal.noConflict = function () {
+ $.fn.modal = old
+ return this
+ }
+
+
+ // MODAL DATA-API
+ // ==============
+
+ $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
+ var $this = $(this)
+ var href = $this.attr('href')
+ var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
+ var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
+
+ if ($this.is('a')) e.preventDefault()
+
+ $target
+ .modal(option, this)
+ .one('hide', function () {
+ $this.is(':visible') && $this.focus()
+ })
+ })
+
+ $(document)
+ .on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
+ .on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: tooltip.js v3.1.1
+ * http://getbootstrap.com/javascript/#tooltip
+ * Inspired by the original jQuery.tipsy by Jason Frame
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // TOOLTIP PUBLIC CLASS DEFINITION
+ // ===============================
+
+ var Tooltip = function (element, options) {
+ this.type =
+ this.options =
+ this.enabled =
+ this.timeout =
+ this.hoverState =
+ this.$element = null
+
+ this.init('tooltip', element, options)
+ }
+
+ Tooltip.DEFAULTS = {
+ animation: true,
+ placement: 'top',
+ selector: false,
+ template: '
',
+ trigger: 'hover focus',
+ title: '',
+ delay: 0,
+ html: false,
+ container: false
+ }
+
+ Tooltip.prototype.init = function (type, element, options) {
+ this.enabled = true
+ this.type = type
+ this.$element = $(element)
+ this.options = this.getOptions(options)
+
+ var triggers = this.options.trigger.split(' ')
+
+ for (var i = triggers.length; i--;) {
+ var trigger = triggers[i]
+
+ if (trigger == 'click') {
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
+ } else if (trigger != 'manual') {
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
+
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
+ }
+ }
+
+ this.options.selector ?
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
+ this.fixTitle()
+ }
+
+ Tooltip.prototype.getDefaults = function () {
+ return Tooltip.DEFAULTS
+ }
+
+ Tooltip.prototype.getOptions = function (options) {
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options)
+
+ if (options.delay && typeof options.delay == 'number') {
+ options.delay = {
+ show: options.delay,
+ hide: options.delay
+ }
+ }
+
+ return options
+ }
+
+ Tooltip.prototype.getDelegateOptions = function () {
+ var options = {}
+ var defaults = this.getDefaults()
+
+ this._options && $.each(this._options, function (key, value) {
+ if (defaults[key] != value) options[key] = value
+ })
+
+ return options
+ }
+
+ Tooltip.prototype.enter = function (obj) {
+ var self = obj instanceof this.constructor ?
+ obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
+
+ clearTimeout(self.timeout)
+
+ self.hoverState = 'in'
+
+ if (!self.options.delay || !self.options.delay.show) return self.show()
+
+ self.timeout = setTimeout(function () {
+ if (self.hoverState == 'in') self.show()
+ }, self.options.delay.show)
+ }
+
+ Tooltip.prototype.leave = function (obj) {
+ var self = obj instanceof this.constructor ?
+ obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
+
+ clearTimeout(self.timeout)
+
+ self.hoverState = 'out'
+
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
+
+ self.timeout = setTimeout(function () {
+ if (self.hoverState == 'out') self.hide()
+ }, self.options.delay.hide)
+ }
+
+ Tooltip.prototype.show = function () {
+ var e = $.Event('show.bs.' + this.type)
+
+ if (this.hasContent() && this.enabled) {
+ this.$element.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+ var that = this;
+
+ var $tip = this.tip()
+
+ this.setContent()
+
+ if (this.options.animation) $tip.addClass('fade')
+
+ var placement = typeof this.options.placement == 'function' ?
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
+ this.options.placement
+
+ var autoToken = /\s?auto?\s?/i
+ var autoPlace = autoToken.test(placement)
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
+
+ $tip
+ .detach()
+ .css({ top: 0, left: 0, display: 'block' })
+ .addClass(placement)
+
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
+
+ var pos = this.getPosition()
+ var actualWidth = $tip[0].offsetWidth
+ var actualHeight = $tip[0].offsetHeight
+
+ if (autoPlace) {
+ var $parent = this.$element.parent()
+
+ var orgPlacement = placement
+ var docScroll = document.documentElement.scrollTop || document.body.scrollTop
+ var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth()
+ var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()
+ var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left
+
+ placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' :
+ placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' :
+ placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' :
+ placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' :
+ placement
+
+ $tip
+ .removeClass(orgPlacement)
+ .addClass(placement)
+ }
+
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
+
+ this.applyPlacement(calculatedOffset, placement)
+ this.hoverState = null
+
+ var complete = function() {
+ that.$element.trigger('shown.bs.' + that.type)
+ }
+
+ $.support.transition && this.$tip.hasClass('fade') ?
+ $tip
+ .one($.support.transition.end, complete)
+ .emulateTransitionEnd(150) :
+ complete()
+ }
+ }
+
+ Tooltip.prototype.applyPlacement = function (offset, placement) {
+ var replace
+ var $tip = this.tip()
+ var width = $tip[0].offsetWidth
+ var height = $tip[0].offsetHeight
+
+ // manually read margins because getBoundingClientRect includes difference
+ var marginTop = parseInt($tip.css('margin-top'), 10)
+ var marginLeft = parseInt($tip.css('margin-left'), 10)
+
+ // we must check for NaN for ie 8/9
+ if (isNaN(marginTop)) marginTop = 0
+ if (isNaN(marginLeft)) marginLeft = 0
+
+ offset.top = offset.top + marginTop
+ offset.left = offset.left + marginLeft
+
+ // $.fn.offset doesn't round pixel values
+ // so we use setOffset directly with our own function B-0
+ $.offset.setOffset($tip[0], $.extend({
+ using: function (props) {
+ $tip.css({
+ top: Math.round(props.top),
+ left: Math.round(props.left)
+ })
+ }
+ }, offset), 0)
+
+ $tip.addClass('in')
+
+ // check to see if placing tip in new offset caused the tip to resize itself
+ var actualWidth = $tip[0].offsetWidth
+ var actualHeight = $tip[0].offsetHeight
+
+ if (placement == 'top' && actualHeight != height) {
+ replace = true
+ offset.top = offset.top + height - actualHeight
+ }
+
+ if (/bottom|top/.test(placement)) {
+ var delta = 0
+
+ if (offset.left < 0) {
+ delta = offset.left * -2
+ offset.left = 0
+
+ $tip.offset(offset)
+
+ actualWidth = $tip[0].offsetWidth
+ actualHeight = $tip[0].offsetHeight
+ }
+
+ this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
+ } else {
+ this.replaceArrow(actualHeight - height, actualHeight, 'top')
+ }
+
+ if (replace) $tip.offset(offset)
+ }
+
+ Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
+ this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + '%') : '')
+ }
+
+ Tooltip.prototype.setContent = function () {
+ var $tip = this.tip()
+ var title = this.getTitle()
+
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
+ $tip.removeClass('fade in top bottom left right')
+ }
+
+ Tooltip.prototype.hide = function () {
+ var that = this
+ var $tip = this.tip()
+ var e = $.Event('hide.bs.' + this.type)
+
+ function complete() {
+ if (that.hoverState != 'in') $tip.detach()
+ that.$element.trigger('hidden.bs.' + that.type)
+ }
+
+ this.$element.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ $tip.removeClass('in')
+
+ $.support.transition && this.$tip.hasClass('fade') ?
+ $tip
+ .one($.support.transition.end, complete)
+ .emulateTransitionEnd(150) :
+ complete()
+
+ this.hoverState = null
+
+ return this
+ }
+
+ Tooltip.prototype.fixTitle = function () {
+ var $e = this.$element
+ if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
+ $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
+ }
+ }
+
+ Tooltip.prototype.hasContent = function () {
+ return this.getTitle()
+ }
+
+ Tooltip.prototype.getPosition = function () {
+ var el = this.$element[0]
+ return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
+ width: el.offsetWidth,
+ height: el.offsetHeight
+ }, this.$element.offset())
+ }
+
+ Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
+ placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
+ }
+
+ Tooltip.prototype.getTitle = function () {
+ var title
+ var $e = this.$element
+ var o = this.options
+
+ title = $e.attr('data-original-title')
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
+
+ return title
+ }
+
+ Tooltip.prototype.tip = function () {
+ return this.$tip = this.$tip || $(this.options.template)
+ }
+
+ Tooltip.prototype.arrow = function () {
+ return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')
+ }
+
+ Tooltip.prototype.validate = function () {
+ if (!this.$element[0].parentNode) {
+ this.hide()
+ this.$element = null
+ this.options = null
+ }
+ }
+
+ Tooltip.prototype.enable = function () {
+ this.enabled = true
+ }
+
+ Tooltip.prototype.disable = function () {
+ this.enabled = false
+ }
+
+ Tooltip.prototype.toggleEnabled = function () {
+ this.enabled = !this.enabled
+ }
+
+ Tooltip.prototype.toggle = function (e) {
+ var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
+ }
+
+ Tooltip.prototype.destroy = function () {
+ clearTimeout(this.timeout)
+ this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
+ }
+
+
+ // TOOLTIP PLUGIN DEFINITION
+ // =========================
+
+ var old = $.fn.tooltip
+
+ $.fn.tooltip = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.tooltip')
+ var options = typeof option == 'object' && option
+
+ if (!data && option == 'destroy') return
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.tooltip.Constructor = Tooltip
+
+
+ // TOOLTIP NO CONFLICT
+ // ===================
+
+ $.fn.tooltip.noConflict = function () {
+ $.fn.tooltip = old
+ return this
+ }
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: popover.js v3.1.1
+ * http://getbootstrap.com/javascript/#popovers
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // POPOVER PUBLIC CLASS DEFINITION
+ // ===============================
+
+ var Popover = function (element, options) {
+ this.init('popover', element, options)
+ }
+
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
+
+ Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
+ placement: 'right',
+ trigger: 'click',
+ content: '',
+ template: '
'
+ })
+
+
+ // NOTE: POPOVER EXTENDS tooltip.js
+ // ================================
+
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
+
+ Popover.prototype.constructor = Popover
+
+ Popover.prototype.getDefaults = function () {
+ return Popover.DEFAULTS
+ }
+
+ Popover.prototype.setContent = function () {
+ var $tip = this.tip()
+ var title = this.getTitle()
+ var content = this.getContent()
+
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
+ $tip.find('.popover-content')[ // we use append for html objects to maintain js events
+ this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
+ ](content)
+
+ $tip.removeClass('fade top bottom left right in')
+
+ // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
+ // this manually by checking the contents.
+ if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
+ }
+
+ Popover.prototype.hasContent = function () {
+ return this.getTitle() || this.getContent()
+ }
+
+ Popover.prototype.getContent = function () {
+ var $e = this.$element
+ var o = this.options
+
+ return $e.attr('data-content')
+ || (typeof o.content == 'function' ?
+ o.content.call($e[0]) :
+ o.content)
+ }
+
+ Popover.prototype.arrow = function () {
+ return this.$arrow = this.$arrow || this.tip().find('.arrow')
+ }
+
+ Popover.prototype.tip = function () {
+ if (!this.$tip) this.$tip = $(this.options.template)
+ return this.$tip
+ }
+
+
+ // POPOVER PLUGIN DEFINITION
+ // =========================
+
+ var old = $.fn.popover
+
+ $.fn.popover = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.popover')
+ var options = typeof option == 'object' && option
+
+ if (!data && option == 'destroy') return
+ if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.popover.Constructor = Popover
+
+
+ // POPOVER NO CONFLICT
+ // ===================
+
+ $.fn.popover.noConflict = function () {
+ $.fn.popover = old
+ return this
+ }
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: scrollspy.js v3.1.1
+ * http://getbootstrap.com/javascript/#scrollspy
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // SCROLLSPY CLASS DEFINITION
+ // ==========================
+
+ function ScrollSpy(element, options) {
+ var href
+ var process = $.proxy(this.process, this)
+
+ this.$element = $(element).is('body') ? $(window) : $(element)
+ this.$body = $('body')
+ this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)
+ this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
+ this.selector = (this.options.target
+ || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
+ || '') + ' .nav li > a'
+ this.offsets = $([])
+ this.targets = $([])
+ this.activeTarget = null
+
+ this.refresh()
+ this.process()
+ }
+
+ ScrollSpy.DEFAULTS = {
+ offset: 10
+ }
+
+ ScrollSpy.prototype.refresh = function () {
+ var offsetMethod = this.$element[0] == window ? 'offset' : 'position'
+
+ this.offsets = $([])
+ this.targets = $([])
+
+ var self = this
+ var $targets = this.$body
+ .find(this.selector)
+ .map(function () {
+ var $el = $(this)
+ var href = $el.data('target') || $el.attr('href')
+ var $href = /^#./.test(href) && $(href)
+
+ return ($href
+ && $href.length
+ && $href.is(':visible')
+ && [[ $href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null
+ })
+ .sort(function (a, b) { return a[0] - b[0] })
+ .each(function () {
+ self.offsets.push(this[0])
+ self.targets.push(this[1])
+ })
+ }
+
+ ScrollSpy.prototype.process = function () {
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
+ var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
+ var maxScroll = scrollHeight - this.$scrollElement.height()
+ var offsets = this.offsets
+ var targets = this.targets
+ var activeTarget = this.activeTarget
+ var i
+
+ if (scrollTop >= maxScroll) {
+ return activeTarget != (i = targets.last()[0]) && this.activate(i)
+ }
+
+ if (activeTarget && scrollTop <= offsets[0]) {
+ return activeTarget != (i = targets[0]) && this.activate(i)
+ }
+
+ for (i = offsets.length; i--;) {
+ activeTarget != targets[i]
+ && scrollTop >= offsets[i]
+ && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
+ && this.activate( targets[i] )
+ }
+ }
+
+ ScrollSpy.prototype.activate = function (target) {
+ this.activeTarget = target
+
+ $(this.selector)
+ .parentsUntil(this.options.target, '.active')
+ .removeClass('active')
+
+ var selector = this.selector +
+ '[data-target="' + target + '"],' +
+ this.selector + '[href="' + target + '"]'
+
+ var active = $(selector)
+ .parents('li')
+ .addClass('active')
+
+ if (active.parent('.dropdown-menu').length) {
+ active = active
+ .closest('li.dropdown')
+ .addClass('active')
+ }
+
+ active.trigger('activate.bs.scrollspy')
+ }
+
+
+ // SCROLLSPY PLUGIN DEFINITION
+ // ===========================
+
+ var old = $.fn.scrollspy
+
+ $.fn.scrollspy = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.scrollspy')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.scrollspy.Constructor = ScrollSpy
+
+
+ // SCROLLSPY NO CONFLICT
+ // =====================
+
+ $.fn.scrollspy.noConflict = function () {
+ $.fn.scrollspy = old
+ return this
+ }
+
+
+ // SCROLLSPY DATA-API
+ // ==================
+
+ $(window).on('load', function () {
+ $('[data-spy="scroll"]').each(function () {
+ var $spy = $(this)
+ $spy.scrollspy($spy.data())
+ })
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: tab.js v3.1.1
+ * http://getbootstrap.com/javascript/#tabs
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // TAB CLASS DEFINITION
+ // ====================
+
+ var Tab = function (element) {
+ this.element = $(element)
+ }
+
+ Tab.prototype.show = function () {
+ var $this = this.element
+ var $ul = $this.closest('ul:not(.dropdown-menu)')
+ var selector = $this.data('target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
+ }
+
+ if ($this.parent('li').hasClass('active')) return
+
+ var previous = $ul.find('.active:last a')[0]
+ var e = $.Event('show.bs.tab', {
+ relatedTarget: previous
+ })
+
+ $this.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ var $target = $(selector)
+
+ this.activate($this.parent('li'), $ul)
+ this.activate($target, $target.parent(), function () {
+ $this.trigger({
+ type: 'shown.bs.tab',
+ relatedTarget: previous
+ })
+ })
+ }
+
+ Tab.prototype.activate = function (element, container, callback) {
+ var $active = container.find('> .active')
+ var transition = callback
+ && $.support.transition
+ && $active.hasClass('fade')
+
+ function next() {
+ $active
+ .removeClass('active')
+ .find('> .dropdown-menu > .active')
+ .removeClass('active')
+
+ element.addClass('active')
+
+ if (transition) {
+ element[0].offsetWidth // reflow for transition
+ element.addClass('in')
+ } else {
+ element.removeClass('fade')
+ }
+
+ if (element.parent('.dropdown-menu')) {
+ element.closest('li.dropdown').addClass('active')
+ }
+
+ callback && callback()
+ }
+
+ transition ?
+ $active
+ .one($.support.transition.end, next)
+ .emulateTransitionEnd(150) :
+ next()
+
+ $active.removeClass('in')
+ }
+
+
+ // TAB PLUGIN DEFINITION
+ // =====================
+
+ var old = $.fn.tab
+
+ $.fn.tab = function ( option ) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.tab')
+
+ if (!data) $this.data('bs.tab', (data = new Tab(this)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.tab.Constructor = Tab
+
+
+ // TAB NO CONFLICT
+ // ===============
+
+ $.fn.tab.noConflict = function () {
+ $.fn.tab = old
+ return this
+ }
+
+
+ // TAB DATA-API
+ // ============
+
+ $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
+ e.preventDefault()
+ $(this).tab('show')
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: affix.js v3.1.1
+ * http://getbootstrap.com/javascript/#affix
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // AFFIX CLASS DEFINITION
+ // ======================
+
+ var Affix = function (element, options) {
+ this.options = $.extend({}, Affix.DEFAULTS, options)
+ this.$window = $(window)
+ .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
+ .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
+
+ this.$element = $(element)
+ this.affixed =
+ this.unpin =
+ this.pinnedOffset = null
+
+ this.checkPosition()
+ }
+
+ Affix.RESET = 'affix affix-top affix-bottom'
+
+ Affix.DEFAULTS = {
+ offset: 0
+ }
+
+ Affix.prototype.getPinnedOffset = function () {
+ if (this.pinnedOffset) return this.pinnedOffset
+ this.$element.removeClass(Affix.RESET).addClass('affix')
+ var scrollTop = this.$window.scrollTop()
+ var position = this.$element.offset()
+ return (this.pinnedOffset = position.top - scrollTop)
+ }
+
+ Affix.prototype.checkPositionWithEventLoop = function () {
+ setTimeout($.proxy(this.checkPosition, this), 1)
+ }
+
+ Affix.prototype.checkPosition = function () {
+ if (!this.$element.is(':visible')) return
+
+ var scrollHeight = $(document).height()
+ var scrollTop = this.$window.scrollTop()
+ var position = this.$element.offset()
+ var offset = this.options.offset
+ var offsetTop = offset.top
+ var offsetBottom = offset.bottom
+
+ if (this.affixed == 'top') position.top += scrollTop
+
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset
+ if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
+
+ var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
+ offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
+ offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
+
+ if (this.affixed === affix) return
+ if (this.unpin) this.$element.css('top', '')
+
+ var affixType = 'affix' + (affix ? '-' + affix : '')
+ var e = $.Event(affixType + '.bs.affix')
+
+ this.$element.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ this.affixed = affix
+ this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
+
+ this.$element
+ .removeClass(Affix.RESET)
+ .addClass(affixType)
+ .trigger($.Event(affixType.replace('affix', 'affixed')))
+
+ if (affix == 'bottom') {
+ this.$element.offset({ top: scrollHeight - offsetBottom - this.$element.height() })
+ }
+ }
+
+
+ // AFFIX PLUGIN DEFINITION
+ // =======================
+
+ var old = $.fn.affix
+
+ $.fn.affix = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.affix')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.affix.Constructor = Affix
+
+
+ // AFFIX NO CONFLICT
+ // =================
+
+ $.fn.affix.noConflict = function () {
+ $.fn.affix = old
+ return this
+ }
+
+
+ // AFFIX DATA-API
+ // ==============
+
+ $(window).on('load', function () {
+ $('[data-spy="affix"]').each(function () {
+ var $spy = $(this)
+ var data = $spy.data()
+
+ data.offset = data.offset || {}
+
+ if (data.offsetBottom) data.offset.bottom = data.offsetBottom
+ if (data.offsetTop) data.offset.top = data.offsetTop
+
+ $spy.affix(data)
+ })
+ })
+
+}(jQuery);
diff --git a/1.3.0-rc.2/docs/components/bootstrap-3.1.1/js/bootstrap.min.js b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/js/bootstrap.min.js
new file mode 100644
index 0000000000..b04a0e82ff
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/bootstrap-3.1.1/js/bootstrap.min.js
@@ -0,0 +1,6 @@
+/*!
+ * Bootstrap v3.1.1 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.isLoading=!1};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",f.resetText||d.data("resetText",d[e]()),d[e](f[b]||this.options[b]),setTimeout(a.proxy(function(){"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},b.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}a&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}if(e.hasClass("active"))return this.sliding=!1;var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});return this.$element.trigger(j),j.isDefaultPrevented()?void 0:(this.sliding=!0,f&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")?(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(1e3*d.css("transition-duration").slice(0,-1))):(d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")),f&&this.cycle(),this)};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("collapse in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);!e&&f.toggle&&"show"==c&&(c=!c),e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(b){a(d).remove(),a(e).each(function(){var d=c(a(this)),e={relatedTarget:this};d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown",e)),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown",e))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('
').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown",h),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=" li:not(.divider):visible a",i=f.find("[role=menu]"+h+", [role=listbox]"+h);if(i.length){var j=i.index(i.filter(":focus"));38==b.keyCode&&j>0&&j--,40==b.keyCode&&j
').appendTo(document.body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.modal;a.fn.modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.modal.Constructor=b,a.fn.modal.noConflict=function(){return a.fn.modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());c.is("a")&&b.preventDefault(),e.modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("show.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(jQuery),+function(a){"use strict";var b=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};b.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},b.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},b.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},b.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show()},b.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},b.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(b),b.isDefaultPrevented())return;var c=this,d=this.tip();this.setContent(),this.options.animation&&d.addClass("fade");var e="function"==typeof this.options.placement?this.options.placement.call(this,d[0],this.$element[0]):this.options.placement,f=/\s?auto?\s?/i,g=f.test(e);g&&(e=e.replace(f,"")||"top"),d.detach().css({top:0,left:0,display:"block"}).addClass(e),this.options.container?d.appendTo(this.options.container):d.insertAfter(this.$element);var h=this.getPosition(),i=d[0].offsetWidth,j=d[0].offsetHeight;if(g){var k=this.$element.parent(),l=e,m=document.documentElement.scrollTop||document.body.scrollTop,n="body"==this.options.container?window.innerWidth:k.outerWidth(),o="body"==this.options.container?window.innerHeight:k.outerHeight(),p="body"==this.options.container?0:k.offset().left;e="bottom"==e&&h.top+h.height+j-m>o?"top":"top"==e&&h.top-m-j<0?"bottom":"right"==e&&h.right+i>n?"left":"left"==e&&h.left-i
'}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;(e||"destroy"!=c)&&(e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]())})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(a(c).is("body")?window:c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);{var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})}},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);if(g&&b<=e[0])return g!=(a=f[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(b.RESET).addClass("affix");var a=this.$window.scrollTop(),c=this.$element.offset();return this.pinnedOffset=c.top-a},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"top"==this.affixed&&(e.top+=d),"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top(this.$element)),"function"==typeof h&&(h=f.bottom(this.$element));var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;if(this.affixed!==i){this.unpin&&this.$element.css("top","");var j="affix"+(i?"-"+i:""),k=a.Event(j+".bs.affix");this.$element.trigger(k),k.isDefaultPrevented()||(this.affixed=i,this.unpin="bottom"==i?this.getPinnedOffset():null,this.$element.removeClass(b.RESET).addClass(j).trigger(a.Event(j.replace("affix","affixed"))),"bottom"==i&&this.$element.offset({top:c-h-this.$element.height()}))}}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/CHANGES.html b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/CHANGES.html
new file mode 100644
index 0000000000..9da9fa6342
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/CHANGES.html
@@ -0,0 +1,155 @@
+
+
+
+ Change Log
+
+
+ README
+
+ Known Issues
+
+ Perl formatting is really crappy. Partly because the author is lazy and
+ partly because Perl is
+ hard to parse.
+ On some browsers, <code>
elements with newlines in the text
+ which use CSS to specify white-space:pre
will have the newlines
+ improperly stripped if the element is not attached to the document at the time
+ the stripping is done. Also, on IE 6, all newlines will be stripped from
+ <code>
elements because of the way IE6 produces
+ innerHTML
. Workaround: use <pre>
for code with
+ newlines.
+
+
+ Change Log
+ 29 March 2007
+
+ Added tests for PHP support
+ to address
+ issue 3 .
+ Fixed
+ bug : prettyPrintOne
was not halting. This was not
+ reachable through the normal entry point.
+ Fixed
+ bug : recursing into a script block or PHP tag that was not properly
+ closed would not silently drop the content.
+ (test )
+ Fixed
+ bug : was eating tabs
+ (test )
+ Fixed entity handling so that the caveat
+
+ Caveats: please properly escape less-thans. x<y
+ instead of x<y , and use " instead of
+ " for string delimiters.
+
+ is no longer applicable.
+ Added noisefree's C#
+ patch
+ Added a distribution that has comments and
+ whitespace removed to reduce download size from 45.5kB to 12.8kB.
+
+ 4 Jul 2008
+
+ Added language specific formatters that are triggered by the presence
+ of a lang-<language-file-extension>
+ Fixed bug : python handling of '''string'''
+ Fixed bug: /
in regex [charsets] should not end regex
+
+ 5 Jul 2008
+
+ Defined language extensions for Lisp and Lua
+
+ 14 Jul 2008
+
+ Language handlers for F#, OCAML, SQL
+ Support for nocode
spans to allow embedding of line
+ numbers and code annotations which should not be styled or otherwise
+ affect the tokenization of prettified code.
+ See the issue 22
+ testcase .
+
+ 6 Jan 2009
+
+ Language handlers for Visual Basic, Haskell, CSS, and WikiText
+ Added .mxml extension to the markup style handler for
+ Flex MXML files . See
+ issue 37 .
+ Added .m extension to the C style handler so that Objective
+ C source files properly highlight. See
+ issue 58 .
+ Changed HTML lexer to use the same embedded source mechanism as the
+ wiki language handler, and changed to use the registered
+ CSS handler for STYLE element content.
+
+ 21 May 2009
+
+ Rewrote to improve performance on large files.
+ See benchmarks .
+ Fixed bugs with highlighting of Haskell line comments, Lisp
+ number literals, Lua strings, C preprocessor directives,
+ newlines in Wiki code on Windows, and newlines in IE6.
+
+ 14 August 2009
+
+ Fixed prettifying of <code>
blocks with embedded newlines.
+
+ 3 October 2009
+
+ Fixed prettifying of XML/HTML tags that contain uppercase letters.
+
+ 19 July 2010
+
+ Added support for line numbers. Bug
+ 22
+ Added YAML support. Bug
+ 123
+ Added VHDL support courtesy Le Poussin.
+ IE performance improvements. Bug
+ 102 courtesy jacobly.
+ A variety of markup formatting fixes courtesy smain and thezbyg.
+ Fixed copy and paste in IE[678].
+ Changed output to use  
instead of
+
so that the output works when embedded in XML.
+ Bug
+ 108 .
+
+ 7 September 2010
+
+ Added support for coffeescript courtesy Cezary Bartoszuk.
+
+ 4 March 2011
+
+ Added a themes
+ gallery to showcase contributed styles.
+ Added support for XQuery courtesy Patrick Wied, Nemerle
+ courtesy Zimin A.V., and Latex support courtesy Martin S.
+
+ 29 March 2011
+
+ Fixed IE newline issues, and copying/pasting of prettified
+ source code from IE. This required significant internal changes
+ but involves no API changes.
+ Caveat: prettyPrintOne
injects the HTML
+ passed to it into a <pre>
element.
+ If the HTML comes from a trusted source, this may allow XSS.
+ Do not do this. This should not be a problem for existing apps
+ since the standard usage is to rewrite the HTML and then inject
+ it, so anyone doing that with untrusted HTML already has an XSS
+ vulnerability. If you sanitize and prettify HTML from an
+ untrusted source, sanitize first.
+
+
+
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/COPYING b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/COPYING
new file mode 100644
index 0000000000..b7f86df200
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/COPYING
@@ -0,0 +1,191 @@
+
+ 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
+
+ Copyright 2011 Mike Samuel et al
+
+ 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.
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/README-zh-Hans.html b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/README-zh-Hans.html
new file mode 100644
index 0000000000..69bf7aedb9
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/README-zh-Hans.html
@@ -0,0 +1,143 @@
+
+
+
+
+
+ Javascript code prettifier
+
+
+
+
+
+
+
+
+
+ Javascript code prettifier
+ Javascript 代码美容师
+ 安装使用
+
+ 下载 文件
+ 在你的文件中包含这儿的脚本和样式表(你要保证这儿的 css 和 js 文件按在你的服务器上, 并且调整在 script 和 link 标签中的路径)
+
+<link href="prettify.css" type="text/css" rel="stylesheet" />
+<script type="text/javascript" src="prettify.js"></script>
+ 添加onload="prettyPrint()"
到你的文件的 body 标签中.
+ 修改样式表,使用你自己喜欢的颜色.
+
+
+ 使用方法
+ 在
+ <pre class="prettyprint">...</pre> 或 <code class="prettyprint">...</code>
+ 中间放上代码片段,它就会自动被美化了.
+
+
+
+ The original
+ Prettier
+
+ class Voila {
+public:
+ // Voila
+ static const string VOILA = "Voila";
+
+ // will not interfere with embedded tags .
+}
+
+ class Voila {
+public:
+ // Voila
+ static const string VOILA = "Voila";
+
+ // will not interfere with embedded tags .
+}
+
+
+
+ 常见问题
+ 它是为什么语言工作的?
+ prettify.js中的注释是权威的,但是它的语法分析程序可以在很多语言中使用 ,包括 C ,
+ Java, Python, Bash, SQL, HTML, XML, CSS, Javascript, 和 Makefiles.
+ 它在 Ruby, PHP, VB, 和 Awk 中还算可以,而且也可以在 Perl 和 Ruby的合适子集中起作用,但是, 因为注释的约定,它对
+ Smalltalk, 或 CAML类似的语言起作用.
+
+
+ LISP系列的语言可以使用一个拓展lang-lisp.js
.
对于 CSS
,
+ Haskell
,
+ Lua
,
+ OCAML, SML, F#
,
+ Visual Basic
,
+ SQL
,
+ Protocol Buffers
, 和
+ WikiText
..也是类似的
如果你想给你喜欢的语言写个拓展版本, 请参阅src/lang-lisp.js ,并写一个包括你的语言的拓展的 发布 和一个测试用例.
+
+ 如何指定我的代码在哪种语言里?
+ 你不需要指定语言环境,因为 prettyprint()
+ 会对此进行猜测. 你可以使用 prettyprint
这个类通过指定语言的拓展名来指定语言,就像这样:
+ <pre class="prettyprint lang-html ">
+ The lang-* class specifies the language file extensions.
+ File extensions supported by default include
+ "bsh", "c", "cc", "cpp", "cs", "csh", "cyc", "cv", "htm", "html",
+ "java", "js", "m", "mxml", "perl", "pl", "pm", "py", "rb", "sh",
+ "xhtml", "xml", "xsl".
+</pre>
+
+ 它在混淆代码例子上不起作用吗?
+ 是的. 美化混淆代码就像给小猪涂口红,也就是不在这个工具的范围内.
+
+ 它可以在那些浏览器上工作?
+ 这个工具已经在 IE 6, Firefox 1.5 & 2, 和 Safari 2.0.4 上测试通过. 打开 测试页面 ,看看它能不能在你的浏览器上起作用.
+
+ 有什么改变?
+ 查看 变化日志
+
+ 为什么Prettyprinting 对WordPress中的字符串没用?
+ 很显然,wordpress 在 "smart quoting" 时会改变关闭符号.
+ 这使得关闭符号跟开始符号不配套.
+
这和复制粘贴代码一样,破坏了美化作用. 去
+ WordPress's help center 查看更多关于如何关闭插入代码段时的"smart quoting"的信息.
+
+ 如何在我的代码中加入行号? (Out of date -- see English version )
+ 你可以使用 nocode
类来标记 span 标记不是代码.
+
<pre class=prettyprint>
+<span class="nocode ">1:</span> /* This is line 1 of my code
+<span class="nocode ">2:</span> * and here's line 2 */
+<span class="nocode ">3:</span> print("I'm line number 3");
+</pre> 得到
+
+1: /* This is line 1 of my code
+2: * and here's line 2 */
+3: print("I'm line number 3");
+
+
+ 查看一个更完整的例子: issue22
+ testcase .
+
+ 我得到了这样一条错误信息 "a is not a function" 或 "opt_whenDone is not a function"
+ 如果你通过事件句柄条用 prettyPrint
, 把它隐藏到一个函数中.
不要这么写
+
+ addEventListener('load', prettyPrint, false);
+ 而要这么写
+
+ addEventListener('load', function (event) { prettyPrint() }, false);
+ 这样的话,浏览器就不会把时间对象传递给 prettyPrint
,事件对象会让它困惑的.
+
+
+
+
+
+
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/README.html b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/README.html
new file mode 100644
index 0000000000..967d61318b
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/README.html
@@ -0,0 +1,233 @@
+
+
+
+
+ Javascript code prettifier
+
+
+
+
+
+
+
+
+
+ Languages : CH
+ Javascript code prettifier
+
+ Setup
+
+ Download a distribution
+ Include the script and stylesheets in your document
+ (you will need to make sure the css and js file are on your server, and
+ adjust the paths in the script and link tag)
+
+<link href="prettify.css" type="text/css" rel="stylesheet" />
+<script type="text/javascript" src="prettify.js"></script>
+ Add onload="prettyPrint()"
to your
+ document's body tag.
+ Modify the stylesheet to get the coloring you prefer
+
+
+ Usage
+ Put code snippets in
+ <pre class="prettyprint">...</pre>
+ or <code class="prettyprint">...</code>
+ and it will automatically be pretty printed.
+
+
+
+ The original
+ Prettier
+
+ class Voila {
+public:
+ // Voila
+ static const string VOILA = "Voila";
+
+ // will not interfere with embedded tags .
+}
+
+ class Voila {
+public:
+ // Voila
+ static const string VOILA = "Voila";
+
+ // will not interfere with embedded tags .
+}
+
+
+ FAQ
+ For which languages does it work?
+ The comments in prettify.js are authoritative but the lexer
+ should work on a number of languages including C and friends,
+ Java, Python, Bash, SQL, HTML, XML, CSS, Javascript, and Makefiles.
+ It works passably on Ruby, PHP, VB, and Awk and a decent subset of Perl
+ and Ruby, but, because of commenting conventions, doesn't work on
+ Smalltalk, or CAML-like languages.
+
+ LISPy languages are supported via an extension:
+ lang-lisp.js
.
+ And similarly for
+ Clojure
,
+ CSS
,
+ Go
,
+ Haskell
,
+ Lua
,
+ OCAML, SML, F#
,
+ Nemerle
,
+ Protocol Buffers
,
+ Scala
,
+ SQL
,
+ TeX, LaTeX
,
+ VHDL
,
+ Visual Basic
,
+ WikiText
,
+ XQuery
, and
+ YAML
.
+
+
If you'd like to add an extension for your favorite language, please
+ look at src/lang-lisp.js and file an
+ issue including your language extension, and a testcase.
+
+ How do I specify the language of my code?
+ You don't need to specify the language since prettyprint()
+ will guess. You can specify a language by specifying the language extension
+ along with the prettyprint
class like so:
+ <pre class="prettyprint lang-html ">
+ The lang-* class specifies the language file extensions.
+ File extensions supported by default include
+ "bsh", "c", "cc", "cpp", "cs", "csh", "cyc", "cv", "htm", "html",
+ "java", "js", "m", "mxml", "perl", "pl", "pm", "py", "rb", "sh",
+ "xhtml", "xml", "xsl".
+</pre>
+
+ You may also use the
+ HTML 5 convention of embedding a code element inside the
+ PRE
and using language-java
style classes.
+ E.g.
...
+
+ It doesn't work on <obfuscated code sample> ?
+ Yes. Prettifying obfuscated code is like putting lipstick on a pig
+ — i.e. outside the scope of this tool.
+
+ Which browsers does it work with?
+ It's been tested with IE 6, Firefox 1.5 & 2, and Safari 2.0.4.
+ Look at the test page to see if it
+ works in your browser.
+
+ What's changed?
+ See the change log
+
+ Why doesn't Prettyprinting of strings work on WordPress?
+ Apparently wordpress does "smart quoting" which changes close quotes.
+ This causes end quotes to not match up with open quotes.
+
This breaks prettifying as well as copying and pasting of code samples.
+ See
+ WordPress's help center for info on how to stop smart quoting of code
+ snippets.
+
+ How do I put line numbers in my code?
+ You can use the linenums
class to turn on line
+ numbering. If your code doesn't start at line number 1, you can
+ add a colon and a line number to the end of that class as in
+ linenums:52
.
+
+
For example
+
<pre class="prettyprint linenums:4 "
+>// This is line 4.
+foo();
+bar();
+baz();
+boo();
+far();
+faz();
+<pre>
+ produces
+// This is line 4.
+foo();
+bar();
+baz();
+boo();
+far();
+faz();
+
+
+ How do I prevent a portion of markup from being marked as code?
+ You can use the nocode
class to identify a span of markup
+ that is not code.
+
<pre class=prettyprint>
+int x = foo(); /* This is a comment <span class="nocode">This is not code</span>
+ Continuation of comment */
+int y = bar();
+</pre>
+produces
+
+int x = foo(); /* This is a comment This is not code
+ Continuation of comment */
+int y = bar();
+
+
+ For a more complete example see the issue22
+ testcase .
+
+ I get an error message "a is not a function" or "opt_whenDone is not a function"
+ If you are calling prettyPrint
via an event handler, wrap it in a function.
+ Instead of doing
+
+ addEventListener('load', prettyPrint, false);
+
+ wrap it in a closure like
+
+ addEventListener('load', function (event) { prettyPrint() }, false);
+
+ so that the browser does not pass an event object to prettyPrint
which
+ will confuse it.
+
+ How can I customize the colors and styles of my code?
+
+ Prettify adds <span>
with class
es describing
+ the kind of code. You can create CSS styles to matches these
+ classes.
+ See the
+
+ theme gallery for examples.
+
+
+
+
+
+
+
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/README.md b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/README.md
new file mode 100644
index 0000000000..51e0fac4e3
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/README.md
@@ -0,0 +1,54 @@
+# Google Code Prettify
+
+Direct port of svn into git from http://google-code-prettify.googlecode.com/svn/trunk/
+
+## Install
+
+via [Bower](http://twitter.github.com/bower/)
+
+ bower install google-code-prettify
+
+or [Yeoman](http://yeoman.io/)
+
+ yeoman install google-code-prettify
+
+
+## Usage
+
+The prettify script is AMD compatible and can be used modularly. Here is an example of it in an AMD module:
+
+```javascript
+define(['jquery', 'prettify'], function($, prettify){
+ var code = null;
+ $('pre').addClass('prettyprint').each(function(idx, el){
+ code = el.firstChild;
+ code.innerHTML = prettify.prettyPrintOne(code.innerHTML);
+ })
+ );
+});
+```
+
+This version of google-code-prettify defines an anonymous module, which is more flexible. To allow your AMD loader to find google-code-prettify with a more convenient name, map a path to it as follows:
+
+```js
+// using RequireJS
+require.config({
+ prettify: 'bower_components/google-code-prettify/prettify'
+});
+
+// using curl.js
+curl.config({
+ prettify: 'bower_components/google-code-prettify/prettify'
+});
+```
+
+Or it may just be used in a global context like the following:
+
+```javascript
+(function(){
+ $('pre').addClass('prettyprint');
+ prettyPrint();
+})();
+```
+
+More information can be found in the original [README.html](http://google-code-prettify.googlecode.com/svn/trunk/README.html)
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/bower.json b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/bower.json
new file mode 100644
index 0000000000..21ebaa0d62
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/bower.json
@@ -0,0 +1,13 @@
+{
+ "name": "google-code-prettify",
+ "version": "1.0.1",
+ "main": "./src/prettify.js",
+ "dependencies": {},
+ "ignore": [
+ "closure-compiler",
+ "js-modules",
+ "tests",
+ "yui-compressor",
+ "Makefile"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/src/lang-apollo.js b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/src/lang-apollo.js
new file mode 100644
index 0000000000..9fa1d24c64
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/src/lang-apollo.js
@@ -0,0 +1,51 @@
+// Copyright (C) 2009 Onno Hommes.
+//
+// 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.
+
+
+/**
+ * @fileoverview
+ * Registers a language handler for the AGC/AEA Assembly Language as described
+ * at http://virtualagc.googlecode.com
+ *
+ * This file could be used by goodle code to allow syntax highlight for
+ * Virtual AGC SVN repository or if you don't want to commonize
+ * the header for the agc/aea html assembly listing.
+ *
+ * @author ohommes@alumni.cmu.edu
+ */
+
+PR['registerLangHandler'](
+ PR['createSimpleLexer'](
+ [
+ // A line comment that starts with ;
+ [PR['PR_COMMENT'], /^#[^\r\n]*/, null, '#'],
+ // Whitespace
+ [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
+ // A double quoted, possibly multi-line, string.
+ [PR['PR_STRING'], /^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/, null, '"']
+ ],
+ [
+ [PR['PR_KEYWORD'], /^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\s/,null],
+ [PR['PR_TYPE'], /^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[SE]?BANK\=?|BLOCK|BNKSUM|E?CADR|COUNT\*?|2?DEC\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\s/,null],
+ // A single quote possibly followed by a word that optionally ends with
+ // = ! or ?.
+ [PR['PR_LITERAL'],
+ /^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],
+ // Any word including labels that optionally ends with = ! or ?.
+ [PR['PR_PLAIN'],
+ /^-*(?:[!-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],
+ // A printable non-space non-special character
+ [PR['PR_PUNCTUATION'], /^[^\w\t\n\r \xA0()\"\\\';]+/]
+ ]),
+ ['apollo', 'agc', 'aea']);
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/src/lang-clj.js b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/src/lang-clj.js
new file mode 100644
index 0000000000..0758335f36
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/src/lang-clj.js
@@ -0,0 +1,64 @@
+/**
+ * @license Copyright (C) 2011 Google 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.
+ */
+
+/**
+ * @fileoverview
+ * Registers a language handler for Clojure.
+ *
+ *
+ * To use, include prettify.js and this file in your HTML page.
+ * Then put your code in an HTML tag like
+ *
(my lisp code)
+ * The lang-cl class identifies the language as common lisp.
+ * This file supports the following language extensions:
+ * lang-clj - Clojure
+ *
+ *
+ * I used lang-lisp.js as the basis for this adding the clojure specific
+ * keywords and syntax.
+ *
+ * "Name" = 'Clojure'
+ * "Author" = 'Rich Hickey'
+ * "Version" = '1.2'
+ * "About" = 'Clojure is a lisp for the jvm with concurrency primitives and a richer set of types.'
+ *
+ *
+ * I used Clojure.org Reference as
+ * the basis for the reserved word list.
+ *
+ *
+ * @author jwall@google.com
+ */
+
+PR['registerLangHandler'](
+ PR['createSimpleLexer'](
+ [
+ // clojure has more paren types than minimal lisp.
+ ['opn', /^[\(\{\[]+/, null, '([{'],
+ ['clo', /^[\)\}\]]+/, null, ')]}'],
+ // A line comment that starts with ;
+ [PR['PR_COMMENT'], /^;[^\r\n]*/, null, ';'],
+ // Whitespace
+ [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
+ // A double quoted, possibly multi-line, string.
+ [PR['PR_STRING'], /^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/, null, '"']
+ ],
+ [
+ // clojure has a much larger set of keywords
+ [PR['PR_KEYWORD'], /^(?:def|if|do|let|quote|var|fn|loop|recur|throw|try|monitor-enter|monitor-exit|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|aset|gen-class|reduce|map|filter|find|nil?|empty?|hash-map|hash-set|vec|vector|seq|flatten|reverse|assoc|dissoc|list|list?|disj|get|union|difference|intersection|extend|extend-type|extend-protocol|prn)\b/, null],
+ [PR['PR_TYPE'], /^:[0-9a-zA-Z\-]+/]
+ ]),
+ ['clj']);
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/src/lang-css.js b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/src/lang-css.js
new file mode 100644
index 0000000000..9e658dd57e
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/src/lang-css.js
@@ -0,0 +1,159 @@
+// Copyright (C) 2009 Google 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.
+
+
+
+/**
+ * @fileoverview
+ * Registers a language handler for CSS.
+ *
+ *
+ * To use, include prettify.js and this file in your HTML page.
+ * Then put your code in an HTML tag like
+ *
+ *
+ *
+ * http://www.w3.org/TR/CSS21/grammar.html Section G2 defines the lexical
+ * grammar. This scheme does not recognize keywords containing escapes.
+ *
+ * @author mikesamuel@gmail.com
+ */
+
+// This file is a call to a function defined in prettify.js which defines a
+// lexical scanner for CSS and maps tokens to styles.
+
+// The call to PR['registerLangHandler'] is quoted so that Closure Compiler
+// will not rename the call so that this language extensions can be
+// compiled/minified separately from one another. Other symbols defined in
+// prettify.js are similarly quoted.
+
+// The call is structured thus:
+// PR['registerLangHandler'](
+// PR['createSimpleLexer'](
+// shortcutPatterns,
+// fallThroughPatterns),
+// [languageId0, ..., languageIdN])
+
+// Langugage IDs
+// =============
+// The language IDs are typically the file extensions of source files for
+// that language so that users can syntax highlight arbitrary files based
+// on just the extension. This is heuristic, but works pretty well in
+// practice.
+
+// Patterns
+// ========
+// Lexers are typically implemented as a set of regular expressions.
+// The SimpleLexer function takes regular expressions, styles, and some
+// pragma-info and produces a lexer. A token description looks like
+// [STYLE_NAME, /regular-expression/, pragmas]
+
+// Initially, simple lexer's inner loop looked like:
+
+// while sourceCode is not empty:
+// try each regular expression in order until one matches
+// remove the matched portion from sourceCode
+
+// This was really slow for large files because some JS interpreters
+// do a buffer copy on the matched portion which is O(n*n)
+
+// The current loop now looks like
+
+// 1. use js-modules/combinePrefixPatterns.js to
+// combine all regular expressions into one
+// 2. use a single global regular expresion match to extract all tokens
+// 3. for each token try regular expressions in order until one matches it
+// and classify it using the associated style
+
+// This is a lot more efficient but it does mean that lookahead and lookbehind
+// can't be used across boundaries to classify tokens.
+
+// Sometimes we need lookahead and lookbehind and sometimes we want to handle
+// embedded language -- JavaScript or CSS embedded in HTML, or inline assembly
+// in C.
+
+// If a particular pattern has a numbered group, and its style pattern starts
+// with "lang-" as in
+// ['lang-js', /}
+ * define style rules. See the example page for examples.
+ * mark the {@code } and {@code } tags in your source with
+ * {@code class=prettyprint.}
+ * You can also use the (html deprecated) {@code } tag, but the pretty
+ * printer needs to do more substantial DOM manipulations to support that, so
+ * some css styles may not be preserved.
+ *
+ * That's it. I wanted to keep the API as simple as possible, so there's no
+ * need to specify which language the code is in, but if you wish, you can add
+ * another class to the {@code } or {@code } element to specify the
+ * language, as in {@code }. Any class that
+ * starts with "lang-" followed by a file extension, specifies the file type.
+ * See the "lang-*.js" files in this directory for code that implements
+ * per-language file handlers.
+ *
+ * Change log:
+ * cbeust, 2006/08/22
+ *
+ * Java annotations (start with "@") are now captured as literals ("lit")
+ *
+ * @requires console
+ */
+
+// JSLint declarations
+/*global console, document, navigator, setTimeout, window, define */
+
+/**
+ * Split {@code prettyPrint} into multiple timeouts so as not to interfere with
+ * UI events.
+ * If set to {@code false}, {@code prettyPrint()} is synchronous.
+ */
+window['PR_SHOULD_USE_CONTINUATION'] = true;
+
+/**
+ * Find all the {@code } and {@code } tags in the DOM with
+ * {@code class=prettyprint} and prettify them.
+ *
+ * @param {Function?} opt_whenDone if specified, called when the last entry
+ * has been finished.
+ */
+var prettyPrintOne;
+/**
+ * Pretty print a chunk of code.
+ *
+ * @param {string} sourceCodeHtml code as html
+ * @return {string} code as html, but prettier
+ */
+var prettyPrint;
+
+
+(function () {
+ var win = window;
+ // Keyword lists for various languages.
+ // We use things that coerce to strings to make them compact when minified
+ // and to defeat aggressive optimizers that fold large string constants.
+ var FLOW_CONTROL_KEYWORDS = ["break,continue,do,else,for,if,return,while"];
+ var C_KEYWORDS = [FLOW_CONTROL_KEYWORDS,"auto,case,char,const,default," +
+ "double,enum,extern,float,goto,int,long,register,short,signed,sizeof," +
+ "static,struct,switch,typedef,union,unsigned,void,volatile"];
+ var COMMON_KEYWORDS = [C_KEYWORDS,"catch,class,delete,false,import," +
+ "new,operator,private,protected,public,this,throw,true,try,typeof"];
+ var CPP_KEYWORDS = [COMMON_KEYWORDS,"alignof,align_union,asm,axiom,bool," +
+ "concept,concept_map,const_cast,constexpr,decltype," +
+ "dynamic_cast,explicit,export,friend,inline,late_check," +
+ "mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast," +
+ "template,typeid,typename,using,virtual,where"];
+ var JAVA_KEYWORDS = [COMMON_KEYWORDS,
+ "abstract,boolean,byte,extends,final,finally,implements,import," +
+ "instanceof,null,native,package,strictfp,super,synchronized,throws," +
+ "transient"];
+ var CSHARP_KEYWORDS = [JAVA_KEYWORDS,
+ "as,base,by,checked,decimal,delegate,descending,dynamic,event," +
+ "fixed,foreach,from,group,implicit,in,interface,internal,into,is,let," +
+ "lock,object,out,override,orderby,params,partial,readonly,ref,sbyte," +
+ "sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort," +
+ "var,virtual,where"];
+ var COFFEE_KEYWORDS = "all,and,by,catch,class,else,extends,false,finally," +
+ "for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
+ "throw,true,try,unless,until,when,while,yes";
+ var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
+ "debugger,eval,export,function,get,null,set,undefined,var,with," +
+ "Infinity,NaN"];
+ var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
+ "goto,if,import,last,local,my,next,no,our,print,package,redo,require," +
+ "sub,undef,unless,until,use,wantarray,while,BEGIN,END";
+ var PYTHON_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "and,as,assert,class,def,del," +
+ "elif,except,exec,finally,from,global,import,in,is,lambda," +
+ "nonlocal,not,or,pass,print,raise,try,with,yield," +
+ "False,True,None"];
+ var RUBY_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "alias,and,begin,case,class," +
+ "def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo," +
+ "rescue,retry,self,super,then,true,undef,unless,until,when,yield," +
+ "BEGIN,END"];
+ var SH_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "case,done,elif,esac,eval,fi," +
+ "function,in,local,set,then,until"];
+ var ALL_KEYWORDS = [
+ CPP_KEYWORDS, CSHARP_KEYWORDS, JSCRIPT_KEYWORDS, PERL_KEYWORDS +
+ PYTHON_KEYWORDS, RUBY_KEYWORDS, SH_KEYWORDS];
+ var C_TYPES = /^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;
+
+ // token style names. correspond to css classes
+ /**
+ * token style for a string literal
+ * @const
+ */
+ var PR_STRING = 'str';
+ /**
+ * token style for a keyword
+ * @const
+ */
+ var PR_KEYWORD = 'kwd';
+ /**
+ * token style for a comment
+ * @const
+ */
+ var PR_COMMENT = 'com';
+ /**
+ * token style for a type
+ * @const
+ */
+ var PR_TYPE = 'typ';
+ /**
+ * token style for a literal value. e.g. 1, null, true.
+ * @const
+ */
+ var PR_LITERAL = 'lit';
+ /**
+ * token style for a punctuation string.
+ * @const
+ */
+ var PR_PUNCTUATION = 'pun';
+ /**
+ * token style for plain text.
+ * @const
+ */
+ var PR_PLAIN = 'pln';
+
+ /**
+ * token style for an sgml tag.
+ * @const
+ */
+ var PR_TAG = 'tag';
+ /**
+ * token style for a markup declaration such as a DOCTYPE.
+ * @const
+ */
+ var PR_DECLARATION = 'dec';
+ /**
+ * token style for embedded source.
+ * @const
+ */
+ var PR_SOURCE = 'src';
+ /**
+ * token style for an sgml attribute name.
+ * @const
+ */
+ var PR_ATTRIB_NAME = 'atn';
+ /**
+ * token style for an sgml attribute value.
+ * @const
+ */
+ var PR_ATTRIB_VALUE = 'atv';
+
+ /**
+ * A class that indicates a section of markup that is not code, e.g. to allow
+ * embedding of line numbers within code listings.
+ * @const
+ */
+ var PR_NOCODE = 'nocode';
+
+
+
+/**
+ * A set of tokens that can precede a regular expression literal in
+ * javascript
+ * http://web.archive.org/web/20070717142515/http://www.mozilla.org/js/language/js20/rationale/syntax.html
+ * has the full list, but I've removed ones that might be problematic when
+ * seen in languages that don't support regular expression literals.
+ *
+ * Specifically, I've removed any keywords that can't precede a regexp
+ * literal in a syntactically legal javascript program, and I've removed the
+ * "in" keyword since it's not a keyword in many languages, and might be used
+ * as a count of inches.
+ *
+ *
The link above does not accurately describe EcmaScript rules since
+ * it fails to distinguish between (a=++/b/i) and (a++/b/i) but it works
+ * very well in practice.
+ *
+ * @private
+ * @const
+ */
+var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*';
+
+// CAVEAT: this does not properly handle the case where a regular
+// expression immediately follows another since a regular expression may
+// have flags for case-sensitivity and the like. Having regexp tokens
+// adjacent is not valid in any language I'm aware of, so I'm punting.
+// TODO: maybe style special characters inside a regexp as punctuation.
+
+
+ /**
+ * Given a group of {@link RegExp}s, returns a {@code RegExp} that globally
+ * matches the union of the sets of strings matched by the input RegExp.
+ * Since it matches globally, if the input strings have a start-of-input
+ * anchor (/^.../), it is ignored for the purposes of unioning.
+ * @param {Array.} regexs non multiline, non-global regexs.
+ * @return {RegExp} a global regex.
+ */
+ function combinePrefixPatterns(regexs) {
+ var capturedGroupIndex = 0;
+
+ var needToFoldCase = false;
+ var ignoreCase = false;
+ for (var i = 0, n = regexs.length; i < n; ++i) {
+ var regex = regexs[i];
+ if (regex.ignoreCase) {
+ ignoreCase = true;
+ } else if (/[a-z]/i.test(regex.source.replace(
+ /\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi, ''))) {
+ needToFoldCase = true;
+ ignoreCase = false;
+ break;
+ }
+ }
+
+ var escapeCharToCodeUnit = {
+ 'b': 8,
+ 't': 9,
+ 'n': 0xa,
+ 'v': 0xb,
+ 'f': 0xc,
+ 'r': 0xd
+ };
+
+ function decodeEscape(charsetPart) {
+ var cc0 = charsetPart.charCodeAt(0);
+ if (cc0 !== 92 /* \\ */) {
+ return cc0;
+ }
+ var c1 = charsetPart.charAt(1);
+ cc0 = escapeCharToCodeUnit[c1];
+ if (cc0) {
+ return cc0;
+ } else if ('0' <= c1 && c1 <= '7') {
+ return parseInt(charsetPart.substring(1), 8);
+ } else if (c1 === 'u' || c1 === 'x') {
+ return parseInt(charsetPart.substring(2), 16);
+ } else {
+ return charsetPart.charCodeAt(1);
+ }
+ }
+
+ function encodeEscape(charCode) {
+ if (charCode < 0x20) {
+ return (charCode < 0x10 ? '\\x0' : '\\x') + charCode.toString(16);
+ }
+ var ch = String.fromCharCode(charCode);
+ return (ch === '\\' || ch === '-' || ch === ']' || ch === '^')
+ ? "\\" + ch : ch;
+ }
+
+ function caseFoldCharset(charSet) {
+ var charsetParts = charSet.substring(1, charSet.length - 1).match(
+ new RegExp(
+ '\\\\u[0-9A-Fa-f]{4}'
+ + '|\\\\x[0-9A-Fa-f]{2}'
+ + '|\\\\[0-3][0-7]{0,2}'
+ + '|\\\\[0-7]{1,2}'
+ + '|\\\\[\\s\\S]'
+ + '|-'
+ + '|[^-\\\\]',
+ 'g'));
+ var ranges = [];
+ var inverse = charsetParts[0] === '^';
+
+ var out = ['['];
+ if (inverse) { out.push('^'); }
+
+ for (var i = inverse ? 1 : 0, n = charsetParts.length; i < n; ++i) {
+ var p = charsetParts[i];
+ if (/\\[bdsw]/i.test(p)) { // Don't muck with named groups.
+ out.push(p);
+ } else {
+ var start = decodeEscape(p);
+ var end;
+ if (i + 2 < n && '-' === charsetParts[i + 1]) {
+ end = decodeEscape(charsetParts[i + 2]);
+ i += 2;
+ } else {
+ end = start;
+ }
+ ranges.push([start, end]);
+ // If the range might intersect letters, then expand it.
+ // This case handling is too simplistic.
+ // It does not deal with non-latin case folding.
+ // It works for latin source code identifiers though.
+ if (!(end < 65 || start > 122)) {
+ if (!(end < 65 || start > 90)) {
+ ranges.push([Math.max(65, start) | 32, Math.min(end, 90) | 32]);
+ }
+ if (!(end < 97 || start > 122)) {
+ ranges.push([Math.max(97, start) & ~32, Math.min(end, 122) & ~32]);
+ }
+ }
+ }
+ }
+
+ // [[1, 10], [3, 4], [8, 12], [14, 14], [16, 16], [17, 17]]
+ // -> [[1, 12], [14, 14], [16, 17]]
+ ranges.sort(function (a, b) { return (a[0] - b[0]) || (b[1] - a[1]); });
+ var consolidatedRanges = [];
+ var lastRange = [];
+ for (var i = 0; i < ranges.length; ++i) {
+ var range = ranges[i];
+ if (range[0] <= lastRange[1] + 1) {
+ lastRange[1] = Math.max(lastRange[1], range[1]);
+ } else {
+ consolidatedRanges.push(lastRange = range);
+ }
+ }
+
+ for (var i = 0; i < consolidatedRanges.length; ++i) {
+ var range = consolidatedRanges[i];
+ out.push(encodeEscape(range[0]));
+ if (range[1] > range[0]) {
+ if (range[1] + 1 > range[0]) { out.push('-'); }
+ out.push(encodeEscape(range[1]));
+ }
+ }
+ out.push(']');
+ return out.join('');
+ }
+
+ function allowAnywhereFoldCaseAndRenumberGroups(regex) {
+ // Split into character sets, escape sequences, punctuation strings
+ // like ('(', '(?:', ')', '^'), and runs of characters that do not
+ // include any of the above.
+ var parts = regex.source.match(
+ new RegExp(
+ '(?:'
+ + '\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]' // a character set
+ + '|\\\\u[A-Fa-f0-9]{4}' // a unicode escape
+ + '|\\\\x[A-Fa-f0-9]{2}' // a hex escape
+ + '|\\\\[0-9]+' // a back-reference or octal escape
+ + '|\\\\[^ux0-9]' // other escape sequence
+ + '|\\(\\?[:!=]' // start of a non-capturing group
+ + '|[\\(\\)\\^]' // start/end of a group, or line start
+ + '|[^\\x5B\\x5C\\(\\)\\^]+' // run of other characters
+ + ')',
+ 'g'));
+ var n = parts.length;
+
+ // Maps captured group numbers to the number they will occupy in
+ // the output or to -1 if that has not been determined, or to
+ // undefined if they need not be capturing in the output.
+ var capturedGroups = [];
+
+ // Walk over and identify back references to build the capturedGroups
+ // mapping.
+ for (var i = 0, groupIndex = 0; i < n; ++i) {
+ var p = parts[i];
+ if (p === '(') {
+ // groups are 1-indexed, so max group index is count of '('
+ ++groupIndex;
+ } else if ('\\' === p.charAt(0)) {
+ var decimalValue = +p.substring(1);
+ if (decimalValue) {
+ if (decimalValue <= groupIndex) {
+ capturedGroups[decimalValue] = -1;
+ } else {
+ // Replace with an unambiguous escape sequence so that
+ // an octal escape sequence does not turn into a backreference
+ // to a capturing group from an earlier regex.
+ parts[i] = encodeEscape(decimalValue);
+ }
+ }
+ }
+ }
+
+ // Renumber groups and reduce capturing groups to non-capturing groups
+ // where possible.
+ for (var i = 1; i < capturedGroups.length; ++i) {
+ if (-1 === capturedGroups[i]) {
+ capturedGroups[i] = ++capturedGroupIndex;
+ }
+ }
+ for (var i = 0, groupIndex = 0; i < n; ++i) {
+ var p = parts[i];
+ if (p === '(') {
+ ++groupIndex;
+ if (!capturedGroups[groupIndex]) {
+ parts[i] = '(?:';
+ }
+ } else if ('\\' === p.charAt(0)) {
+ var decimalValue = +p.substring(1);
+ if (decimalValue && decimalValue <= groupIndex) {
+ parts[i] = '\\' + capturedGroups[decimalValue];
+ }
+ }
+ }
+
+ // Remove any prefix anchors so that the output will match anywhere.
+ // ^^ really does mean an anchored match though.
+ for (var i = 0; i < n; ++i) {
+ if ('^' === parts[i] && '^' !== parts[i + 1]) { parts[i] = ''; }
+ }
+
+ // Expand letters to groups to handle mixing of case-sensitive and
+ // case-insensitive patterns if necessary.
+ if (regex.ignoreCase && needToFoldCase) {
+ for (var i = 0; i < n; ++i) {
+ var p = parts[i];
+ var ch0 = p.charAt(0);
+ if (p.length >= 2 && ch0 === '[') {
+ parts[i] = caseFoldCharset(p);
+ } else if (ch0 !== '\\') {
+ // TODO: handle letters in numeric escapes.
+ parts[i] = p.replace(
+ /[a-zA-Z]/g,
+ function (ch) {
+ var cc = ch.charCodeAt(0);
+ return '[' + String.fromCharCode(cc & ~32, cc | 32) + ']';
+ });
+ }
+ }
+ }
+
+ return parts.join('');
+ }
+
+ var rewritten = [];
+ for (var i = 0, n = regexs.length; i < n; ++i) {
+ var regex = regexs[i];
+ if (regex.global || regex.multiline) { throw new Error('' + regex); }
+ rewritten.push(
+ '(?:' + allowAnywhereFoldCaseAndRenumberGroups(regex) + ')');
+ }
+
+ return new RegExp(rewritten.join('|'), ignoreCase ? 'gi' : 'g');
+ }
+
+
+ /**
+ * Split markup into a string of source code and an array mapping ranges in
+ * that string to the text nodes in which they appear.
+ *
+ *
+ * The HTML DOM structure:
+ *
+ * (Element "p"
+ * (Element "b"
+ * (Text "print ")) ; #1
+ * (Text "'Hello '") ; #2
+ * (Element "br") ; #3
+ * (Text " + 'World';")) ; #4
+ *
+ *
+ * corresponds to the HTML
+ * {@code
print 'Hello ' + 'World';
}.
+ *
+ *
+ * It will produce the output:
+ *
+ * {
+ * sourceCode: "print 'Hello '\n + 'World';",
+ * // 1 2
+ * // 012345678901234 5678901234567
+ * spans: [0, #1, 6, #2, 14, #3, 15, #4]
+ * }
+ *
+ *
+ * where #1 is a reference to the {@code "print "} text node above, and so
+ * on for the other text nodes.
+ *
+ *
+ *
+ * The {@code} spans array is an array of pairs. Even elements are the start
+ * indices of substrings, and odd elements are the text nodes (or BR elements)
+ * that contain the text for those substrings.
+ * Substrings continue until the next index or the end of the source.
+ *
+ *
+ * @param {Node} node an HTML DOM subtree containing source-code.
+ * @param {boolean} isPreformatted true if white-space in text nodes should
+ * be considered significant.
+ * @return {Object} source code and the text nodes in which they occur.
+ */
+ function extractSourceSpans(node, isPreformatted) {
+ var nocode = /(?:^|\s)nocode(?:\s|$)/;
+
+ var chunks = [];
+ var length = 0;
+ var spans = [];
+ var k = 0;
+
+ function walk(node) {
+ switch (node.nodeType) {
+ case 1: // Element
+ if (nocode.test(node.className)) { return; }
+ for (var child = node.firstChild; child; child = child.nextSibling) {
+ walk(child);
+ }
+ var nodeName = node.nodeName.toLowerCase();
+ if ('br' === nodeName || 'li' === nodeName) {
+ chunks[k] = '\n';
+ spans[k << 1] = length++;
+ spans[(k++ << 1) | 1] = node;
+ }
+ break;
+ case 3: case 4: // Text
+ var text = node.nodeValue;
+ if (text.length) {
+ if (!isPreformatted) {
+ text = text.replace(/[ \t\r\n]+/g, ' ');
+ } else {
+ text = text.replace(/\r\n?/g, '\n'); // Normalize newlines.
+ }
+ // TODO: handle tabs here?
+ chunks[k] = text;
+ spans[k << 1] = length;
+ length += text.length;
+ spans[(k++ << 1) | 1] = node;
+ }
+ break;
+ }
+ }
+
+ walk(node);
+
+ return {
+ sourceCode: chunks.join('').replace(/\n$/, ''),
+ spans: spans
+ };
+ }
+
+
+ /**
+ * Apply the given language handler to sourceCode and add the resulting
+ * decorations to out.
+ * @param {number} basePos the index of sourceCode within the chunk of source
+ * whose decorations are already present on out.
+ */
+ function appendDecorations(basePos, sourceCode, langHandler, out) {
+ if (!sourceCode) { return; }
+ var job = {
+ sourceCode: sourceCode,
+ basePos: basePos
+ };
+ langHandler(job);
+ out.push.apply(out, job.decorations);
+ }
+
+ var notWs = /\S/;
+
+ /**
+ * Given an element, if it contains only one child element and any text nodes
+ * it contains contain only space characters, return the sole child element.
+ * Otherwise returns undefined.
+ *
+ * This is meant to return the CODE element in {@code
} when
+ * there is a single child element that contains all the non-space textual
+ * content, but not to return anything where there are multiple child elements
+ * as in {@code ...
...
} or when there
+ * is textual content.
+ */
+ function childContentWrapper(element) {
+ var wrapper = undefined;
+ for (var c = element.firstChild; c; c = c.nextSibling) {
+ var type = c.nodeType;
+ wrapper = (type === 1) // Element Node
+ ? (wrapper ? element : c)
+ : (type === 3) // Text Node
+ ? (notWs.test(c.nodeValue) ? element : wrapper)
+ : wrapper;
+ }
+ return wrapper === element ? undefined : wrapper;
+ }
+
+ /** Given triples of [style, pattern, context] returns a lexing function,
+ * The lexing function interprets the patterns to find token boundaries and
+ * returns a decoration list of the form
+ * [index_0, style_0, index_1, style_1, ..., index_n, style_n]
+ * where index_n is an index into the sourceCode, and style_n is a style
+ * constant like PR_PLAIN. index_n-1 <= index_n, and style_n-1 applies to
+ * all characters in sourceCode[index_n-1:index_n].
+ *
+ * The stylePatterns is a list whose elements have the form
+ * [style : string, pattern : RegExp, DEPRECATED, shortcut : string].
+ *
+ * Style is a style constant like PR_PLAIN, or can be a string of the
+ * form 'lang-FOO', where FOO is a language extension describing the
+ * language of the portion of the token in $1 after pattern executes.
+ * E.g., if style is 'lang-lisp', and group 1 contains the text
+ * '(hello (world))', then that portion of the token will be passed to the
+ * registered lisp handler for formatting.
+ * The text before and after group 1 will be restyled using this decorator
+ * so decorators should take care that this doesn't result in infinite
+ * recursion. For example, the HTML lexer rule for SCRIPT elements looks
+ * something like ['lang-js', /<[s]cript>(.+?)<\/script>/]. This may match
+ * '
+
+
+
+
+
+
+
+
+<script type="text/javascript">
+// Say hello world until the user starts questioning
+// the meaningfulness of their existence.
+function helloWorld(world) {
+ for (var i = 42; --i >= 0;) {
+ alert('Hello ' + String(world));
+ }
+}
+</script>
+<style>
+p { color: pink }
+b { color: blue }
+u { color: "umber" }
+</style>
+
+
+
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/desert.css b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/desert.css
new file mode 100644
index 0000000000..3db27cf79e
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/desert.css
@@ -0,0 +1,35 @@
+/* desert scheme ported from vim to google prettify */
+pre.prettyprint { display: block; background-color: #333 }
+pre .nocode { background-color: none; color: #000 }
+pre .str { color: #ffa0a0 } /* string - pink */
+pre .kwd { color: #f0e68c; font-weight: bold }
+pre .com { color: #87ceeb } /* comment - skyblue */
+pre .typ { color: #98fb98 } /* type - lightgreen */
+pre .lit { color: #cd5c5c } /* literal - darkred */
+pre .pun { color: #fff } /* punctuation */
+pre .pln { color: #fff } /* plaintext */
+pre .tag { color: #f0e68c; font-weight: bold } /* html/xml tag - lightyellow */
+pre .atn { color: #bdb76b; font-weight: bold } /* attribute name - khaki */
+pre .atv { color: #ffa0a0 } /* attribute value - pink */
+pre .dec { color: #98fb98 } /* decimal - lightgreen */
+
+/* Specify class=linenums on a pre to get line numbering */
+ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE } /* IE indents via margin-left */
+li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
+/* Alternate shading for lines */
+li.L1,li.L3,li.L5,li.L7,li.L9 { }
+
+@media print {
+ pre.prettyprint { background-color: none }
+ pre .str, code .str { color: #060 }
+ pre .kwd, code .kwd { color: #006; font-weight: bold }
+ pre .com, code .com { color: #600; font-style: italic }
+ pre .typ, code .typ { color: #404; font-weight: bold }
+ pre .lit, code .lit { color: #044 }
+ pre .pun, code .pun { color: #440 }
+ pre .pln, code .pln { color: #000 }
+ pre .tag, code .tag { color: #006; font-weight: bold }
+ pre .atn, code .atn { color: #404 }
+ pre .atv, code .atv { color: #060 }
+}
+
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/index.html b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/index.html
new file mode 100644
index 0000000000..f00a0348ac
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/index.html
@@ -0,0 +1,88 @@
+
+
+Prettify Themes Gallery
+
+
+
+
+
+This page requires JavaScript
+
+
+
+Click on a theme name for a link to the file in revision control.
+Print preview this page to see how the themes work on the printed page.
+
+
+
+
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/sons-of-obsidian.css b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/sons-of-obsidian.css
new file mode 100644
index 0000000000..7d24f3b470
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/sons-of-obsidian.css
@@ -0,0 +1,118 @@
+/*
+ * Derived from einaros's Sons of Obsidian theme at
+ * http://studiostyl.es/schemes/son-of-obsidian by
+ * Alex Ford of CodeTunnel:
+ * http://CodeTunnel.com/blog/post/71/google-code-prettify-obsidian-theme
+ */
+
+.str
+{
+ color: #EC7600;
+}
+.kwd
+{
+ color: #93C763;
+}
+.com
+{
+ color: #66747B;
+}
+.typ
+{
+ color: #678CB1;
+}
+.lit
+{
+ color: #FACD22;
+}
+.pun
+{
+ color: #F1F2F3;
+}
+.pln
+{
+ color: #F1F2F3;
+}
+.tag
+{
+ color: #8AC763;
+}
+.atn
+{
+ color: #E0E2E4;
+}
+.atv
+{
+ color: #EC7600;
+}
+.dec
+{
+ color: purple;
+}
+pre.prettyprint
+{
+ border: 0px solid #888;
+}
+ol.linenums
+{
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.prettyprint {
+ background: #000;
+}
+li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9
+{
+ color: #555;
+ list-style-type: decimal;
+}
+li.L1, li.L3, li.L5, li.L7, li.L9 {
+ background: #111;
+}
+@media print
+{
+ .str
+ {
+ color: #060;
+ }
+ .kwd
+ {
+ color: #006;
+ font-weight: bold;
+ }
+ .com
+ {
+ color: #600;
+ font-style: italic;
+ }
+ .typ
+ {
+ color: #404;
+ font-weight: bold;
+ }
+ .lit
+ {
+ color: #044;
+ }
+ .pun
+ {
+ color: #440;
+ }
+ .pln
+ {
+ color: #000;
+ }
+ .tag
+ {
+ color: #006;
+ font-weight: bold;
+ }
+ .atn
+ {
+ color: #404;
+ }
+ .atv
+ {
+ color: #060;
+ }
+}
diff --git a/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/sunburst.css b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/sunburst.css
new file mode 100644
index 0000000000..011d33e2c8
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/google-code-prettify-1.0.1/styles/sunburst.css
@@ -0,0 +1,51 @@
+/* Pretty printing styles. Used with prettify.js. */
+/* Vim sunburst theme by David Leibovic */
+
+pre .str, code .str { color: #65B042; } /* string - green */
+pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */
+pre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */
+pre .typ, code .typ { color: #89bdff; } /* type - light blue */
+pre .lit, code .lit { color: #3387CC; } /* literal - blue */
+pre .pun, code .pun { color: #fff; } /* punctuation - white */
+pre .pln, code .pln { color: #fff; } /* plaintext - white */
+pre .tag, code .tag { color: #89bdff; } /* html/xml tag - light blue */
+pre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name - khaki */
+pre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */
+pre .dec, code .dec { color: #3387CC; } /* decimal - blue */
+
+pre.prettyprint, code.prettyprint {
+ background-color: #000;
+ -moz-border-radius: 8px;
+ -webkit-border-radius: 8px;
+ -o-border-radius: 8px;
+ -ms-border-radius: 8px;
+ -khtml-border-radius: 8px;
+ border-radius: 8px;
+}
+
+pre.prettyprint {
+ width: 95%;
+ margin: 1em auto;
+ padding: 1em;
+ white-space: pre-wrap;
+}
+
+
+/* Specify class=linenums on a pre to get line numbering */
+ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; } /* IE indents via margin-left */
+li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
+/* Alternate shading for lines */
+li.L1,li.L3,li.L5,li.L7,li.L9 { }
+
+@media print {
+ pre .str, code .str { color: #060; }
+ pre .kwd, code .kwd { color: #006; font-weight: bold; }
+ pre .com, code .com { color: #600; font-style: italic; }
+ pre .typ, code .typ { color: #404; font-weight: bold; }
+ pre .lit, code .lit { color: #044; }
+ pre .pun, code .pun { color: #440; }
+ pre .pln, code .pln { color: #000; }
+ pre .tag, code .tag { color: #006; font-weight: bold; }
+ pre .atn, code .atn { color: #404; }
+ pre .atv, code .atv { color: #060; }
+}
diff --git a/1.3.0-rc.2/docs/components/jquery-2.1.1/jquery.js b/1.3.0-rc.2/docs/components/jquery-2.1.1/jquery.js
new file mode 100644
index 0000000000..9f7b3d3895
--- /dev/null
+++ b/1.3.0-rc.2/docs/components/jquery-2.1.1/jquery.js
@@ -0,0 +1,9190 @@
+/*!
+ * jQuery JavaScript Library v2.1.1
+ * http://jquery.com/
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ *
+ * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
+ * Released under the MIT license
+ * http://jquery.org/license
+ *
+ * Date: 2014-05-01T17:11Z
+ */
+
+(function( global, factory ) {
+
+ if ( typeof module === "object" && typeof module.exports === "object" ) {
+ // For CommonJS and CommonJS-like environments where a proper window is present,
+ // execute the factory and get jQuery
+ // For environments that do not inherently posses a window with a document
+ // (such as Node.js), expose a jQuery-making factory as module.exports
+ // This accentuates the need for the creation of a real window
+ // e.g. var jQuery = require("jquery")(window);
+ // See ticket #14549 for more info
+ module.exports = global.document ?
+ factory( global, true ) :
+ function( w ) {
+ if ( !w.document ) {
+ throw new Error( "jQuery requires a window with a document" );
+ }
+ return factory( w );
+ };
+ } else {
+ factory( global );
+ }
+
+// Pass this if window is not defined yet
+}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
+
+// Can't do this because several apps including ASP.NET trace
+// the stack via arguments.caller.callee and Firefox dies if
+// you try to trace through "use strict" call chains. (#13335)
+// Support: Firefox 18+
+//
+
+var arr = [];
+
+var slice = arr.slice;
+
+var concat = arr.concat;
+
+var push = arr.push;
+
+var indexOf = arr.indexOf;
+
+var class2type = {};
+
+var toString = class2type.toString;
+
+var hasOwn = class2type.hasOwnProperty;
+
+var support = {};
+
+
+
+var
+ // Use the correct document accordingly with window argument (sandbox)
+ document = window.document,
+
+ version = "2.1.1",
+
+ // Define a local copy of jQuery
+ jQuery = function( selector, context ) {
+ // The jQuery object is actually just the init constructor 'enhanced'
+ // Need init if jQuery is called (just allow error to be thrown if not included)
+ return new jQuery.fn.init( selector, context );
+ },
+
+ // Support: Android<4.1
+ // Make sure we trim BOM and NBSP
+ rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
+
+ // Matches dashed string for camelizing
+ rmsPrefix = /^-ms-/,
+ rdashAlpha = /-([\da-z])/gi,
+
+ // Used by jQuery.camelCase as callback to replace()
+ fcamelCase = function( all, letter ) {
+ return letter.toUpperCase();
+ };
+
+jQuery.fn = jQuery.prototype = {
+ // The current version of jQuery being used
+ jquery: version,
+
+ constructor: jQuery,
+
+ // Start with an empty selector
+ selector: "",
+
+ // The default length of a jQuery object is 0
+ length: 0,
+
+ toArray: function() {
+ return slice.call( this );
+ },
+
+ // Get the Nth element in the matched element set OR
+ // Get the whole matched element set as a clean array
+ get: function( num ) {
+ return num != null ?
+
+ // Return just the one element from the set
+ ( num < 0 ? this[ num + this.length ] : this[ num ] ) :
+
+ // Return all the elements in a clean array
+ slice.call( this );
+ },
+
+ // Take an array of elements and push it onto the stack
+ // (returning the new matched element set)
+ pushStack: function( elems ) {
+
+ // Build a new jQuery matched element set
+ var ret = jQuery.merge( this.constructor(), elems );
+
+ // Add the old object onto the stack (as a reference)
+ ret.prevObject = this;
+ ret.context = this.context;
+
+ // Return the newly-formed element set
+ return ret;
+ },
+
+ // Execute a callback for every element in the matched set.
+ // (You can seed the arguments with an array of args, but this is
+ // only used internally.)
+ each: function( callback, args ) {
+ return jQuery.each( this, callback, args );
+ },
+
+ map: function( callback ) {
+ return this.pushStack( jQuery.map(this, function( elem, i ) {
+ return callback.call( elem, i, elem );
+ }));
+ },
+
+ slice: function() {
+ return this.pushStack( slice.apply( this, arguments ) );
+ },
+
+ first: function() {
+ return this.eq( 0 );
+ },
+
+ last: function() {
+ return this.eq( -1 );
+ },
+
+ eq: function( i ) {
+ var len = this.length,
+ j = +i + ( i < 0 ? len : 0 );
+ return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] );
+ },
+
+ end: function() {
+ return this.prevObject || this.constructor(null);
+ },
+
+ // For internal use only.
+ // Behaves like an Array's method, not like a jQuery method.
+ push: push,
+ sort: arr.sort,
+ splice: arr.splice
+};
+
+jQuery.extend = jQuery.fn.extend = function() {
+ var options, name, src, copy, copyIsArray, clone,
+ target = arguments[0] || {},
+ i = 1,
+ length = arguments.length,
+ deep = false;
+
+ // Handle a deep copy situation
+ if ( typeof target === "boolean" ) {
+ deep = target;
+
+ // skip the boolean and the target
+ target = arguments[ i ] || {};
+ i++;
+ }
+
+ // Handle case when target is a string or something (possible in deep copy)
+ if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
+ target = {};
+ }
+
+ // extend jQuery itself if only one argument is passed
+ if ( i === length ) {
+ target = this;
+ i--;
+ }
+
+ for ( ; i < length; i++ ) {
+ // Only deal with non-null/undefined values
+ if ( (options = arguments[ i ]) != null ) {
+ // Extend the base object
+ for ( name in options ) {
+ src = target[ name ];
+ copy = options[ name ];
+
+ // Prevent never-ending loop
+ if ( target === copy ) {
+ continue;
+ }
+
+ // Recurse if we're merging plain objects or arrays
+ if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {
+ if ( copyIsArray ) {
+ copyIsArray = false;
+ clone = src && jQuery.isArray(src) ? src : [];
+
+ } else {
+ clone = src && jQuery.isPlainObject(src) ? src : {};
+ }
+
+ // Never move original objects, clone them
+ target[ name ] = jQuery.extend( deep, clone, copy );
+
+ // Don't bring in undefined values
+ } else if ( copy !== undefined ) {
+ target[ name ] = copy;
+ }
+ }
+ }
+ }
+
+ // Return the modified object
+ return target;
+};
+
+jQuery.extend({
+ // Unique for each copy of jQuery on the page
+ expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
+
+ // Assume jQuery is ready without the ready module
+ isReady: true,
+
+ error: function( msg ) {
+ throw new Error( msg );
+ },
+
+ noop: function() {},
+
+ // See test/unit/core.js for details concerning isFunction.
+ // Since version 1.3, DOM methods and functions like alert
+ // aren't supported. They return false on IE (#2968).
+ isFunction: function( obj ) {
+ return jQuery.type(obj) === "function";
+ },
+
+ isArray: Array.isArray,
+
+ isWindow: function( obj ) {
+ return obj != null && obj === obj.window;
+ },
+
+ isNumeric: function( obj ) {
+ // parseFloat NaNs numeric-cast false positives (null|true|false|"")
+ // ...but misinterprets leading-number strings, particularly hex literals ("0x...")
+ // subtraction forces infinities to NaN
+ return !jQuery.isArray( obj ) && obj - parseFloat( obj ) >= 0;
+ },
+
+ isPlainObject: function( obj ) {
+ // Not plain objects:
+ // - Any object or value whose internal [[Class]] property is not "[object Object]"
+ // - DOM nodes
+ // - window
+ if ( jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
+ return false;
+ }
+
+ if ( obj.constructor &&
+ !hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) {
+ return false;
+ }
+
+ // If the function hasn't returned already, we're confident that
+ // |obj| is a plain object, created by {} or constructed with new Object
+ return true;
+ },
+
+ isEmptyObject: function( obj ) {
+ var name;
+ for ( name in obj ) {
+ return false;
+ }
+ return true;
+ },
+
+ type: function( obj ) {
+ if ( obj == null ) {
+ return obj + "";
+ }
+ // Support: Android < 4.0, iOS < 6 (functionish RegExp)
+ return typeof obj === "object" || typeof obj === "function" ?
+ class2type[ toString.call(obj) ] || "object" :
+ typeof obj;
+ },
+
+ // Evaluates a script in a global context
+ globalEval: function( code ) {
+ var script,
+ indirect = eval;
+
+ code = jQuery.trim( code );
+
+ if ( code ) {
+ // If the code includes a valid, prologue position
+ // strict mode pragma, execute code by injecting a
+ // script tag into the document.
+ if ( code.indexOf("use strict") === 1 ) {
+ script = document.createElement("script");
+ script.text = code;
+ document.head.appendChild( script ).parentNode.removeChild( script );
+ } else {
+ // Otherwise, avoid the DOM node creation, insertion
+ // and removal by using an indirect global eval
+ indirect( code );
+ }
+ }
+ },
+
+ // Convert dashed to camelCase; used by the css and data modules
+ // Microsoft forgot to hump their vendor prefix (#9572)
+ camelCase: function( string ) {
+ return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
+ },
+
+ nodeName: function( elem, name ) {
+ return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
+ },
+
+ // args is for internal usage only
+ each: function( obj, callback, args ) {
+ var value,
+ i = 0,
+ length = obj.length,
+ isArray = isArraylike( obj );
+
+ if ( args ) {
+ if ( isArray ) {
+ for ( ; i < length; i++ ) {
+ value = callback.apply( obj[ i ], args );
+
+ if ( value === false ) {
+ break;
+ }
+ }
+ } else {
+ for ( i in obj ) {
+ value = callback.apply( obj[ i ], args );
+
+ if ( value === false ) {
+ break;
+ }
+ }
+ }
+
+ // A special, fast, case for the most common use of each
+ } else {
+ if ( isArray ) {
+ for ( ; i < length; i++ ) {
+ value = callback.call( obj[ i ], i, obj[ i ] );
+
+ if ( value === false ) {
+ break;
+ }
+ }
+ } else {
+ for ( i in obj ) {
+ value = callback.call( obj[ i ], i, obj[ i ] );
+
+ if ( value === false ) {
+ break;
+ }
+ }
+ }
+ }
+
+ return obj;
+ },
+
+ // Support: Android<4.1
+ trim: function( text ) {
+ return text == null ?
+ "" :
+ ( text + "" ).replace( rtrim, "" );
+ },
+
+ // results is for internal usage only
+ makeArray: function( arr, results ) {
+ var ret = results || [];
+
+ if ( arr != null ) {
+ if ( isArraylike( Object(arr) ) ) {
+ jQuery.merge( ret,
+ typeof arr === "string" ?
+ [ arr ] : arr
+ );
+ } else {
+ push.call( ret, arr );
+ }
+ }
+
+ return ret;
+ },
+
+ inArray: function( elem, arr, i ) {
+ return arr == null ? -1 : indexOf.call( arr, elem, i );
+ },
+
+ merge: function( first, second ) {
+ var len = +second.length,
+ j = 0,
+ i = first.length;
+
+ for ( ; j < len; j++ ) {
+ first[ i++ ] = second[ j ];
+ }
+
+ first.length = i;
+
+ return first;
+ },
+
+ grep: function( elems, callback, invert ) {
+ var callbackInverse,
+ matches = [],
+ i = 0,
+ length = elems.length,
+ callbackExpect = !invert;
+
+ // Go through the array, only saving the items
+ // that pass the validator function
+ for ( ; i < length; i++ ) {
+ callbackInverse = !callback( elems[ i ], i );
+ if ( callbackInverse !== callbackExpect ) {
+ matches.push( elems[ i ] );
+ }
+ }
+
+ return matches;
+ },
+
+ // arg is for internal usage only
+ map: function( elems, callback, arg ) {
+ var value,
+ i = 0,
+ length = elems.length,
+ isArray = isArraylike( elems ),
+ ret = [];
+
+ // Go through the array, translating each of the items to their new values
+ if ( isArray ) {
+ for ( ; i < length; i++ ) {
+ value = callback( elems[ i ], i, arg );
+
+ if ( value != null ) {
+ ret.push( value );
+ }
+ }
+
+ // Go through every key on the object,
+ } else {
+ for ( i in elems ) {
+ value = callback( elems[ i ], i, arg );
+
+ if ( value != null ) {
+ ret.push( value );
+ }
+ }
+ }
+
+ // Flatten any nested arrays
+ return concat.apply( [], ret );
+ },
+
+ // A global GUID counter for objects
+ guid: 1,
+
+ // Bind a function to a context, optionally partially applying any
+ // arguments.
+ proxy: function( fn, context ) {
+ var tmp, args, proxy;
+
+ if ( typeof context === "string" ) {
+ tmp = fn[ context ];
+ context = fn;
+ fn = tmp;
+ }
+
+ // Quick check to determine if target is callable, in the spec
+ // this throws a TypeError, but we will just return undefined.
+ if ( !jQuery.isFunction( fn ) ) {
+ return undefined;
+ }
+
+ // Simulated bind
+ args = slice.call( arguments, 2 );
+ proxy = function() {
+ return fn.apply( context || this, args.concat( slice.call( arguments ) ) );
+ };
+
+ // Set the guid of unique handler to the same of original handler, so it can be removed
+ proxy.guid = fn.guid = fn.guid || jQuery.guid++;
+
+ return proxy;
+ },
+
+ now: Date.now,
+
+ // jQuery.support is not used in Core but other projects attach their
+ // properties to it so it needs to exist.
+ support: support
+});
+
+// Populate the class2type map
+jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) {
+ class2type[ "[object " + name + "]" ] = name.toLowerCase();
+});
+
+function isArraylike( obj ) {
+ var length = obj.length,
+ type = jQuery.type( obj );
+
+ if ( type === "function" || jQuery.isWindow( obj ) ) {
+ return false;
+ }
+
+ if ( obj.nodeType === 1 && length ) {
+ return true;
+ }
+
+ return type === "array" || length === 0 ||
+ typeof length === "number" && length > 0 && ( length - 1 ) in obj;
+}
+var Sizzle =
+/*!
+ * Sizzle CSS Selector Engine v1.10.19
+ * http://sizzlejs.com/
+ *
+ * Copyright 2013 jQuery Foundation, Inc. and other contributors
+ * Released under the MIT license
+ * http://jquery.org/license
+ *
+ * Date: 2014-04-18
+ */
+(function( window ) {
+
+var i,
+ support,
+ Expr,
+ getText,
+ isXML,
+ tokenize,
+ compile,
+ select,
+ outermostContext,
+ sortInput,
+ hasDuplicate,
+
+ // Local document vars
+ setDocument,
+ document,
+ docElem,
+ documentIsHTML,
+ rbuggyQSA,
+ rbuggyMatches,
+ matches,
+ contains,
+
+ // Instance-specific data
+ expando = "sizzle" + -(new Date()),
+ preferredDoc = window.document,
+ dirruns = 0,
+ done = 0,
+ classCache = createCache(),
+ tokenCache = createCache(),
+ compilerCache = createCache(),
+ sortOrder = function( a, b ) {
+ if ( a === b ) {
+ hasDuplicate = true;
+ }
+ return 0;
+ },
+
+ // General-purpose constants
+ strundefined = typeof undefined,
+ MAX_NEGATIVE = 1 << 31,
+
+ // Instance methods
+ hasOwn = ({}).hasOwnProperty,
+ arr = [],
+ pop = arr.pop,
+ push_native = arr.push,
+ push = arr.push,
+ slice = arr.slice,
+ // Use a stripped-down indexOf if we can't use a native one
+ indexOf = arr.indexOf || function( elem ) {
+ var i = 0,
+ len = this.length;
+ for ( ; i < len; i++ ) {
+ if ( this[i] === elem ) {
+ return i;
+ }
+ }
+ return -1;
+ },
+
+ booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
+
+ // Regular expressions
+
+ // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace
+ whitespace = "[\\x20\\t\\r\\n\\f]",
+ // http://www.w3.org/TR/css3-syntax/#characters
+ characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
+
+ // Loosely modeled on CSS identifier characters
+ // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors
+ // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
+ identifier = characterEncoding.replace( "w", "w#" ),
+
+ // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
+ attributes = "\\[" + whitespace + "*(" + characterEncoding + ")(?:" + whitespace +
+ // Operator (capture 2)
+ "*([*^$|!~]?=)" + whitespace +
+ // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
+ "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace +
+ "*\\]",
+
+ pseudos = ":(" + characterEncoding + ")(?:\\((" +
+ // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
+ // 1. quoted (capture 3; capture 4 or capture 5)
+ "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +
+ // 2. simple (capture 6)
+ "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +
+ // 3. anything else (capture 2)
+ ".*" +
+ ")\\)|)",
+
+ // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
+ rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),
+
+ rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),
+ rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),
+
+ rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ),
+
+ rpseudo = new RegExp( pseudos ),
+ ridentifier = new RegExp( "^" + identifier + "$" ),
+
+ matchExpr = {
+ "ID": new RegExp( "^#(" + characterEncoding + ")" ),
+ "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ),
+ "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ),
+ "ATTR": new RegExp( "^" + attributes ),
+ "PSEUDO": new RegExp( "^" + pseudos ),
+ "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +
+ "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +
+ "*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
+ "bool": new RegExp( "^(?:" + booleans + ")$", "i" ),
+ // For use in libraries implementing .is()
+ // We use this for POS matching in `select`
+ "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
+ whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )
+ },
+
+ rinputs = /^(?:input|select|textarea|button)$/i,
+ rheader = /^h\d$/i,
+
+ rnative = /^[^{]+\{\s*\[native \w/,
+
+ // Easily-parseable/retrievable ID or TAG or CLASS selectors
+ rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
+
+ rsibling = /[+~]/,
+ rescape = /'|\\/g,
+
+ // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
+ runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),
+ funescape = function( _, escaped, escapedWhitespace ) {
+ var high = "0x" + escaped - 0x10000;
+ // NaN means non-codepoint
+ // Support: Firefox<24
+ // Workaround erroneous numeric interpretation of +"0x"
+ return high !== high || escapedWhitespace ?
+ escaped :
+ high < 0 ?
+ // BMP codepoint
+ String.fromCharCode( high + 0x10000 ) :
+ // Supplemental Plane codepoint (surrogate pair)
+ String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
+ };
+
+// Optimize for push.apply( _, NodeList )
+try {
+ push.apply(
+ (arr = slice.call( preferredDoc.childNodes )),
+ preferredDoc.childNodes
+ );
+ // Support: Android<4.0
+ // Detect silently failing push.apply
+ arr[ preferredDoc.childNodes.length ].nodeType;
+} catch ( e ) {
+ push = { apply: arr.length ?
+
+ // Leverage slice if possible
+ function( target, els ) {
+ push_native.apply( target, slice.call(els) );
+ } :
+
+ // Support: IE<9
+ // Otherwise append directly
+ function( target, els ) {
+ var j = target.length,
+ i = 0;
+ // Can't trust NodeList.length
+ while ( (target[j++] = els[i++]) ) {}
+ target.length = j - 1;
+ }
+ };
+}
+
+function Sizzle( selector, context, results, seed ) {
+ var match, elem, m, nodeType,
+ // QSA vars
+ i, groups, old, nid, newContext, newSelector;
+
+ if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {
+ setDocument( context );
+ }
+
+ context = context || document;
+ results = results || [];
+
+ if ( !selector || typeof selector !== "string" ) {
+ return results;
+ }
+
+ if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) {
+ return [];
+ }
+
+ if ( documentIsHTML && !seed ) {
+
+ // Shortcuts
+ if ( (match = rquickExpr.exec( selector )) ) {
+ // Speed-up: Sizzle("#ID")
+ if ( (m = match[1]) ) {
+ if ( nodeType === 9 ) {
+ elem = context.getElementById( m );
+ // Check parentNode to catch when Blackberry 4.6 returns
+ // nodes that are no longer in the document (jQuery #6963)
+ if ( elem && elem.parentNode ) {
+ // Handle the case where IE, Opera, and Webkit return items
+ // by name instead of ID
+ if ( elem.id === m ) {
+ results.push( elem );
+ return results;
+ }
+ } else {
+ return results;
+ }
+ } else {
+ // Context is not a document
+ if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&
+ contains( context, elem ) && elem.id === m ) {
+ results.push( elem );
+ return results;
+ }
+ }
+
+ // Speed-up: Sizzle("TAG")
+ } else if ( match[2] ) {
+ push.apply( results, context.getElementsByTagName( selector ) );
+ return results;
+
+ // Speed-up: Sizzle(".CLASS")
+ } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) {
+ push.apply( results, context.getElementsByClassName( m ) );
+ return results;
+ }
+ }
+
+ // QSA path
+ if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {
+ nid = old = expando;
+ newContext = context;
+ newSelector = nodeType === 9 && selector;
+
+ // qSA works strangely on Element-rooted queries
+ // We can work around this by specifying an extra ID on the root
+ // and working up from there (Thanks to Andrew Dupont for the technique)
+ // IE 8 doesn't work on object elements
+ if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
+ groups = tokenize( selector );
+
+ if ( (old = context.getAttribute("id")) ) {
+ nid = old.replace( rescape, "\\$&" );
+ } else {
+ context.setAttribute( "id", nid );
+ }
+ nid = "[id='" + nid + "'] ";
+
+ i = groups.length;
+ while ( i-- ) {
+ groups[i] = nid + toSelector( groups[i] );
+ }
+ newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context;
+ newSelector = groups.join(",");
+ }
+
+ if ( newSelector ) {
+ try {
+ push.apply( results,
+ newContext.querySelectorAll( newSelector )
+ );
+ return results;
+ } catch(qsaError) {
+ } finally {
+ if ( !old ) {
+ context.removeAttribute("id");
+ }
+ }
+ }
+ }
+ }
+
+ // All others
+ return select( selector.replace( rtrim, "$1" ), context, results, seed );
+}
+
+/**
+ * Create key-value caches of limited size
+ * @returns {Function(string, Object)} Returns the Object data after storing it on itself with
+ * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
+ * deleting the oldest entry
+ */
+function createCache() {
+ var keys = [];
+
+ function cache( key, value ) {
+ // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
+ if ( keys.push( key + " " ) > Expr.cacheLength ) {
+ // Only keep the most recent entries
+ delete cache[ keys.shift() ];
+ }
+ return (cache[ key + " " ] = value);
+ }
+ return cache;
+}
+
+/**
+ * Mark a function for special use by Sizzle
+ * @param {Function} fn The function to mark
+ */
+function markFunction( fn ) {
+ fn[ expando ] = true;
+ return fn;
+}
+
+/**
+ * Support testing using an element
+ * @param {Function} fn Passed the created div and expects a boolean result
+ */
+function assert( fn ) {
+ var div = document.createElement("div");
+
+ try {
+ return !!fn( div );
+ } catch (e) {
+ return false;
+ } finally {
+ // Remove from its parent by default
+ if ( div.parentNode ) {
+ div.parentNode.removeChild( div );
+ }
+ // release memory in IE
+ div = null;
+ }
+}
+
+/**
+ * Adds the same handler for all of the specified attrs
+ * @param {String} attrs Pipe-separated list of attributes
+ * @param {Function} handler The method that will be applied
+ */
+function addHandle( attrs, handler ) {
+ var arr = attrs.split("|"),
+ i = attrs.length;
+
+ while ( i-- ) {
+ Expr.attrHandle[ arr[i] ] = handler;
+ }
+}
+
+/**
+ * Checks document order of two siblings
+ * @param {Element} a
+ * @param {Element} b
+ * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
+ */
+function siblingCheck( a, b ) {
+ var cur = b && a,
+ diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
+ ( ~b.sourceIndex || MAX_NEGATIVE ) -
+ ( ~a.sourceIndex || MAX_NEGATIVE );
+
+ // Use IE sourceIndex if available on both nodes
+ if ( diff ) {
+ return diff;
+ }
+
+ // Check if b follows a
+ if ( cur ) {
+ while ( (cur = cur.nextSibling) ) {
+ if ( cur === b ) {
+ return -1;
+ }
+ }
+ }
+
+ return a ? 1 : -1;
+}
+
+/**
+ * Returns a function to use in pseudos for input types
+ * @param {String} type
+ */
+function createInputPseudo( type ) {
+ return function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return name === "input" && elem.type === type;
+ };
+}
+
+/**
+ * Returns a function to use in pseudos for buttons
+ * @param {String} type
+ */
+function createButtonPseudo( type ) {
+ return function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return (name === "input" || name === "button") && elem.type === type;
+ };
+}
+
+/**
+ * Returns a function to use in pseudos for positionals
+ * @param {Function} fn
+ */
+function createPositionalPseudo( fn ) {
+ return markFunction(function( argument ) {
+ argument = +argument;
+ return markFunction(function( seed, matches ) {
+ var j,
+ matchIndexes = fn( [], seed.length, argument ),
+ i = matchIndexes.length;
+
+ // Match elements found at the specified indexes
+ while ( i-- ) {
+ if ( seed[ (j = matchIndexes[i]) ] ) {
+ seed[j] = !(matches[j] = seed[j]);
+ }
+ }
+ });
+ });
+}
+
+/**
+ * Checks a node for validity as a Sizzle context
+ * @param {Element|Object=} context
+ * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
+ */
+function testContext( context ) {
+ return context && typeof context.getElementsByTagName !== strundefined && context;
+}
+
+// Expose support vars for convenience
+support = Sizzle.support = {};
+
+/**
+ * Detects XML nodes
+ * @param {Element|Object} elem An element or a document
+ * @returns {Boolean} True iff elem is a non-HTML XML node
+ */
+isXML = Sizzle.isXML = function( elem ) {
+ // documentElement is verified for cases where it doesn't yet exist
+ // (such as loading iframes in IE - #4833)
+ var documentElement = elem && (elem.ownerDocument || elem).documentElement;
+ return documentElement ? documentElement.nodeName !== "HTML" : false;
+};
+
+/**
+ * Sets document-related variables once based on the current document
+ * @param {Element|Object} [doc] An element or document object to use to set the document
+ * @returns {Object} Returns the current document
+ */
+setDocument = Sizzle.setDocument = function( node ) {
+ var hasCompare,
+ doc = node ? node.ownerDocument || node : preferredDoc,
+ parent = doc.defaultView;
+
+ // If no document and documentElement is available, return
+ if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {
+ return document;
+ }
+
+ // Set our document
+ document = doc;
+ docElem = doc.documentElement;
+
+ // Support tests
+ documentIsHTML = !isXML( doc );
+
+ // Support: IE>8
+ // If iframe document is assigned to "document" variable and if iframe has been reloaded,
+ // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936
+ // IE6-8 do not support the defaultView property so parent will be undefined
+ if ( parent && parent !== parent.top ) {
+ // IE11 does not have attachEvent, so all must suffer
+ if ( parent.addEventListener ) {
+ parent.addEventListener( "unload", function() {
+ setDocument();
+ }, false );
+ } else if ( parent.attachEvent ) {
+ parent.attachEvent( "onunload", function() {
+ setDocument();
+ });
+ }
+ }
+
+ /* Attributes
+ ---------------------------------------------------------------------- */
+
+ // Support: IE<8
+ // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans)
+ support.attributes = assert(function( div ) {
+ div.className = "i";
+ return !div.getAttribute("className");
+ });
+
+ /* getElement(s)By*
+ ---------------------------------------------------------------------- */
+
+ // Check if getElementsByTagName("*") returns only elements
+ support.getElementsByTagName = assert(function( div ) {
+ div.appendChild( doc.createComment("") );
+ return !div.getElementsByTagName("*").length;
+ });
+
+ // Check if getElementsByClassName can be trusted
+ support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) {
+ div.innerHTML = "
";
+
+ // Support: Safari<4
+ // Catch class over-caching
+ div.firstChild.className = "i";
+ // Support: Opera<10
+ // Catch gEBCN failure to find non-leading classes
+ return div.getElementsByClassName("i").length === 2;
+ });
+
+ // Support: IE<10
+ // Check if getElementById returns elements by name
+ // The broken getElementById methods don't pick up programatically-set names,
+ // so use a roundabout getElementsByName test
+ support.getById = assert(function( div ) {
+ docElem.appendChild( div ).id = expando;
+ return !doc.getElementsByName || !doc.getElementsByName( expando ).length;
+ });
+
+ // ID find and filter
+ if ( support.getById ) {
+ Expr.find["ID"] = function( id, context ) {
+ if ( typeof context.getElementById !== strundefined && documentIsHTML ) {
+ var m = context.getElementById( id );
+ // Check parentNode to catch when Blackberry 4.6 returns
+ // nodes that are no longer in the document #6963
+ return m && m.parentNode ? [ m ] : [];
+ }
+ };
+ Expr.filter["ID"] = function( id ) {
+ var attrId = id.replace( runescape, funescape );
+ return function( elem ) {
+ return elem.getAttribute("id") === attrId;
+ };
+ };
+ } else {
+ // Support: IE6/7
+ // getElementById is not reliable as a find shortcut
+ delete Expr.find["ID"];
+
+ Expr.filter["ID"] = function( id ) {
+ var attrId = id.replace( runescape, funescape );
+ return function( elem ) {
+ var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id");
+ return node && node.value === attrId;
+ };
+ };
+ }
+
+ // Tag
+ Expr.find["TAG"] = support.getElementsByTagName ?
+ function( tag, context ) {
+ if ( typeof context.getElementsByTagName !== strundefined ) {
+ return context.getElementsByTagName( tag );
+ }
+ } :
+ function( tag, context ) {
+ var elem,
+ tmp = [],
+ i = 0,
+ results = context.getElementsByTagName( tag );
+
+ // Filter out possible comments
+ if ( tag === "*" ) {
+ while ( (elem = results[i++]) ) {
+ if ( elem.nodeType === 1 ) {
+ tmp.push( elem );
+ }
+ }
+
+ return tmp;
+ }
+ return results;
+ };
+
+ // Class
+ Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) {
+ if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) {
+ return context.getElementsByClassName( className );
+ }
+ };
+
+ /* QSA/matchesSelector
+ ---------------------------------------------------------------------- */
+
+ // QSA and matchesSelector support
+
+ // matchesSelector(:active) reports false when true (IE9/Opera 11.5)
+ rbuggyMatches = [];
+
+ // qSa(:focus) reports false when true (Chrome 21)
+ // We allow this because of a bug in IE8/9 that throws an error
+ // whenever `document.activeElement` is accessed on an iframe
+ // So, we allow :focus to pass through QSA all the time to avoid the IE error
+ // See http://bugs.jquery.com/ticket/13378
+ rbuggyQSA = [];
+
+ if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) {
+ // Build QSA regex
+ // Regex strategy adopted from Diego Perini
+ assert(function( div ) {
+ // Select is set to empty string on purpose
+ // This is to test IE's treatment of not explicitly
+ // setting a boolean content attribute,
+ // since its presence should be enough
+ // http://bugs.jquery.com/ticket/12359
+ div.innerHTML = " ";
+
+ // Support: IE8, Opera 11-12.16
+ // Nothing should be selected when empty strings follow ^= or $= or *=
+ // The test attribute must be unknown in Opera but "safe" for WinRT
+ // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section
+ if ( div.querySelectorAll("[msallowclip^='']").length ) {
+ rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );
+ }
+
+ // Support: IE8
+ // Boolean attributes and "value" are not treated correctly
+ if ( !div.querySelectorAll("[selected]").length ) {
+ rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
+ }
+
+ // Webkit/Opera - :checked should return selected option elements
+ // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+ // IE8 throws error here and will not see later tests
+ if ( !div.querySelectorAll(":checked").length ) {
+ rbuggyQSA.push(":checked");
+ }
+ });
+
+ assert(function( div ) {
+ // Support: Windows 8 Native Apps
+ // The type and name attributes are restricted during .innerHTML assignment
+ var input = doc.createElement("input");
+ input.setAttribute( "type", "hidden" );
+ div.appendChild( input ).setAttribute( "name", "D" );
+
+ // Support: IE8
+ // Enforce case-sensitivity of name attribute
+ if ( div.querySelectorAll("[name=d]").length ) {
+ rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" );
+ }
+
+ // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
+ // IE8 throws error here and will not see later tests
+ if ( !div.querySelectorAll(":enabled").length ) {
+ rbuggyQSA.push( ":enabled", ":disabled" );
+ }
+
+ // Opera 10-11 does not throw on post-comma invalid pseudos
+ div.querySelectorAll("*,:x");
+ rbuggyQSA.push(",.*:");
+ });
+ }
+
+ if ( (support.matchesSelector = rnative.test( (matches = docElem.matches ||
+ docElem.webkitMatchesSelector ||
+ docElem.mozMatchesSelector ||
+ docElem.oMatchesSelector ||
+ docElem.msMatchesSelector) )) ) {
+
+ assert(function( div ) {
+ // Check to see if it's possible to do matchesSelector
+ // on a disconnected node (IE 9)
+ support.disconnectedMatch = matches.call( div, "div" );
+
+ // This should fail with an exception
+ // Gecko does not error, returns false instead
+ matches.call( div, "[s!='']:x" );
+ rbuggyMatches.push( "!=", pseudos );
+ });
+ }
+
+ rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );
+ rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );
+
+ /* Contains
+ ---------------------------------------------------------------------- */
+ hasCompare = rnative.test( docElem.compareDocumentPosition );
+
+ // Element contains another
+ // Purposefully does not implement inclusive descendent
+ // As in, an element does not contain itself
+ contains = hasCompare || rnative.test( docElem.contains ) ?
+ function( a, b ) {
+ var adown = a.nodeType === 9 ? a.documentElement : a,
+ bup = b && b.parentNode;
+ return a === bup || !!( bup && bup.nodeType === 1 && (
+ adown.contains ?
+ adown.contains( bup ) :
+ a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
+ ));
+ } :
+ function( a, b ) {
+ if ( b ) {
+ while ( (b = b.parentNode) ) {
+ if ( b === a ) {
+ return true;
+ }
+ }
+ }
+ return false;
+ };
+
+ /* Sorting
+ ---------------------------------------------------------------------- */
+
+ // Document order sorting
+ sortOrder = hasCompare ?
+ function( a, b ) {
+
+ // Flag for duplicate removal
+ if ( a === b ) {
+ hasDuplicate = true;
+ return 0;
+ }
+
+ // Sort on method existence if only one input has compareDocumentPosition
+ var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
+ if ( compare ) {
+ return compare;
+ }
+
+ // Calculate position if both inputs belong to the same document
+ compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?
+ a.compareDocumentPosition( b ) :
+
+ // Otherwise we know they are disconnected
+ 1;
+
+ // Disconnected nodes
+ if ( compare & 1 ||
+ (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {
+
+ // Choose the first element that is related to our preferred document
+ if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {
+ return -1;
+ }
+ if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {
+ return 1;
+ }
+
+ // Maintain original order
+ return sortInput ?
+ ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
+ 0;
+ }
+
+ return compare & 4 ? -1 : 1;
+ } :
+ function( a, b ) {
+ // Exit early if the nodes are identical
+ if ( a === b ) {
+ hasDuplicate = true;
+ return 0;
+ }
+
+ var cur,
+ i = 0,
+ aup = a.parentNode,
+ bup = b.parentNode,
+ ap = [ a ],
+ bp = [ b ];
+
+ // Parentless nodes are either documents or disconnected
+ if ( !aup || !bup ) {
+ return a === doc ? -1 :
+ b === doc ? 1 :
+ aup ? -1 :
+ bup ? 1 :
+ sortInput ?
+ ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
+ 0;
+
+ // If the nodes are siblings, we can do a quick check
+ } else if ( aup === bup ) {
+ return siblingCheck( a, b );
+ }
+
+ // Otherwise we need full lists of their ancestors for comparison
+ cur = a;
+ while ( (cur = cur.parentNode) ) {
+ ap.unshift( cur );
+ }
+ cur = b;
+ while ( (cur = cur.parentNode) ) {
+ bp.unshift( cur );
+ }
+
+ // Walk down the tree looking for a discrepancy
+ while ( ap[i] === bp[i] ) {
+ i++;
+ }
+
+ return i ?
+ // Do a sibling check if the nodes have a common ancestor
+ siblingCheck( ap[i], bp[i] ) :
+
+ // Otherwise nodes in our document sort first
+ ap[i] === preferredDoc ? -1 :
+ bp[i] === preferredDoc ? 1 :
+ 0;
+ };
+
+ return doc;
+};
+
+Sizzle.matches = function( expr, elements ) {
+ return Sizzle( expr, null, null, elements );
+};
+
+Sizzle.matchesSelector = function( elem, expr ) {
+ // Set document vars if needed
+ if ( ( elem.ownerDocument || elem ) !== document ) {
+ setDocument( elem );
+ }
+
+ // Make sure that attribute selectors are quoted
+ expr = expr.replace( rattributeQuotes, "='$1']" );
+
+ if ( support.matchesSelector && documentIsHTML &&
+ ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
+ ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
+
+ try {
+ var ret = matches.call( elem, expr );
+
+ // IE 9's matchesSelector returns false on disconnected nodes
+ if ( ret || support.disconnectedMatch ||
+ // As well, disconnected nodes are said to be in a document
+ // fragment in IE 9
+ elem.document && elem.document.nodeType !== 11 ) {
+ return ret;
+ }
+ } catch(e) {}
+ }
+
+ return Sizzle( expr, document, null, [ elem ] ).length > 0;
+};
+
+Sizzle.contains = function( context, elem ) {
+ // Set document vars if needed
+ if ( ( context.ownerDocument || context ) !== document ) {
+ setDocument( context );
+ }
+ return contains( context, elem );
+};
+
+Sizzle.attr = function( elem, name ) {
+ // Set document vars if needed
+ if ( ( elem.ownerDocument || elem ) !== document ) {
+ setDocument( elem );
+ }
+
+ var fn = Expr.attrHandle[ name.toLowerCase() ],
+ // Don't get fooled by Object.prototype properties (jQuery #13807)
+ val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
+ fn( elem, name, !documentIsHTML ) :
+ undefined;
+
+ return val !== undefined ?
+ val :
+ support.attributes || !documentIsHTML ?
+ elem.getAttribute( name ) :
+ (val = elem.getAttributeNode(name)) && val.specified ?
+ val.value :
+ null;
+};
+
+Sizzle.error = function( msg ) {
+ throw new Error( "Syntax error, unrecognized expression: " + msg );
+};
+
+/**
+ * Document sorting and removing duplicates
+ * @param {ArrayLike} results
+ */
+Sizzle.uniqueSort = function( results ) {
+ var elem,
+ duplicates = [],
+ j = 0,
+ i = 0;
+
+ // Unless we *know* we can detect duplicates, assume their presence
+ hasDuplicate = !support.detectDuplicates;
+ sortInput = !support.sortStable && results.slice( 0 );
+ results.sort( sortOrder );
+
+ if ( hasDuplicate ) {
+ while ( (elem = results[i++]) ) {
+ if ( elem === results[ i ] ) {
+ j = duplicates.push( i );
+ }
+ }
+ while ( j-- ) {
+ results.splice( duplicates[ j ], 1 );
+ }
+ }
+
+ // Clear input after sorting to release objects
+ // See https://github.com/jquery/sizzle/pull/225
+ sortInput = null;
+
+ return results;
+};
+
+/**
+ * Utility function for retrieving the text value of an array of DOM nodes
+ * @param {Array|Element} elem
+ */
+getText = Sizzle.getText = function( elem ) {
+ var node,
+ ret = "",
+ i = 0,
+ nodeType = elem.nodeType;
+
+ if ( !nodeType ) {
+ // If no nodeType, this is expected to be an array
+ while ( (node = elem[i++]) ) {
+ // Do not traverse comment nodes
+ ret += getText( node );
+ }
+ } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
+ // Use textContent for elements
+ // innerText usage removed for consistency of new lines (jQuery #11153)
+ if ( typeof elem.textContent === "string" ) {
+ return elem.textContent;
+ } else {
+ // Traverse its children
+ for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
+ ret += getText( elem );
+ }
+ }
+ } else if ( nodeType === 3 || nodeType === 4 ) {
+ return elem.nodeValue;
+ }
+ // Do not include comment or processing instruction nodes
+
+ return ret;
+};
+
+Expr = Sizzle.selectors = {
+
+ // Can be adjusted by the user
+ cacheLength: 50,
+
+ createPseudo: markFunction,
+
+ match: matchExpr,
+
+ attrHandle: {},
+
+ find: {},
+
+ relative: {
+ ">": { dir: "parentNode", first: true },
+ " ": { dir: "parentNode" },
+ "+": { dir: "previousSibling", first: true },
+ "~": { dir: "previousSibling" }
+ },
+
+ preFilter: {
+ "ATTR": function( match ) {
+ match[1] = match[1].replace( runescape, funescape );
+
+ // Move the given value to match[3] whether quoted or unquoted
+ match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape );
+
+ if ( match[2] === "~=" ) {
+ match[3] = " " + match[3] + " ";
+ }
+
+ return match.slice( 0, 4 );
+ },
+
+ "CHILD": function( match ) {
+ /* matches from matchExpr["CHILD"]
+ 1 type (only|nth|...)
+ 2 what (child|of-type)
+ 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
+ 4 xn-component of xn+y argument ([+-]?\d*n|)
+ 5 sign of xn-component
+ 6 x of xn-component
+ 7 sign of y-component
+ 8 y of y-component
+ */
+ match[1] = match[1].toLowerCase();
+
+ if ( match[1].slice( 0, 3 ) === "nth" ) {
+ // nth-* requires argument
+ if ( !match[3] ) {
+ Sizzle.error( match[0] );
+ }
+
+ // numeric x and y parameters for Expr.filter.CHILD
+ // remember that false/true cast respectively to 0/1
+ match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );
+ match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );
+
+ // other types prohibit arguments
+ } else if ( match[3] ) {
+ Sizzle.error( match[0] );
+ }
+
+ return match;
+ },
+
+ "PSEUDO": function( match ) {
+ var excess,
+ unquoted = !match[6] && match[2];
+
+ if ( matchExpr["CHILD"].test( match[0] ) ) {
+ return null;
+ }
+
+ // Accept quoted arguments as-is
+ if ( match[3] ) {
+ match[2] = match[4] || match[5] || "";
+
+ // Strip excess characters from unquoted arguments
+ } else if ( unquoted && rpseudo.test( unquoted ) &&
+ // Get excess from tokenize (recursively)
+ (excess = tokenize( unquoted, true )) &&
+ // advance to the next closing parenthesis
+ (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) {
+
+ // excess is a negative index
+ match[0] = match[0].slice( 0, excess );
+ match[2] = unquoted.slice( 0, excess );
+ }
+
+ // Return only captures needed by the pseudo filter method (type and argument)
+ return match.slice( 0, 3 );
+ }
+ },
+
+ filter: {
+
+ "TAG": function( nodeNameSelector ) {
+ var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
+ return nodeNameSelector === "*" ?
+ function() { return true; } :
+ function( elem ) {
+ return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
+ };
+ },
+
+ "CLASS": function( className ) {
+ var pattern = classCache[ className + " " ];
+
+ return pattern ||
+ (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&
+ classCache( className, function( elem ) {
+ return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" );
+ });
+ },
+
+ "ATTR": function( name, operator, check ) {
+ return function( elem ) {
+ var result = Sizzle.attr( elem, name );
+
+ if ( result == null ) {
+ return operator === "!=";
+ }
+ if ( !operator ) {
+ return true;
+ }
+
+ result += "";
+
+ return operator === "=" ? result === check :
+ operator === "!=" ? result !== check :
+ operator === "^=" ? check && result.indexOf( check ) === 0 :
+ operator === "*=" ? check && result.indexOf( check ) > -1 :
+ operator === "$=" ? check && result.slice( -check.length ) === check :
+ operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 :
+ operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :
+ false;
+ };
+ },
+
+ "CHILD": function( type, what, argument, first, last ) {
+ var simple = type.slice( 0, 3 ) !== "nth",
+ forward = type.slice( -4 ) !== "last",
+ ofType = what === "of-type";
+
+ return first === 1 && last === 0 ?
+
+ // Shortcut for :nth-*(n)
+ function( elem ) {
+ return !!elem.parentNode;
+ } :
+
+ function( elem, context, xml ) {
+ var cache, outerCache, node, diff, nodeIndex, start,
+ dir = simple !== forward ? "nextSibling" : "previousSibling",
+ parent = elem.parentNode,
+ name = ofType && elem.nodeName.toLowerCase(),
+ useCache = !xml && !ofType;
+
+ if ( parent ) {
+
+ // :(first|last|only)-(child|of-type)
+ if ( simple ) {
+ while ( dir ) {
+ node = elem;
+ while ( (node = node[ dir ]) ) {
+ if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {
+ return false;
+ }
+ }
+ // Reverse direction for :only-* (if we haven't yet done so)
+ start = dir = type === "only" && !start && "nextSibling";
+ }
+ return true;
+ }
+
+ start = [ forward ? parent.firstChild : parent.lastChild ];
+
+ // non-xml :nth-child(...) stores cache data on `parent`
+ if ( forward && useCache ) {
+ // Seek `elem` from a previously-cached index
+ outerCache = parent[ expando ] || (parent[ expando ] = {});
+ cache = outerCache[ type ] || [];
+ nodeIndex = cache[0] === dirruns && cache[1];
+ diff = cache[0] === dirruns && cache[2];
+ node = nodeIndex && parent.childNodes[ nodeIndex ];
+
+ while ( (node = ++nodeIndex && node && node[ dir ] ||
+
+ // Fallback to seeking `elem` from the start
+ (diff = nodeIndex = 0) || start.pop()) ) {
+
+ // When found, cache indexes on `parent` and break
+ if ( node.nodeType === 1 && ++diff && node === elem ) {
+ outerCache[ type ] = [ dirruns, nodeIndex, diff ];
+ break;
+ }
+ }
+
+ // Use previously-cached element index if available
+ } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {
+ diff = cache[1];
+
+ // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
+ } else {
+ // Use the same loop as above to seek `elem` from the start
+ while ( (node = ++nodeIndex && node && node[ dir ] ||
+ (diff = nodeIndex = 0) || start.pop()) ) {
+
+ if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {
+ // Cache the index of each encountered element
+ if ( useCache ) {
+ (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];
+ }
+
+ if ( node === elem ) {
+ break;
+ }
+ }
+ }
+ }
+
+ // Incorporate the offset, then check against cycle size
+ diff -= last;
+ return diff === first || ( diff % first === 0 && diff / first >= 0 );
+ }
+ };
+ },
+
+ "PSEUDO": function( pseudo, argument ) {
+ // pseudo-class names are case-insensitive
+ // http://www.w3.org/TR/selectors/#pseudo-classes
+ // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
+ // Remember that setFilters inherits from pseudos
+ var args,
+ fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
+ Sizzle.error( "unsupported pseudo: " + pseudo );
+
+ // The user may use createPseudo to indicate that
+ // arguments are needed to create the filter function
+ // just as Sizzle does
+ if ( fn[ expando ] ) {
+ return fn( argument );
+ }
+
+ // But maintain support for old signatures
+ if ( fn.length > 1 ) {
+ args = [ pseudo, pseudo, "", argument ];
+ return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?
+ markFunction(function( seed, matches ) {
+ var idx,
+ matched = fn( seed, argument ),
+ i = matched.length;
+ while ( i-- ) {
+ idx = indexOf.call( seed, matched[i] );
+ seed[ idx ] = !( matches[ idx ] = matched[i] );
+ }
+ }) :
+ function( elem ) {
+ return fn( elem, 0, args );
+ };
+ }
+
+ return fn;
+ }
+ },
+
+ pseudos: {
+ // Potentially complex pseudos
+ "not": markFunction(function( selector ) {
+ // Trim the selector passed to compile
+ // to avoid treating leading and trailing
+ // spaces as combinators
+ var input = [],
+ results = [],
+ matcher = compile( selector.replace( rtrim, "$1" ) );
+
+ return matcher[ expando ] ?
+ markFunction(function( seed, matches, context, xml ) {
+ var elem,
+ unmatched = matcher( seed, null, xml, [] ),
+ i = seed.length;
+
+ // Match elements unmatched by `matcher`
+ while ( i-- ) {
+ if ( (elem = unmatched[i]) ) {
+ seed[i] = !(matches[i] = elem);
+ }
+ }
+ }) :
+ function( elem, context, xml ) {
+ input[0] = elem;
+ matcher( input, null, xml, results );
+ return !results.pop();
+ };
+ }),
+
+ "has": markFunction(function( selector ) {
+ return function( elem ) {
+ return Sizzle( selector, elem ).length > 0;
+ };
+ }),
+
+ "contains": markFunction(function( text ) {
+ return function( elem ) {
+ return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;
+ };
+ }),
+
+ // "Whether an element is represented by a :lang() selector
+ // is based solely on the element's language value
+ // being equal to the identifier C,
+ // or beginning with the identifier C immediately followed by "-".
+ // The matching of C against the element's language value is performed case-insensitively.
+ // The identifier C does not have to be a valid language name."
+ // http://www.w3.org/TR/selectors/#lang-pseudo
+ "lang": markFunction( function( lang ) {
+ // lang value must be a valid identifier
+ if ( !ridentifier.test(lang || "") ) {
+ Sizzle.error( "unsupported lang: " + lang );
+ }
+ lang = lang.replace( runescape, funescape ).toLowerCase();
+ return function( elem ) {
+ var elemLang;
+ do {
+ if ( (elemLang = documentIsHTML ?
+ elem.lang :
+ elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) {
+
+ elemLang = elemLang.toLowerCase();
+ return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;
+ }
+ } while ( (elem = elem.parentNode) && elem.nodeType === 1 );
+ return false;
+ };
+ }),
+
+ // Miscellaneous
+ "target": function( elem ) {
+ var hash = window.location && window.location.hash;
+ return hash && hash.slice( 1 ) === elem.id;
+ },
+
+ "root": function( elem ) {
+ return elem === docElem;
+ },
+
+ "focus": function( elem ) {
+ return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
+ },
+
+ // Boolean properties
+ "enabled": function( elem ) {
+ return elem.disabled === false;
+ },
+
+ "disabled": function( elem ) {
+ return elem.disabled === true;
+ },
+
+ "checked": function( elem ) {
+ // In CSS3, :checked should return both checked and selected elements
+ // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+ var nodeName = elem.nodeName.toLowerCase();
+ return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
+ },
+
+ "selected": function( elem ) {
+ // Accessing this property makes selected-by-default
+ // options in Safari work properly
+ if ( elem.parentNode ) {
+ elem.parentNode.selectedIndex;
+ }
+
+ return elem.selected === true;
+ },
+
+ // Contents
+ "empty": function( elem ) {
+ // http://www.w3.org/TR/selectors/#empty-pseudo
+ // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
+ // but not by others (comment: 8; processing instruction: 7; etc.)
+ // nodeType < 6 works because attributes (2) do not appear as children
+ for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
+ if ( elem.nodeType < 6 ) {
+ return false;
+ }
+ }
+ return true;
+ },
+
+ "parent": function( elem ) {
+ return !Expr.pseudos["empty"]( elem );
+ },
+
+ // Element/input types
+ "header": function( elem ) {
+ return rheader.test( elem.nodeName );
+ },
+
+ "input": function( elem ) {
+ return rinputs.test( elem.nodeName );
+ },
+
+ "button": function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return name === "input" && elem.type === "button" || name === "button";
+ },
+
+ "text": function( elem ) {
+ var attr;
+ return elem.nodeName.toLowerCase() === "input" &&
+ elem.type === "text" &&
+
+ // Support: IE<8
+ // New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
+ ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" );
+ },
+
+ // Position-in-collection
+ "first": createPositionalPseudo(function() {
+ return [ 0 ];
+ }),
+
+ "last": createPositionalPseudo(function( matchIndexes, length ) {
+ return [ length - 1 ];
+ }),
+
+ "eq": createPositionalPseudo(function( matchIndexes, length, argument ) {
+ return [ argument < 0 ? argument + length : argument ];
+ }),
+
+ "even": createPositionalPseudo(function( matchIndexes, length ) {
+ var i = 0;
+ for ( ; i < length; i += 2 ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ }),
+
+ "odd": createPositionalPseudo(function( matchIndexes, length ) {
+ var i = 1;
+ for ( ; i < length; i += 2 ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ }),
+
+ "lt": createPositionalPseudo(function( matchIndexes, length, argument ) {
+ var i = argument < 0 ? argument + length : argument;
+ for ( ; --i >= 0; ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ }),
+
+ "gt": createPositionalPseudo(function( matchIndexes, length, argument ) {
+ var i = argument < 0 ? argument + length : argument;
+ for ( ; ++i < length; ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ })
+ }
+};
+
+Expr.pseudos["nth"] = Expr.pseudos["eq"];
+
+// Add button/input type pseudos
+for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {
+ Expr.pseudos[ i ] = createInputPseudo( i );
+}
+for ( i in { submit: true, reset: true } ) {
+ Expr.pseudos[ i ] = createButtonPseudo( i );
+}
+
+// Easy API for creating new setFilters
+function setFilters() {}
+setFilters.prototype = Expr.filters = Expr.pseudos;
+Expr.setFilters = new setFilters();
+
+tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
+ var matched, match, tokens, type,
+ soFar, groups, preFilters,
+ cached = tokenCache[ selector + " " ];
+
+ if ( cached ) {
+ return parseOnly ? 0 : cached.slice( 0 );
+ }
+
+ soFar = selector;
+ groups = [];
+ preFilters = Expr.preFilter;
+
+ while ( soFar ) {
+
+ // Comma and first run
+ if ( !matched || (match = rcomma.exec( soFar )) ) {
+ if ( match ) {
+ // Don't consume trailing commas as valid
+ soFar = soFar.slice( match[0].length ) || soFar;
+ }
+ groups.push( (tokens = []) );
+ }
+
+ matched = false;
+
+ // Combinators
+ if ( (match = rcombinators.exec( soFar )) ) {
+ matched = match.shift();
+ tokens.push({
+ value: matched,
+ // Cast descendant combinators to space
+ type: match[0].replace( rtrim, " " )
+ });
+ soFar = soFar.slice( matched.length );
+ }
+
+ // Filters
+ for ( type in Expr.filter ) {
+ if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||
+ (match = preFilters[ type ]( match ))) ) {
+ matched = match.shift();
+ tokens.push({
+ value: matched,
+ type: type,
+ matches: match
+ });
+ soFar = soFar.slice( matched.length );
+ }
+ }
+
+ if ( !matched ) {
+ break;
+ }
+ }
+
+ // Return the length of the invalid excess
+ // if we're just parsing
+ // Otherwise, throw an error or return tokens
+ return parseOnly ?
+ soFar.length :
+ soFar ?
+ Sizzle.error( selector ) :
+ // Cache the tokens
+ tokenCache( selector, groups ).slice( 0 );
+};
+
+function toSelector( tokens ) {
+ var i = 0,
+ len = tokens.length,
+ selector = "";
+ for ( ; i < len; i++ ) {
+ selector += tokens[i].value;
+ }
+ return selector;
+}
+
+function addCombinator( matcher, combinator, base ) {
+ var dir = combinator.dir,
+ checkNonElements = base && dir === "parentNode",
+ doneName = done++;
+
+ return combinator.first ?
+ // Check against closest ancestor/preceding element
+ function( elem, context, xml ) {
+ while ( (elem = elem[ dir ]) ) {
+ if ( elem.nodeType === 1 || checkNonElements ) {
+ return matcher( elem, context, xml );
+ }
+ }
+ } :
+
+ // Check against all ancestor/preceding elements
+ function( elem, context, xml ) {
+ var oldCache, outerCache,
+ newCache = [ dirruns, doneName ];
+
+ // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching
+ if ( xml ) {
+ while ( (elem = elem[ dir ]) ) {
+ if ( elem.nodeType === 1 || checkNonElements ) {
+ if ( matcher( elem, context, xml ) ) {
+ return true;
+ }
+ }
+ }
+ } else {
+ while ( (elem = elem[ dir ]) ) {
+ if ( elem.nodeType === 1 || checkNonElements ) {
+ outerCache = elem[ expando ] || (elem[ expando ] = {});
+ if ( (oldCache = outerCache[ dir ]) &&
+ oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {
+
+ // Assign to newCache so results back-propagate to previous elements
+ return (newCache[ 2 ] = oldCache[ 2 ]);
+ } else {
+ // Reuse newcache so results back-propagate to previous elements
+ outerCache[ dir ] = newCache;
+
+ // A match means we're done; a fail means we have to keep checking
+ if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {
+ return true;
+ }
+ }
+ }
+ }
+ }
+ };
+}
+
+function elementMatcher( matchers ) {
+ return matchers.length > 1 ?
+ function( elem, context, xml ) {
+ var i = matchers.length;
+ while ( i-- ) {
+ if ( !matchers[i]( elem, context, xml ) ) {
+ return false;
+ }
+ }
+ return true;
+ } :
+ matchers[0];
+}
+
+function multipleContexts( selector, contexts, results ) {
+ var i = 0,
+ len = contexts.length;
+ for ( ; i < len; i++ ) {
+ Sizzle( selector, contexts[i], results );
+ }
+ return results;
+}
+
+function condense( unmatched, map, filter, context, xml ) {
+ var elem,
+ newUnmatched = [],
+ i = 0,
+ len = unmatched.length,
+ mapped = map != null;
+
+ for ( ; i < len; i++ ) {
+ if ( (elem = unmatched[i]) ) {
+ if ( !filter || filter( elem, context, xml ) ) {
+ newUnmatched.push( elem );
+ if ( mapped ) {
+ map.push( i );
+ }
+ }
+ }
+ }
+
+ return newUnmatched;
+}
+
+function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
+ if ( postFilter && !postFilter[ expando ] ) {
+ postFilter = setMatcher( postFilter );
+ }
+ if ( postFinder && !postFinder[ expando ] ) {
+ postFinder = setMatcher( postFinder, postSelector );
+ }
+ return markFunction(function( seed, results, context, xml ) {
+ var temp, i, elem,
+ preMap = [],
+ postMap = [],
+ preexisting = results.length,
+
+ // Get initial elements from seed or context
+ elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ),
+
+ // Prefilter to get matcher input, preserving a map for seed-results synchronization
+ matcherIn = preFilter && ( seed || !selector ) ?
+ condense( elems, preMap, preFilter, context, xml ) :
+ elems,
+
+ matcherOut = matcher ?
+ // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
+ postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
+
+ // ...intermediate processing is necessary
+ [] :
+
+ // ...otherwise use results directly
+ results :
+ matcherIn;
+
+ // Find primary matches
+ if ( matcher ) {
+ matcher( matcherIn, matcherOut, context, xml );
+ }
+
+ // Apply postFilter
+ if ( postFilter ) {
+ temp = condense( matcherOut, postMap );
+ postFilter( temp, [], context, xml );
+
+ // Un-match failing elements by moving them back to matcherIn
+ i = temp.length;
+ while ( i-- ) {
+ if ( (elem = temp[i]) ) {
+ matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);
+ }
+ }
+ }
+
+ if ( seed ) {
+ if ( postFinder || preFilter ) {
+ if ( postFinder ) {
+ // Get the final matcherOut by condensing this intermediate into postFinder contexts
+ temp = [];
+ i = matcherOut.length;
+ while ( i-- ) {
+ if ( (elem = matcherOut[i]) ) {
+ // Restore matcherIn since elem is not yet a final match
+ temp.push( (matcherIn[i] = elem) );
+ }
+ }
+ postFinder( null, (matcherOut = []), temp, xml );
+ }
+
+ // Move matched elements from seed to results to keep them synchronized
+ i = matcherOut.length;
+ while ( i-- ) {
+ if ( (elem = matcherOut[i]) &&
+ (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) {
+
+ seed[temp] = !(results[temp] = elem);
+ }
+ }
+ }
+
+ // Add elements to results, through postFinder if defined
+ } else {
+ matcherOut = condense(
+ matcherOut === results ?
+ matcherOut.splice( preexisting, matcherOut.length ) :
+ matcherOut
+ );
+ if ( postFinder ) {
+ postFinder( null, results, matcherOut, xml );
+ } else {
+ push.apply( results, matcherOut );
+ }
+ }
+ });
+}
+
+function matcherFromTokens( tokens ) {
+ var checkContext, matcher, j,
+ len = tokens.length,
+ leadingRelative = Expr.relative[ tokens[0].type ],
+ implicitRelative = leadingRelative || Expr.relative[" "],
+ i = leadingRelative ? 1 : 0,
+
+ // The foundational matcher ensures that elements are reachable from top-level context(s)
+ matchContext = addCombinator( function( elem ) {
+ return elem === checkContext;
+ }, implicitRelative, true ),
+ matchAnyContext = addCombinator( function( elem ) {
+ return indexOf.call( checkContext, elem ) > -1;
+ }, implicitRelative, true ),
+ matchers = [ function( elem, context, xml ) {
+ return ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
+ (checkContext = context).nodeType ?
+ matchContext( elem, context, xml ) :
+ matchAnyContext( elem, context, xml ) );
+ } ];
+
+ for ( ; i < len; i++ ) {
+ if ( (matcher = Expr.relative[ tokens[i].type ]) ) {
+ matchers = [ addCombinator(elementMatcher( matchers ), matcher) ];
+ } else {
+ matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );
+
+ // Return special upon seeing a positional matcher
+ if ( matcher[ expando ] ) {
+ // Find the next relative operator (if any) for proper handling
+ j = ++i;
+ for ( ; j < len; j++ ) {
+ if ( Expr.relative[ tokens[j].type ] ) {
+ break;
+ }
+ }
+ return setMatcher(
+ i > 1 && elementMatcher( matchers ),
+ i > 1 && toSelector(
+ // If the preceding token was a descendant combinator, insert an implicit any-element `*`
+ tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" })
+ ).replace( rtrim, "$1" ),
+ matcher,
+ i < j && matcherFromTokens( tokens.slice( i, j ) ),
+ j < len && matcherFromTokens( (tokens = tokens.slice( j )) ),
+ j < len && toSelector( tokens )
+ );
+ }
+ matchers.push( matcher );
+ }
+ }
+
+ return elementMatcher( matchers );
+}
+
+function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
+ var bySet = setMatchers.length > 0,
+ byElement = elementMatchers.length > 0,
+ superMatcher = function( seed, context, xml, results, outermost ) {
+ var elem, j, matcher,
+ matchedCount = 0,
+ i = "0",
+ unmatched = seed && [],
+ setMatched = [],
+ contextBackup = outermostContext,
+ // We must always have either seed elements or outermost context
+ elems = seed || byElement && Expr.find["TAG"]( "*", outermost ),
+ // Use integer dirruns iff this is the outermost matcher
+ dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),
+ len = elems.length;
+
+ if ( outermost ) {
+ outermostContext = context !== document && context;
+ }
+
+ // Add elements passing elementMatchers directly to results
+ // Keep `i` a string if there are no elements so `matchedCount` will be "00" below
+ // Support: IE<9, Safari
+ // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id
+ for ( ; i !== len && (elem = elems[i]) != null; i++ ) {
+ if ( byElement && elem ) {
+ j = 0;
+ while ( (matcher = elementMatchers[j++]) ) {
+ if ( matcher( elem, context, xml ) ) {
+ results.push( elem );
+ break;
+ }
+ }
+ if ( outermost ) {
+ dirruns = dirrunsUnique;
+ }
+ }
+
+ // Track unmatched elements for set filters
+ if ( bySet ) {
+ // They will have gone through all possible matchers
+ if ( (elem = !matcher && elem) ) {
+ matchedCount--;
+ }
+
+ // Lengthen the array for every element, matched or not
+ if ( seed ) {
+ unmatched.push( elem );
+ }
+ }
+ }
+
+ // Apply set filters to unmatched elements
+ matchedCount += i;
+ if ( bySet && i !== matchedCount ) {
+ j = 0;
+ while ( (matcher = setMatchers[j++]) ) {
+ matcher( unmatched, setMatched, context, xml );
+ }
+
+ if ( seed ) {
+ // Reintegrate element matches to eliminate the need for sorting
+ if ( matchedCount > 0 ) {
+ while ( i-- ) {
+ if ( !(unmatched[i] || setMatched[i]) ) {
+ setMatched[i] = pop.call( results );
+ }
+ }
+ }
+
+ // Discard index placeholder values to get only actual matches
+ setMatched = condense( setMatched );
+ }
+
+ // Add matches to results
+ push.apply( results, setMatched );
+
+ // Seedless set matches succeeding multiple successful matchers stipulate sorting
+ if ( outermost && !seed && setMatched.length > 0 &&
+ ( matchedCount + setMatchers.length ) > 1 ) {
+
+ Sizzle.uniqueSort( results );
+ }
+ }
+
+ // Override manipulation of globals by nested matchers
+ if ( outermost ) {
+ dirruns = dirrunsUnique;
+ outermostContext = contextBackup;
+ }
+
+ return unmatched;
+ };
+
+ return bySet ?
+ markFunction( superMatcher ) :
+ superMatcher;
+}
+
+compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {
+ var i,
+ setMatchers = [],
+ elementMatchers = [],
+ cached = compilerCache[ selector + " " ];
+
+ if ( !cached ) {
+ // Generate a function of recursive functions that can be used to check each element
+ if ( !match ) {
+ match = tokenize( selector );
+ }
+ i = match.length;
+ while ( i-- ) {
+ cached = matcherFromTokens( match[i] );
+ if ( cached[ expando ] ) {
+ setMatchers.push( cached );
+ } else {
+ elementMatchers.push( cached );
+ }
+ }
+
+ // Cache the compiled function
+ cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );
+
+ // Save selector and tokenization
+ cached.selector = selector;
+ }
+ return cached;
+};
+
+/**
+ * A low-level selection function that works with Sizzle's compiled
+ * selector functions
+ * @param {String|Function} selector A selector or a pre-compiled
+ * selector function built with Sizzle.compile
+ * @param {Element} context
+ * @param {Array} [results]
+ * @param {Array} [seed] A set of elements to match against
+ */
+select = Sizzle.select = function( selector, context, results, seed ) {
+ var i, tokens, token, type, find,
+ compiled = typeof selector === "function" && selector,
+ match = !seed && tokenize( (selector = compiled.selector || selector) );
+
+ results = results || [];
+
+ // Try to minimize operations if there is no seed and only one group
+ if ( match.length === 1 ) {
+
+ // Take a shortcut and set the context if the root selector is an ID
+ tokens = match[0] = match[0].slice( 0 );
+ if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
+ support.getById && context.nodeType === 9 && documentIsHTML &&
+ Expr.relative[ tokens[1].type ] ) {
+
+ context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
+ if ( !context ) {
+ return results;
+
+ // Precompiled matchers will still verify ancestry, so step up a level
+ } else if ( compiled ) {
+ context = context.parentNode;
+ }
+
+ selector = selector.slice( tokens.shift().value.length );
+ }
+
+ // Fetch a seed set for right-to-left matching
+ i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length;
+ while ( i-- ) {
+ token = tokens[i];
+
+ // Abort if we hit a combinator
+ if ( Expr.relative[ (type = token.type) ] ) {
+ break;
+ }
+ if ( (find = Expr.find[ type ]) ) {
+ // Search, expanding context for leading sibling combinators
+ if ( (seed = find(
+ token.matches[0].replace( runescape, funescape ),
+ rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context
+ )) ) {
+
+ // If seed is empty or no tokens remain, we can return early
+ tokens.splice( i, 1 );
+ selector = seed.length && toSelector( tokens );
+ if ( !selector ) {
+ push.apply( results, seed );
+ return results;
+ }
+
+ break;
+ }
+ }
+ }
+ }
+
+ // Compile and execute a filtering function if one is not provided
+ // Provide `match` to avoid retokenization if we modified the selector above
+ ( compiled || compile( selector, match ) )(
+ seed,
+ context,
+ !documentIsHTML,
+ results,
+ rsibling.test( selector ) && testContext( context.parentNode ) || context
+ );
+ return results;
+};
+
+// One-time assignments
+
+// Sort stability
+support.sortStable = expando.split("").sort( sortOrder ).join("") === expando;
+
+// Support: Chrome<14
+// Always assume duplicates if they aren't passed to the comparison function
+support.detectDuplicates = !!hasDuplicate;
+
+// Initialize against the default document
+setDocument();
+
+// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
+// Detached nodes confoundingly follow *each other*
+support.sortDetached = assert(function( div1 ) {
+ // Should return 1, but returns 4 (following)
+ return div1.compareDocumentPosition( document.createElement("div") ) & 1;
+});
+
+// Support: IE<8
+// Prevent attribute/property "interpolation"
+// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
+if ( !assert(function( div ) {
+ div.innerHTML = " ";
+ return div.firstChild.getAttribute("href") === "#" ;
+}) ) {
+ addHandle( "type|href|height|width", function( elem, name, isXML ) {
+ if ( !isXML ) {
+ return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );
+ }
+ });
+}
+
+// Support: IE<9
+// Use defaultValue in place of getAttribute("value")
+if ( !support.attributes || !assert(function( div ) {
+ div.innerHTML = " ";
+ div.firstChild.setAttribute( "value", "" );
+ return div.firstChild.getAttribute( "value" ) === "";
+}) ) {
+ addHandle( "value", function( elem, name, isXML ) {
+ if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {
+ return elem.defaultValue;
+ }
+ });
+}
+
+// Support: IE<9
+// Use getAttributeNode to fetch booleans when getAttribute lies
+if ( !assert(function( div ) {
+ return div.getAttribute("disabled") == null;
+}) ) {
+ addHandle( booleans, function( elem, name, isXML ) {
+ var val;
+ if ( !isXML ) {
+ return elem[ name ] === true ? name.toLowerCase() :
+ (val = elem.getAttributeNode( name )) && val.specified ?
+ val.value :
+ null;
+ }
+ });
+}
+
+return Sizzle;
+
+})( window );
+
+
+
+jQuery.find = Sizzle;
+jQuery.expr = Sizzle.selectors;
+jQuery.expr[":"] = jQuery.expr.pseudos;
+jQuery.unique = Sizzle.uniqueSort;
+jQuery.text = Sizzle.getText;
+jQuery.isXMLDoc = Sizzle.isXML;
+jQuery.contains = Sizzle.contains;
+
+
+
+var rneedsContext = jQuery.expr.match.needsContext;
+
+var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/);
+
+
+
+var risSimple = /^.[^:#\[\.,]*$/;
+
+// Implement the identical functionality for filter and not
+function winnow( elements, qualifier, not ) {
+ if ( jQuery.isFunction( qualifier ) ) {
+ return jQuery.grep( elements, function( elem, i ) {
+ /* jshint -W018 */
+ return !!qualifier.call( elem, i, elem ) !== not;
+ });
+
+ }
+
+ if ( qualifier.nodeType ) {
+ return jQuery.grep( elements, function( elem ) {
+ return ( elem === qualifier ) !== not;
+ });
+
+ }
+
+ if ( typeof qualifier === "string" ) {
+ if ( risSimple.test( qualifier ) ) {
+ return jQuery.filter( qualifier, elements, not );
+ }
+
+ qualifier = jQuery.filter( qualifier, elements );
+ }
+
+ return jQuery.grep( elements, function( elem ) {
+ return ( indexOf.call( qualifier, elem ) >= 0 ) !== not;
+ });
+}
+
+jQuery.filter = function( expr, elems, not ) {
+ var elem = elems[ 0 ];
+
+ if ( not ) {
+ expr = ":not(" + expr + ")";
+ }
+
+ return elems.length === 1 && elem.nodeType === 1 ?
+ jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :
+ jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
+ return elem.nodeType === 1;
+ }));
+};
+
+jQuery.fn.extend({
+ find: function( selector ) {
+ var i,
+ len = this.length,
+ ret = [],
+ self = this;
+
+ if ( typeof selector !== "string" ) {
+ return this.pushStack( jQuery( selector ).filter(function() {
+ for ( i = 0; i < len; i++ ) {
+ if ( jQuery.contains( self[ i ], this ) ) {
+ return true;
+ }
+ }
+ }) );
+ }
+
+ for ( i = 0; i < len; i++ ) {
+ jQuery.find( selector, self[ i ], ret );
+ }
+
+ // Needed because $( selector, context ) becomes $( context ).find( selector )
+ ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );
+ ret.selector = this.selector ? this.selector + " " + selector : selector;
+ return ret;
+ },
+ filter: function( selector ) {
+ return this.pushStack( winnow(this, selector || [], false) );
+ },
+ not: function( selector ) {
+ return this.pushStack( winnow(this, selector || [], true) );
+ },
+ is: function( selector ) {
+ return !!winnow(
+ this,
+
+ // If this is a positional/relative selector, check membership in the returned set
+ // so $("p:first").is("p:last") won't return true for a doc with two "p".
+ typeof selector === "string" && rneedsContext.test( selector ) ?
+ jQuery( selector ) :
+ selector || [],
+ false
+ ).length;
+ }
+});
+
+
+// Initialize a jQuery object
+
+
+// A central reference to the root jQuery(document)
+var rootjQuery,
+
+ // A simple way to check for HTML strings
+ // Prioritize #id over to avoid XSS via location.hash (#9521)
+ // Strict HTML recognition (#11290: must start with <)
+ rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
+
+ init = jQuery.fn.init = function( selector, context ) {
+ var match, elem;
+
+ // HANDLE: $(""), $(null), $(undefined), $(false)
+ if ( !selector ) {
+ return this;
+ }
+
+ // Handle HTML strings
+ if ( typeof selector === "string" ) {
+ if ( selector[0] === "<" && selector[ selector.length - 1 ] === ">" && selector.length >= 3 ) {
+ // Assume that strings that start and end with <> are HTML and skip the regex check
+ match = [ null, selector, null ];
+
+ } else {
+ match = rquickExpr.exec( selector );
+ }
+
+ // Match html or make sure no context is specified for #id
+ if ( match && (match[1] || !context) ) {
+
+ // HANDLE: $(html) -> $(array)
+ if ( match[1] ) {
+ context = context instanceof jQuery ? context[0] : context;
+
+ // scripts is true for back-compat
+ // Intentionally let the error be thrown if parseHTML is not present
+ jQuery.merge( this, jQuery.parseHTML(
+ match[1],
+ context && context.nodeType ? context.ownerDocument || context : document,
+ true
+ ) );
+
+ // HANDLE: $(html, props)
+ if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {
+ for ( match in context ) {
+ // Properties of context are called as methods if possible
+ if ( jQuery.isFunction( this[ match ] ) ) {
+ this[ match ]( context[ match ] );
+
+ // ...and otherwise set as attributes
+ } else {
+ this.attr( match, context[ match ] );
+ }
+ }
+ }
+
+ return this;
+
+ // HANDLE: $(#id)
+ } else {
+ elem = document.getElementById( match[2] );
+
+ // Check parentNode to catch when Blackberry 4.6 returns
+ // nodes that are no longer in the document #6963
+ if ( elem && elem.parentNode ) {
+ // Inject the element directly into the jQuery object
+ this.length = 1;
+ this[0] = elem;
+ }
+
+ this.context = document;
+ this.selector = selector;
+ return this;
+ }
+
+ // HANDLE: $(expr, $(...))
+ } else if ( !context || context.jquery ) {
+ return ( context || rootjQuery ).find( selector );
+
+ // HANDLE: $(expr, context)
+ // (which is just equivalent to: $(context).find(expr)
+ } else {
+ return this.constructor( context ).find( selector );
+ }
+
+ // HANDLE: $(DOMElement)
+ } else if ( selector.nodeType ) {
+ this.context = this[0] = selector;
+ this.length = 1;
+ return this;
+
+ // HANDLE: $(function)
+ // Shortcut for document ready
+ } else if ( jQuery.isFunction( selector ) ) {
+ return typeof rootjQuery.ready !== "undefined" ?
+ rootjQuery.ready( selector ) :
+ // Execute immediately if ready is not present
+ selector( jQuery );
+ }
+
+ if ( selector.selector !== undefined ) {
+ this.selector = selector.selector;
+ this.context = selector.context;
+ }
+
+ return jQuery.makeArray( selector, this );
+ };
+
+// Give the init function the jQuery prototype for later instantiation
+init.prototype = jQuery.fn;
+
+// Initialize central reference
+rootjQuery = jQuery( document );
+
+
+var rparentsprev = /^(?:parents|prev(?:Until|All))/,
+ // methods guaranteed to produce a unique set when starting from a unique set
+ guaranteedUnique = {
+ children: true,
+ contents: true,
+ next: true,
+ prev: true
+ };
+
+jQuery.extend({
+ dir: function( elem, dir, until ) {
+ var matched = [],
+ truncate = until !== undefined;
+
+ while ( (elem = elem[ dir ]) && elem.nodeType !== 9 ) {
+ if ( elem.nodeType === 1 ) {
+ if ( truncate && jQuery( elem ).is( until ) ) {
+ break;
+ }
+ matched.push( elem );
+ }
+ }
+ return matched;
+ },
+
+ sibling: function( n, elem ) {
+ var matched = [];
+
+ for ( ; n; n = n.nextSibling ) {
+ if ( n.nodeType === 1 && n !== elem ) {
+ matched.push( n );
+ }
+ }
+
+ return matched;
+ }
+});
+
+jQuery.fn.extend({
+ has: function( target ) {
+ var targets = jQuery( target, this ),
+ l = targets.length;
+
+ return this.filter(function() {
+ var i = 0;
+ for ( ; i < l; i++ ) {
+ if ( jQuery.contains( this, targets[i] ) ) {
+ return true;
+ }
+ }
+ });
+ },
+
+ closest: function( selectors, context ) {
+ var cur,
+ i = 0,
+ l = this.length,
+ matched = [],
+ pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ?
+ jQuery( selectors, context || this.context ) :
+ 0;
+
+ for ( ; i < l; i++ ) {
+ for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) {
+ // Always skip document fragments
+ if ( cur.nodeType < 11 && (pos ?
+ pos.index(cur) > -1 :
+
+ // Don't pass non-elements to Sizzle
+ cur.nodeType === 1 &&
+ jQuery.find.matchesSelector(cur, selectors)) ) {
+
+ matched.push( cur );
+ break;
+ }
+ }
+ }
+
+ return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched );
+ },
+
+ // Determine the position of an element within
+ // the matched set of elements
+ index: function( elem ) {
+
+ // No argument, return index in parent
+ if ( !elem ) {
+ return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;
+ }
+
+ // index in selector
+ if ( typeof elem === "string" ) {
+ return indexOf.call( jQuery( elem ), this[ 0 ] );
+ }
+
+ // Locate the position of the desired element
+ return indexOf.call( this,
+
+ // If it receives a jQuery object, the first element is used
+ elem.jquery ? elem[ 0 ] : elem
+ );
+ },
+
+ add: function( selector, context ) {
+ return this.pushStack(
+ jQuery.unique(
+ jQuery.merge( this.get(), jQuery( selector, context ) )
+ )
+ );
+ },
+
+ addBack: function( selector ) {
+ return this.add( selector == null ?
+ this.prevObject : this.prevObject.filter(selector)
+ );
+ }
+});
+
+function sibling( cur, dir ) {
+ while ( (cur = cur[dir]) && cur.nodeType !== 1 ) {}
+ return cur;
+}
+
+jQuery.each({
+ parent: function( elem ) {
+ var parent = elem.parentNode;
+ return parent && parent.nodeType !== 11 ? parent : null;
+ },
+ parents: function( elem ) {
+ return jQuery.dir( elem, "parentNode" );
+ },
+ parentsUntil: function( elem, i, until ) {
+ return jQuery.dir( elem, "parentNode", until );
+ },
+ next: function( elem ) {
+ return sibling( elem, "nextSibling" );
+ },
+ prev: function( elem ) {
+ return sibling( elem, "previousSibling" );
+ },
+ nextAll: function( elem ) {
+ return jQuery.dir( elem, "nextSibling" );
+ },
+ prevAll: function( elem ) {
+ return jQuery.dir( elem, "previousSibling" );
+ },
+ nextUntil: function( elem, i, until ) {
+ return jQuery.dir( elem, "nextSibling", until );
+ },
+ prevUntil: function( elem, i, until ) {
+ return jQuery.dir( elem, "previousSibling", until );
+ },
+ siblings: function( elem ) {
+ return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );
+ },
+ children: function( elem ) {
+ return jQuery.sibling( elem.firstChild );
+ },
+ contents: function( elem ) {
+ return elem.contentDocument || jQuery.merge( [], elem.childNodes );
+ }
+}, function( name, fn ) {
+ jQuery.fn[ name ] = function( until, selector ) {
+ var matched = jQuery.map( this, fn, until );
+
+ if ( name.slice( -5 ) !== "Until" ) {
+ selector = until;
+ }
+
+ if ( selector && typeof selector === "string" ) {
+ matched = jQuery.filter( selector, matched );
+ }
+
+ if ( this.length > 1 ) {
+ // Remove duplicates
+ if ( !guaranteedUnique[ name ] ) {
+ jQuery.unique( matched );
+ }
+
+ // Reverse order for parents* and prev-derivatives
+ if ( rparentsprev.test( name ) ) {
+ matched.reverse();
+ }
+ }
+
+ return this.pushStack( matched );
+ };
+});
+var rnotwhite = (/\S+/g);
+
+
+
+// String to Object options format cache
+var optionsCache = {};
+
+// Convert String-formatted options into Object-formatted ones and store in cache
+function createOptions( options ) {
+ var object = optionsCache[ options ] = {};
+ jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) {
+ object[ flag ] = true;
+ });
+ return object;
+}
+
+/*
+ * Create a callback list using the following parameters:
+ *
+ * options: an optional list of space-separated options that will change how
+ * the callback list behaves or a more traditional option object
+ *
+ * By default a callback list will act like an event callback list and can be
+ * "fired" multiple times.
+ *
+ * Possible options:
+ *
+ * once: will ensure the callback list can only be fired once (like a Deferred)
+ *
+ * memory: will keep track of previous values and will call any callback added
+ * after the list has been fired right away with the latest "memorized"
+ * values (like a Deferred)
+ *
+ * unique: will ensure a callback can only be added once (no duplicate in the list)
+ *
+ * stopOnFalse: interrupt callings when a callback returns false
+ *
+ */
+jQuery.Callbacks = function( options ) {
+
+ // Convert options from String-formatted to Object-formatted if needed
+ // (we check in cache first)
+ options = typeof options === "string" ?
+ ( optionsCache[ options ] || createOptions( options ) ) :
+ jQuery.extend( {}, options );
+
+ var // Last fire value (for non-forgettable lists)
+ memory,
+ // Flag to know if list was already fired
+ fired,
+ // Flag to know if list is currently firing
+ firing,
+ // First callback to fire (used internally by add and fireWith)
+ firingStart,
+ // End of the loop when firing
+ firingLength,
+ // Index of currently firing callback (modified by remove if needed)
+ firingIndex,
+ // Actual callback list
+ list = [],
+ // Stack of fire calls for repeatable lists
+ stack = !options.once && [],
+ // Fire callbacks
+ fire = function( data ) {
+ memory = options.memory && data;
+ fired = true;
+ firingIndex = firingStart || 0;
+ firingStart = 0;
+ firingLength = list.length;
+ firing = true;
+ for ( ; list && firingIndex < firingLength; firingIndex++ ) {
+ if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) {
+ memory = false; // To prevent further calls using add
+ break;
+ }
+ }
+ firing = false;
+ if ( list ) {
+ if ( stack ) {
+ if ( stack.length ) {
+ fire( stack.shift() );
+ }
+ } else if ( memory ) {
+ list = [];
+ } else {
+ self.disable();
+ }
+ }
+ },
+ // Actual Callbacks object
+ self = {
+ // Add a callback or a collection of callbacks to the list
+ add: function() {
+ if ( list ) {
+ // First, we save the current length
+ var start = list.length;
+ (function add( args ) {
+ jQuery.each( args, function( _, arg ) {
+ var type = jQuery.type( arg );
+ if ( type === "function" ) {
+ if ( !options.unique || !self.has( arg ) ) {
+ list.push( arg );
+ }
+ } else if ( arg && arg.length && type !== "string" ) {
+ // Inspect recursively
+ add( arg );
+ }
+ });
+ })( arguments );
+ // Do we need to add the callbacks to the
+ // current firing batch?
+ if ( firing ) {
+ firingLength = list.length;
+ // With memory, if we're not firing then
+ // we should call right away
+ } else if ( memory ) {
+ firingStart = start;
+ fire( memory );
+ }
+ }
+ return this;
+ },
+ // Remove a callback from the list
+ remove: function() {
+ if ( list ) {
+ jQuery.each( arguments, function( _, arg ) {
+ var index;
+ while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {
+ list.splice( index, 1 );
+ // Handle firing indexes
+ if ( firing ) {
+ if ( index <= firingLength ) {
+ firingLength--;
+ }
+ if ( index <= firingIndex ) {
+ firingIndex--;
+ }
+ }
+ }
+ });
+ }
+ return this;
+ },
+ // Check if a given callback is in the list.
+ // If no argument is given, return whether or not list has callbacks attached.
+ has: function( fn ) {
+ return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length );
+ },
+ // Remove all callbacks from the list
+ empty: function() {
+ list = [];
+ firingLength = 0;
+ return this;
+ },
+ // Have the list do nothing anymore
+ disable: function() {
+ list = stack = memory = undefined;
+ return this;
+ },
+ // Is it disabled?
+ disabled: function() {
+ return !list;
+ },
+ // Lock the list in its current state
+ lock: function() {
+ stack = undefined;
+ if ( !memory ) {
+ self.disable();
+ }
+ return this;
+ },
+ // Is it locked?
+ locked: function() {
+ return !stack;
+ },
+ // Call all callbacks with the given context and arguments
+ fireWith: function( context, args ) {
+ if ( list && ( !fired || stack ) ) {
+ args = args || [];
+ args = [ context, args.slice ? args.slice() : args ];
+ if ( firing ) {
+ stack.push( args );
+ } else {
+ fire( args );
+ }
+ }
+ return this;
+ },
+ // Call all the callbacks with the given arguments
+ fire: function() {
+ self.fireWith( this, arguments );
+ return this;
+ },
+ // To know if the callbacks have already been called at least once
+ fired: function() {
+ return !!fired;
+ }
+ };
+
+ return self;
+};
+
+
+jQuery.extend({
+
+ Deferred: function( func ) {
+ var tuples = [
+ // action, add listener, listener list, final state
+ [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
+ [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
+ [ "notify", "progress", jQuery.Callbacks("memory") ]
+ ],
+ state = "pending",
+ promise = {
+ state: function() {
+ return state;
+ },
+ always: function() {
+ deferred.done( arguments ).fail( arguments );
+ return this;
+ },
+ then: function( /* fnDone, fnFail, fnProgress */ ) {
+ var fns = arguments;
+ return jQuery.Deferred(function( newDefer ) {
+ jQuery.each( tuples, function( i, tuple ) {
+ var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];
+ // deferred[ done | fail | progress ] for forwarding actions to newDefer
+ deferred[ tuple[1] ](function() {
+ var returned = fn && fn.apply( this, arguments );
+ if ( returned && jQuery.isFunction( returned.promise ) ) {
+ returned.promise()
+ .done( newDefer.resolve )
+ .fail( newDefer.reject )
+ .progress( newDefer.notify );
+ } else {
+ newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );
+ }
+ });
+ });
+ fns = null;
+ }).promise();
+ },
+ // Get a promise for this deferred
+ // If obj is provided, the promise aspect is added to the object
+ promise: function( obj ) {
+ return obj != null ? jQuery.extend( obj, promise ) : promise;
+ }
+ },
+ deferred = {};
+
+ // Keep pipe for back-compat
+ promise.pipe = promise.then;
+
+ // Add list-specific methods
+ jQuery.each( tuples, function( i, tuple ) {
+ var list = tuple[ 2 ],
+ stateString = tuple[ 3 ];
+
+ // promise[ done | fail | progress ] = list.add
+ promise[ tuple[1] ] = list.add;
+
+ // Handle state
+ if ( stateString ) {
+ list.add(function() {
+ // state = [ resolved | rejected ]
+ state = stateString;
+
+ // [ reject_list | resolve_list ].disable; progress_list.lock
+ }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock );
+ }
+
+ // deferred[ resolve | reject | notify ]
+ deferred[ tuple[0] ] = function() {
+ deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments );
+ return this;
+ };
+ deferred[ tuple[0] + "With" ] = list.fireWith;
+ });
+
+ // Make the deferred a promise
+ promise.promise( deferred );
+
+ // Call given func if any
+ if ( func ) {
+ func.call( deferred, deferred );
+ }
+
+ // All done!
+ return deferred;
+ },
+
+ // Deferred helper
+ when: function( subordinate /* , ..., subordinateN */ ) {
+ var i = 0,
+ resolveValues = slice.call( arguments ),
+ length = resolveValues.length,
+
+ // the count of uncompleted subordinates
+ remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0,
+
+ // the master Deferred. If resolveValues consist of only a single Deferred, just use that.
+ deferred = remaining === 1 ? subordinate : jQuery.Deferred(),
+
+ // Update function for both resolve and progress values
+ updateFunc = function( i, contexts, values ) {
+ return function( value ) {
+ contexts[ i ] = this;
+ values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
+ if ( values === progressValues ) {
+ deferred.notifyWith( contexts, values );
+ } else if ( !( --remaining ) ) {
+ deferred.resolveWith( contexts, values );
+ }
+ };
+ },
+
+ progressValues, progressContexts, resolveContexts;
+
+ // add listeners to Deferred subordinates; treat others as resolved
+ if ( length > 1 ) {
+ progressValues = new Array( length );
+ progressContexts = new Array( length );
+ resolveContexts = new Array( length );
+ for ( ; i < length; i++ ) {
+ if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) {
+ resolveValues[ i ].promise()
+ .done( updateFunc( i, resolveContexts, resolveValues ) )
+ .fail( deferred.reject )
+ .progress( updateFunc( i, progressContexts, progressValues ) );
+ } else {
+ --remaining;
+ }
+ }
+ }
+
+ // if we're not waiting on anything, resolve the master
+ if ( !remaining ) {
+ deferred.resolveWith( resolveContexts, resolveValues );
+ }
+
+ return deferred.promise();
+ }
+});
+
+
+// The deferred used on DOM ready
+var readyList;
+
+jQuery.fn.ready = function( fn ) {
+ // Add the callback
+ jQuery.ready.promise().done( fn );
+
+ return this;
+};
+
+jQuery.extend({
+ // Is the DOM ready to be used? Set to true once it occurs.
+ isReady: false,
+
+ // A counter to track how many items to wait for before
+ // the ready event fires. See #6781
+ readyWait: 1,
+
+ // Hold (or release) the ready event
+ holdReady: function( hold ) {
+ if ( hold ) {
+ jQuery.readyWait++;
+ } else {
+ jQuery.ready( true );
+ }
+ },
+
+ // Handle when the DOM is ready
+ ready: function( wait ) {
+
+ // Abort if there are pending holds or we're already ready
+ if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
+ return;
+ }
+
+ // Remember that the DOM is ready
+ jQuery.isReady = true;
+
+ // If a normal DOM Ready event fired, decrement, and wait if need be
+ if ( wait !== true && --jQuery.readyWait > 0 ) {
+ return;
+ }
+
+ // If there are functions bound, to execute
+ readyList.resolveWith( document, [ jQuery ] );
+
+ // Trigger any bound ready events
+ if ( jQuery.fn.triggerHandler ) {
+ jQuery( document ).triggerHandler( "ready" );
+ jQuery( document ).off( "ready" );
+ }
+ }
+});
+
+/**
+ * The ready event handler and self cleanup method
+ */
+function completed() {
+ document.removeEventListener( "DOMContentLoaded", completed, false );
+ window.removeEventListener( "load", completed, false );
+ jQuery.ready();
+}
+
+jQuery.ready.promise = function( obj ) {
+ if ( !readyList ) {
+
+ readyList = jQuery.Deferred();
+
+ // Catch cases where $(document).ready() is called after the browser event has already occurred.
+ // we once tried to use readyState "interactive" here, but it caused issues like the one
+ // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
+ if ( document.readyState === "complete" ) {
+ // Handle it asynchronously to allow scripts the opportunity to delay ready
+ setTimeout( jQuery.ready );
+
+ } else {
+
+ // Use the handy event callback
+ document.addEventListener( "DOMContentLoaded", completed, false );
+
+ // A fallback to window.onload, that will always work
+ window.addEventListener( "load", completed, false );
+ }
+ }
+ return readyList.promise( obj );
+};
+
+// Kick off the DOM ready check even if the user does not
+jQuery.ready.promise();
+
+
+
+
+// Multifunctional method to get and set values of a collection
+// The value/s can optionally be executed if it's a function
+var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
+ var i = 0,
+ len = elems.length,
+ bulk = key == null;
+
+ // Sets many values
+ if ( jQuery.type( key ) === "object" ) {
+ chainable = true;
+ for ( i in key ) {
+ jQuery.access( elems, fn, i, key[i], true, emptyGet, raw );
+ }
+
+ // Sets one value
+ } else if ( value !== undefined ) {
+ chainable = true;
+
+ if ( !jQuery.isFunction( value ) ) {
+ raw = true;
+ }
+
+ if ( bulk ) {
+ // Bulk operations run against the entire set
+ if ( raw ) {
+ fn.call( elems, value );
+ fn = null;
+
+ // ...except when executing function values
+ } else {
+ bulk = fn;
+ fn = function( elem, key, value ) {
+ return bulk.call( jQuery( elem ), value );
+ };
+ }
+ }
+
+ if ( fn ) {
+ for ( ; i < len; i++ ) {
+ fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );
+ }
+ }
+ }
+
+ return chainable ?
+ elems :
+
+ // Gets
+ bulk ?
+ fn.call( elems ) :
+ len ? fn( elems[0], key ) : emptyGet;
+};
+
+
+/**
+ * Determines whether an object can have data
+ */
+jQuery.acceptData = function( owner ) {
+ // Accepts only:
+ // - Node
+ // - Node.ELEMENT_NODE
+ // - Node.DOCUMENT_NODE
+ // - Object
+ // - Any
+ /* jshint -W018 */
+ return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
+};
+
+
+function Data() {
+ // Support: Android < 4,
+ // Old WebKit does not have Object.preventExtensions/freeze method,
+ // return new empty object instead with no [[set]] accessor
+ Object.defineProperty( this.cache = {}, 0, {
+ get: function() {
+ return {};
+ }
+ });
+
+ this.expando = jQuery.expando + Math.random();
+}
+
+Data.uid = 1;
+Data.accepts = jQuery.acceptData;
+
+Data.prototype = {
+ key: function( owner ) {
+ // We can accept data for non-element nodes in modern browsers,
+ // but we should not, see #8335.
+ // Always return the key for a frozen object.
+ if ( !Data.accepts( owner ) ) {
+ return 0;
+ }
+
+ var descriptor = {},
+ // Check if the owner object already has a cache key
+ unlock = owner[ this.expando ];
+
+ // If not, create one
+ if ( !unlock ) {
+ unlock = Data.uid++;
+
+ // Secure it in a non-enumerable, non-writable property
+ try {
+ descriptor[ this.expando ] = { value: unlock };
+ Object.defineProperties( owner, descriptor );
+
+ // Support: Android < 4
+ // Fallback to a less secure definition
+ } catch ( e ) {
+ descriptor[ this.expando ] = unlock;
+ jQuery.extend( owner, descriptor );
+ }
+ }
+
+ // Ensure the cache object
+ if ( !this.cache[ unlock ] ) {
+ this.cache[ unlock ] = {};
+ }
+
+ return unlock;
+ },
+ set: function( owner, data, value ) {
+ var prop,
+ // There may be an unlock assigned to this node,
+ // if there is no entry for this "owner", create one inline
+ // and set the unlock as though an owner entry had always existed
+ unlock = this.key( owner ),
+ cache = this.cache[ unlock ];
+
+ // Handle: [ owner, key, value ] args
+ if ( typeof data === "string" ) {
+ cache[ data ] = value;
+
+ // Handle: [ owner, { properties } ] args
+ } else {
+ // Fresh assignments by object are shallow copied
+ if ( jQuery.isEmptyObject( cache ) ) {
+ jQuery.extend( this.cache[ unlock ], data );
+ // Otherwise, copy the properties one-by-one to the cache object
+ } else {
+ for ( prop in data ) {
+ cache[ prop ] = data[ prop ];
+ }
+ }
+ }
+ return cache;
+ },
+ get: function( owner, key ) {
+ // Either a valid cache is found, or will be created.
+ // New caches will be created and the unlock returned,
+ // allowing direct access to the newly created
+ // empty data object. A valid owner object must be provided.
+ var cache = this.cache[ this.key( owner ) ];
+
+ return key === undefined ?
+ cache : cache[ key ];
+ },
+ access: function( owner, key, value ) {
+ var stored;
+ // In cases where either:
+ //
+ // 1. No key was specified
+ // 2. A string key was specified, but no value provided
+ //
+ // Take the "read" path and allow the get method to determine
+ // which value to return, respectively either:
+ //
+ // 1. The entire cache object
+ // 2. The data stored at the key
+ //
+ if ( key === undefined ||
+ ((key && typeof key === "string") && value === undefined) ) {
+
+ stored = this.get( owner, key );
+
+ return stored !== undefined ?
+ stored : this.get( owner, jQuery.camelCase(key) );
+ }
+
+ // [*]When the key is not a string, or both a key and value
+ // are specified, set or extend (existing objects) with either:
+ //
+ // 1. An object of properties
+ // 2. A key and value
+ //
+ this.set( owner, key, value );
+
+ // Since the "set" path can have two possible entry points
+ // return the expected data based on which path was taken[*]
+ return value !== undefined ? value : key;
+ },
+ remove: function( owner, key ) {
+ var i, name, camel,
+ unlock = this.key( owner ),
+ cache = this.cache[ unlock ];
+
+ if ( key === undefined ) {
+ this.cache[ unlock ] = {};
+
+ } else {
+ // Support array or space separated string of keys
+ if ( jQuery.isArray( key ) ) {
+ // If "name" is an array of keys...
+ // When data is initially created, via ("key", "val") signature,
+ // keys will be converted to camelCase.
+ // Since there is no way to tell _how_ a key was added, remove
+ // both plain key and camelCase key. #12786
+ // This will only penalize the array argument path.
+ name = key.concat( key.map( jQuery.camelCase ) );
+ } else {
+ camel = jQuery.camelCase( key );
+ // Try the string as a key before any manipulation
+ if ( key in cache ) {
+ name = [ key, camel ];
+ } else {
+ // If a key with the spaces exists, use it.
+ // Otherwise, create an array by matching non-whitespace
+ name = camel;
+ name = name in cache ?
+ [ name ] : ( name.match( rnotwhite ) || [] );
+ }
+ }
+
+ i = name.length;
+ while ( i-- ) {
+ delete cache[ name[ i ] ];
+ }
+ }
+ },
+ hasData: function( owner ) {
+ return !jQuery.isEmptyObject(
+ this.cache[ owner[ this.expando ] ] || {}
+ );
+ },
+ discard: function( owner ) {
+ if ( owner[ this.expando ] ) {
+ delete this.cache[ owner[ this.expando ] ];
+ }
+ }
+};
+var data_priv = new Data();
+
+var data_user = new Data();
+
+
+
+/*
+ Implementation Summary
+
+ 1. Enforce API surface and semantic compatibility with 1.9.x branch
+ 2. Improve the module's maintainability by reducing the storage
+ paths to a single mechanism.
+ 3. Use the same single mechanism to support "private" and "user" data.
+ 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)
+ 5. Avoid exposing implementation details on user objects (eg. expando properties)
+ 6. Provide a clear path for implementation upgrade to WeakMap in 2014
+*/
+var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
+ rmultiDash = /([A-Z])/g;
+
+function dataAttr( elem, key, data ) {
+ var name;
+
+ // If nothing was found internally, try to fetch any
+ // data from the HTML5 data-* attribute
+ if ( data === undefined && elem.nodeType === 1 ) {
+ name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();
+ data = elem.getAttribute( name );
+
+ if ( typeof data === "string" ) {
+ try {
+ data = data === "true" ? true :
+ data === "false" ? false :
+ data === "null" ? null :
+ // Only convert to a number if it doesn't change the string
+ +data + "" === data ? +data :
+ rbrace.test( data ) ? jQuery.parseJSON( data ) :
+ data;
+ } catch( e ) {}
+
+ // Make sure we set the data so it isn't changed later
+ data_user.set( elem, key, data );
+ } else {
+ data = undefined;
+ }
+ }
+ return data;
+}
+
+jQuery.extend({
+ hasData: function( elem ) {
+ return data_user.hasData( elem ) || data_priv.hasData( elem );
+ },
+
+ data: function( elem, name, data ) {
+ return data_user.access( elem, name, data );
+ },
+
+ removeData: function( elem, name ) {
+ data_user.remove( elem, name );
+ },
+
+ // TODO: Now that all calls to _data and _removeData have been replaced
+ // with direct calls to data_priv methods, these can be deprecated.
+ _data: function( elem, name, data ) {
+ return data_priv.access( elem, name, data );
+ },
+
+ _removeData: function( elem, name ) {
+ data_priv.remove( elem, name );
+ }
+});
+
+jQuery.fn.extend({
+ data: function( key, value ) {
+ var i, name, data,
+ elem = this[ 0 ],
+ attrs = elem && elem.attributes;
+
+ // Gets all values
+ if ( key === undefined ) {
+ if ( this.length ) {
+ data = data_user.get( elem );
+
+ if ( elem.nodeType === 1 && !data_priv.get( elem, "hasDataAttrs" ) ) {
+ i = attrs.length;
+ while ( i-- ) {
+
+ // Support: IE11+
+ // The attrs elements can be null (#14894)
+ if ( attrs[ i ] ) {
+ name = attrs[ i ].name;
+ if ( name.indexOf( "data-" ) === 0 ) {
+ name = jQuery.camelCase( name.slice(5) );
+ dataAttr( elem, name, data[ name ] );
+ }
+ }
+ }
+ data_priv.set( elem, "hasDataAttrs", true );
+ }
+ }
+
+ return data;
+ }
+
+ // Sets multiple values
+ if ( typeof key === "object" ) {
+ return this.each(function() {
+ data_user.set( this, key );
+ });
+ }
+
+ return access( this, function( value ) {
+ var data,
+ camelKey = jQuery.camelCase( key );
+
+ // The calling jQuery object (element matches) is not empty
+ // (and therefore has an element appears at this[ 0 ]) and the
+ // `value` parameter was not undefined. An empty jQuery object
+ // will result in `undefined` for elem = this[ 0 ] which will
+ // throw an exception if an attempt to read a data cache is made.
+ if ( elem && value === undefined ) {
+ // Attempt to get data from the cache
+ // with the key as-is
+ data = data_user.get( elem, key );
+ if ( data !== undefined ) {
+ return data;
+ }
+
+ // Attempt to get data from the cache
+ // with the key camelized
+ data = data_user.get( elem, camelKey );
+ if ( data !== undefined ) {
+ return data;
+ }
+
+ // Attempt to "discover" the data in
+ // HTML5 custom data-* attrs
+ data = dataAttr( elem, camelKey, undefined );
+ if ( data !== undefined ) {
+ return data;
+ }
+
+ // We tried really hard, but the data doesn't exist.
+ return;
+ }
+
+ // Set the data...
+ this.each(function() {
+ // First, attempt to store a copy or reference of any
+ // data that might've been store with a camelCased key.
+ var data = data_user.get( this, camelKey );
+
+ // For HTML5 data-* attribute interop, we have to
+ // store property names with dashes in a camelCase form.
+ // This might not apply to all properties...*
+ data_user.set( this, camelKey, value );
+
+ // *... In the case of properties that might _actually_
+ // have dashes, we need to also store a copy of that
+ // unchanged property.
+ if ( key.indexOf("-") !== -1 && data !== undefined ) {
+ data_user.set( this, key, value );
+ }
+ });
+ }, null, value, arguments.length > 1, null, true );
+ },
+
+ removeData: function( key ) {
+ return this.each(function() {
+ data_user.remove( this, key );
+ });
+ }
+});
+
+
+jQuery.extend({
+ queue: function( elem, type, data ) {
+ var queue;
+
+ if ( elem ) {
+ type = ( type || "fx" ) + "queue";
+ queue = data_priv.get( elem, type );
+
+ // Speed up dequeue by getting out quickly if this is just a lookup
+ if ( data ) {
+ if ( !queue || jQuery.isArray( data ) ) {
+ queue = data_priv.access( elem, type, jQuery.makeArray(data) );
+ } else {
+ queue.push( data );
+ }
+ }
+ return queue || [];
+ }
+ },
+
+ dequeue: function( elem, type ) {
+ type = type || "fx";
+
+ var queue = jQuery.queue( elem, type ),
+ startLength = queue.length,
+ fn = queue.shift(),
+ hooks = jQuery._queueHooks( elem, type ),
+ next = function() {
+ jQuery.dequeue( elem, type );
+ };
+
+ // If the fx queue is dequeued, always remove the progress sentinel
+ if ( fn === "inprogress" ) {
+ fn = queue.shift();
+ startLength--;
+ }
+
+ if ( fn ) {
+
+ // Add a progress sentinel to prevent the fx queue from being
+ // automatically dequeued
+ if ( type === "fx" ) {
+ queue.unshift( "inprogress" );
+ }
+
+ // clear up the last queue stop function
+ delete hooks.stop;
+ fn.call( elem, next, hooks );
+ }
+
+ if ( !startLength && hooks ) {
+ hooks.empty.fire();
+ }
+ },
+
+ // not intended for public consumption - generates a queueHooks object, or returns the current one
+ _queueHooks: function( elem, type ) {
+ var key = type + "queueHooks";
+ return data_priv.get( elem, key ) || data_priv.access( elem, key, {
+ empty: jQuery.Callbacks("once memory").add(function() {
+ data_priv.remove( elem, [ type + "queue", key ] );
+ })
+ });
+ }
+});
+
+jQuery.fn.extend({
+ queue: function( type, data ) {
+ var setter = 2;
+
+ if ( typeof type !== "string" ) {
+ data = type;
+ type = "fx";
+ setter--;
+ }
+
+ if ( arguments.length < setter ) {
+ return jQuery.queue( this[0], type );
+ }
+
+ return data === undefined ?
+ this :
+ this.each(function() {
+ var queue = jQuery.queue( this, type, data );
+
+ // ensure a hooks for this queue
+ jQuery._queueHooks( this, type );
+
+ if ( type === "fx" && queue[0] !== "inprogress" ) {
+ jQuery.dequeue( this, type );
+ }
+ });
+ },
+ dequeue: function( type ) {
+ return this.each(function() {
+ jQuery.dequeue( this, type );
+ });
+ },
+ clearQueue: function( type ) {
+ return this.queue( type || "fx", [] );
+ },
+ // Get a promise resolved when queues of a certain type
+ // are emptied (fx is the type by default)
+ promise: function( type, obj ) {
+ var tmp,
+ count = 1,
+ defer = jQuery.Deferred(),
+ elements = this,
+ i = this.length,
+ resolve = function() {
+ if ( !( --count ) ) {
+ defer.resolveWith( elements, [ elements ] );
+ }
+ };
+
+ if ( typeof type !== "string" ) {
+ obj = type;
+ type = undefined;
+ }
+ type = type || "fx";
+
+ while ( i-- ) {
+ tmp = data_priv.get( elements[ i ], type + "queueHooks" );
+ if ( tmp && tmp.empty ) {
+ count++;
+ tmp.empty.add( resolve );
+ }
+ }
+ resolve();
+ return defer.promise( obj );
+ }
+});
+var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source;
+
+var cssExpand = [ "Top", "Right", "Bottom", "Left" ];
+
+var isHidden = function( elem, el ) {
+ // isHidden might be called from jQuery#filter function;
+ // in that case, element will be second argument
+ elem = el || elem;
+ return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
+ };
+
+var rcheckableType = (/^(?:checkbox|radio)$/i);
+
+
+
+(function() {
+ var fragment = document.createDocumentFragment(),
+ div = fragment.appendChild( document.createElement( "div" ) ),
+ input = document.createElement( "input" );
+
+ // #11217 - WebKit loses check when the name is after the checked attribute
+ // Support: Windows Web Apps (WWA)
+ // `name` and `type` need .setAttribute for WWA
+ input.setAttribute( "type", "radio" );
+ input.setAttribute( "checked", "checked" );
+ input.setAttribute( "name", "t" );
+
+ div.appendChild( input );
+
+ // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3
+ // old WebKit doesn't clone checked state correctly in fragments
+ support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;
+
+ // Make sure textarea (and checkbox) defaultValue is properly cloned
+ // Support: IE9-IE11+
+ div.innerHTML = "";
+ support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;
+})();
+var strundefined = typeof undefined;
+
+
+
+support.focusinBubbles = "onfocusin" in window;
+
+
+var
+ rkeyEvent = /^key/,
+ rmouseEvent = /^(?:mouse|pointer|contextmenu)|click/,
+ rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
+ rtypenamespace = /^([^.]*)(?:\.(.+)|)$/;
+
+function returnTrue() {
+ return true;
+}
+
+function returnFalse() {
+ return false;
+}
+
+function safeActiveElement() {
+ try {
+ return document.activeElement;
+ } catch ( err ) { }
+}
+
+/*
+ * Helper functions for managing events -- not part of the public interface.
+ * Props to Dean Edwards' addEvent library for many of the ideas.
+ */
+jQuery.event = {
+
+ global: {},
+
+ add: function( elem, types, handler, data, selector ) {
+
+ var handleObjIn, eventHandle, tmp,
+ events, t, handleObj,
+ special, handlers, type, namespaces, origType,
+ elemData = data_priv.get( elem );
+
+ // Don't attach events to noData or text/comment nodes (but allow plain objects)
+ if ( !elemData ) {
+ return;
+ }
+
+ // Caller can pass in an object of custom data in lieu of the handler
+ if ( handler.handler ) {
+ handleObjIn = handler;
+ handler = handleObjIn.handler;
+ selector = handleObjIn.selector;
+ }
+
+ // Make sure that the handler has a unique ID, used to find/remove it later
+ if ( !handler.guid ) {
+ handler.guid = jQuery.guid++;
+ }
+
+ // Init the element's event structure and main handler, if this is the first
+ if ( !(events = elemData.events) ) {
+ events = elemData.events = {};
+ }
+ if ( !(eventHandle = elemData.handle) ) {
+ eventHandle = elemData.handle = function( e ) {
+ // Discard the second event of a jQuery.event.trigger() and
+ // when an event is called after a page has unloaded
+ return typeof jQuery !== strundefined && jQuery.event.triggered !== e.type ?
+ jQuery.event.dispatch.apply( elem, arguments ) : undefined;
+ };
+ }
+
+ // Handle multiple events separated by a space
+ types = ( types || "" ).match( rnotwhite ) || [ "" ];
+ t = types.length;
+ while ( t-- ) {
+ tmp = rtypenamespace.exec( types[t] ) || [];
+ type = origType = tmp[1];
+ namespaces = ( tmp[2] || "" ).split( "." ).sort();
+
+ // There *must* be a type, no attaching namespace-only handlers
+ if ( !type ) {
+ continue;
+ }
+
+ // If event changes its type, use the special event handlers for the changed type
+ special = jQuery.event.special[ type ] || {};
+
+ // If selector defined, determine special event api type, otherwise given type
+ type = ( selector ? special.delegateType : special.bindType ) || type;
+
+ // Update special based on newly reset type
+ special = jQuery.event.special[ type ] || {};
+
+ // handleObj is passed to all event handlers
+ handleObj = jQuery.extend({
+ type: type,
+ origType: origType,
+ data: data,
+ handler: handler,
+ guid: handler.guid,
+ selector: selector,
+ needsContext: selector && jQuery.expr.match.needsContext.test( selector ),
+ namespace: namespaces.join(".")
+ }, handleObjIn );
+
+ // Init the event handler queue if we're the first
+ if ( !(handlers = events[ type ]) ) {
+ handlers = events[ type ] = [];
+ handlers.delegateCount = 0;
+
+ // Only use addEventListener if the special events handler returns false
+ if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
+ if ( elem.addEventListener ) {
+ elem.addEventListener( type, eventHandle, false );
+ }
+ }
+ }
+
+ if ( special.add ) {
+ special.add.call( elem, handleObj );
+
+ if ( !handleObj.handler.guid ) {
+ handleObj.handler.guid = handler.guid;
+ }
+ }
+
+ // Add to the element's handler list, delegates in front
+ if ( selector ) {
+ handlers.splice( handlers.delegateCount++, 0, handleObj );
+ } else {
+ handlers.push( handleObj );
+ }
+
+ // Keep track of which events have ever been used, for event optimization
+ jQuery.event.global[ type ] = true;
+ }
+
+ },
+
+ // Detach an event or set of events from an element
+ remove: function( elem, types, handler, selector, mappedTypes ) {
+
+ var j, origCount, tmp,
+ events, t, handleObj,
+ special, handlers, type, namespaces, origType,
+ elemData = data_priv.hasData( elem ) && data_priv.get( elem );
+
+ if ( !elemData || !(events = elemData.events) ) {
+ return;
+ }
+
+ // Once for each type.namespace in types; type may be omitted
+ types = ( types || "" ).match( rnotwhite ) || [ "" ];
+ t = types.length;
+ while ( t-- ) {
+ tmp = rtypenamespace.exec( types[t] ) || [];
+ type = origType = tmp[1];
+ namespaces = ( tmp[2] || "" ).split( "." ).sort();
+
+ // Unbind all events (on this namespace, if provided) for the element
+ if ( !type ) {
+ for ( type in events ) {
+ jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
+ }
+ continue;
+ }
+
+ special = jQuery.event.special[ type ] || {};
+ type = ( selector ? special.delegateType : special.bindType ) || type;
+ handlers = events[ type ] || [];
+ tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" );
+
+ // Remove matching events
+ origCount = j = handlers.length;
+ while ( j-- ) {
+ handleObj = handlers[ j ];
+
+ if ( ( mappedTypes || origType === handleObj.origType ) &&
+ ( !handler || handler.guid === handleObj.guid ) &&
+ ( !tmp || tmp.test( handleObj.namespace ) ) &&
+ ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
+ handlers.splice( j, 1 );
+
+ if ( handleObj.selector ) {
+ handlers.delegateCount--;
+ }
+ if ( special.remove ) {
+ special.remove.call( elem, handleObj );
+ }
+ }
+ }
+
+ // Remove generic event handler if we removed something and no more handlers exist
+ // (avoids potential for endless recursion during removal of special event handlers)
+ if ( origCount && !handlers.length ) {
+ if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {
+ jQuery.removeEvent( elem, type, elemData.handle );
+ }
+
+ delete events[ type ];
+ }
+ }
+
+ // Remove the expando if it's no longer used
+ if ( jQuery.isEmptyObject( events ) ) {
+ delete elemData.handle;
+ data_priv.remove( elem, "events" );
+ }
+ },
+
+ trigger: function( event, data, elem, onlyHandlers ) {
+
+ var i, cur, tmp, bubbleType, ontype, handle, special,
+ eventPath = [ elem || document ],
+ type = hasOwn.call( event, "type" ) ? event.type : event,
+ namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : [];
+
+ cur = tmp = elem = elem || document;
+
+ // Don't do events on text and comment nodes
+ if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
+ return;
+ }
+
+ // focus/blur morphs to focusin/out; ensure we're not firing them right now
+ if ( rfocusMorph.test( type + jQuery.event.triggered ) ) {
+ return;
+ }
+
+ if ( type.indexOf(".") >= 0 ) {
+ // Namespaced trigger; create a regexp to match event type in handle()
+ namespaces = type.split(".");
+ type = namespaces.shift();
+ namespaces.sort();
+ }
+ ontype = type.indexOf(":") < 0 && "on" + type;
+
+ // Caller can pass in a jQuery.Event object, Object, or just an event type string
+ event = event[ jQuery.expando ] ?
+ event :
+ new jQuery.Event( type, typeof event === "object" && event );
+
+ // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
+ event.isTrigger = onlyHandlers ? 2 : 3;
+ event.namespace = namespaces.join(".");
+ event.namespace_re = event.namespace ?
+ new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) :
+ null;
+
+ // Clean up the event in case it is being reused
+ event.result = undefined;
+ if ( !event.target ) {
+ event.target = elem;
+ }
+
+ // Clone any incoming data and prepend the event, creating the handler arg list
+ data = data == null ?
+ [ event ] :
+ jQuery.makeArray( data, [ event ] );
+
+ // Allow special events to draw outside the lines
+ special = jQuery.event.special[ type ] || {};
+ if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {
+ return;
+ }
+
+ // Determine event propagation path in advance, per W3C events spec (#9951)
+ // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
+ if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {
+
+ bubbleType = special.delegateType || type;
+ if ( !rfocusMorph.test( bubbleType + type ) ) {
+ cur = cur.parentNode;
+ }
+ for ( ; cur; cur = cur.parentNode ) {
+ eventPath.push( cur );
+ tmp = cur;
+ }
+
+ // Only add window if we got to document (e.g., not plain obj or detached DOM)
+ if ( tmp === (elem.ownerDocument || document) ) {
+ eventPath.push( tmp.defaultView || tmp.parentWindow || window );
+ }
+ }
+
+ // Fire handlers on the event path
+ i = 0;
+ while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) {
+
+ event.type = i > 1 ?
+ bubbleType :
+ special.bindType || type;
+
+ // jQuery handler
+ handle = ( data_priv.get( cur, "events" ) || {} )[ event.type ] && data_priv.get( cur, "handle" );
+ if ( handle ) {
+ handle.apply( cur, data );
+ }
+
+ // Native handler
+ handle = ontype && cur[ ontype ];
+ if ( handle && handle.apply && jQuery.acceptData( cur ) ) {
+ event.result = handle.apply( cur, data );
+ if ( event.result === false ) {
+ event.preventDefault();
+ }
+ }
+ }
+ event.type = type;
+
+ // If nobody prevented the default action, do it now
+ if ( !onlyHandlers && !event.isDefaultPrevented() ) {
+
+ if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) &&
+ jQuery.acceptData( elem ) ) {
+
+ // Call a native DOM method on the target with the same name name as the event.
+ // Don't do default actions on window, that's where global variables be (#6170)
+ if ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) {
+
+ // Don't re-trigger an onFOO event when we call its FOO() method
+ tmp = elem[ ontype ];
+
+ if ( tmp ) {
+ elem[ ontype ] = null;
+ }
+
+ // Prevent re-triggering of the same event, since we already bubbled it above
+ jQuery.event.triggered = type;
+ elem[ type ]();
+ jQuery.event.triggered = undefined;
+
+ if ( tmp ) {
+ elem[ ontype ] = tmp;
+ }
+ }
+ }
+ }
+
+ return event.result;
+ },
+
+ dispatch: function( event ) {
+
+ // Make a writable jQuery.Event from the native event object
+ event = jQuery.event.fix( event );
+
+ var i, j, ret, matched, handleObj,
+ handlerQueue = [],
+ args = slice.call( arguments ),
+ handlers = ( data_priv.get( this, "events" ) || {} )[ event.type ] || [],
+ special = jQuery.event.special[ event.type ] || {};
+
+ // Use the fix-ed jQuery.Event rather than the (read-only) native event
+ args[0] = event;
+ event.delegateTarget = this;
+
+ // Call the preDispatch hook for the mapped type, and let it bail if desired
+ if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
+ return;
+ }
+
+ // Determine handlers
+ handlerQueue = jQuery.event.handlers.call( this, event, handlers );
+
+ // Run delegates first; they may want to stop propagation beneath us
+ i = 0;
+ while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) {
+ event.currentTarget = matched.elem;
+
+ j = 0;
+ while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) {
+
+ // Triggered event must either 1) have no namespace, or
+ // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).
+ if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) {
+
+ event.handleObj = handleObj;
+ event.data = handleObj.data;
+
+ ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )
+ .apply( matched.elem, args );
+
+ if ( ret !== undefined ) {
+ if ( (event.result = ret) === false ) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ }
+ }
+ }
+ }
+
+ // Call the postDispatch hook for the mapped type
+ if ( special.postDispatch ) {
+ special.postDispatch.call( this, event );
+ }
+
+ return event.result;
+ },
+
+ handlers: function( event, handlers ) {
+ var i, matches, sel, handleObj,
+ handlerQueue = [],
+ delegateCount = handlers.delegateCount,
+ cur = event.target;
+
+ // Find delegate handlers
+ // Black-hole SVG instance trees (#13180)
+ // Avoid non-left-click bubbling in Firefox (#3861)
+ if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) {
+
+ for ( ; cur !== this; cur = cur.parentNode || this ) {
+
+ // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
+ if ( cur.disabled !== true || event.type !== "click" ) {
+ matches = [];
+ for ( i = 0; i < delegateCount; i++ ) {
+ handleObj = handlers[ i ];
+
+ // Don't conflict with Object.prototype properties (#13203)
+ sel = handleObj.selector + " ";
+
+ if ( matches[ sel ] === undefined ) {
+ matches[ sel ] = handleObj.needsContext ?
+ jQuery( sel, this ).index( cur ) >= 0 :
+ jQuery.find( sel, this, null, [ cur ] ).length;
+ }
+ if ( matches[ sel ] ) {
+ matches.push( handleObj );
+ }
+ }
+ if ( matches.length ) {
+ handlerQueue.push({ elem: cur, handlers: matches });
+ }
+ }
+ }
+ }
+
+ // Add the remaining (directly-bound) handlers
+ if ( delegateCount < handlers.length ) {
+ handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) });
+ }
+
+ return handlerQueue;
+ },
+
+ // Includes some event props shared by KeyEvent and MouseEvent
+ props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
+
+ fixHooks: {},
+
+ keyHooks: {
+ props: "char charCode key keyCode".split(" "),
+ filter: function( event, original ) {
+
+ // Add which for key events
+ if ( event.which == null ) {
+ event.which = original.charCode != null ? original.charCode : original.keyCode;
+ }
+
+ return event;
+ }
+ },
+
+ mouseHooks: {
+ props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
+ filter: function( event, original ) {
+ var eventDoc, doc, body,
+ button = original.button;
+
+ // Calculate pageX/Y if missing and clientX/Y available
+ if ( event.pageX == null && original.clientX != null ) {
+ eventDoc = event.target.ownerDocument || document;
+ doc = eventDoc.documentElement;
+ body = eventDoc.body;
+
+ event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );
+ event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 );
+ }
+
+ // Add which for click: 1 === left; 2 === middle; 3 === right
+ // Note: button is not normalized, so don't use it
+ if ( !event.which && button !== undefined ) {
+ event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
+ }
+
+ return event;
+ }
+ },
+
+ fix: function( event ) {
+ if ( event[ jQuery.expando ] ) {
+ return event;
+ }
+
+ // Create a writable copy of the event object and normalize some properties
+ var i, prop, copy,
+ type = event.type,
+ originalEvent = event,
+ fixHook = this.fixHooks[ type ];
+
+ if ( !fixHook ) {
+ this.fixHooks[ type ] = fixHook =
+ rmouseEvent.test( type ) ? this.mouseHooks :
+ rkeyEvent.test( type ) ? this.keyHooks :
+ {};
+ }
+ copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;
+
+ event = new jQuery.Event( originalEvent );
+
+ i = copy.length;
+ while ( i-- ) {
+ prop = copy[ i ];
+ event[ prop ] = originalEvent[ prop ];
+ }
+
+ // Support: Cordova 2.5 (WebKit) (#13255)
+ // All events should have a target; Cordova deviceready doesn't
+ if ( !event.target ) {
+ event.target = document;
+ }
+
+ // Support: Safari 6.0+, Chrome < 28
+ // Target should not be a text node (#504, #13143)
+ if ( event.target.nodeType === 3 ) {
+ event.target = event.target.parentNode;
+ }
+
+ return fixHook.filter ? fixHook.filter( event, originalEvent ) : event;
+ },
+
+ special: {
+ load: {
+ // Prevent triggered image.load events from bubbling to window.load
+ noBubble: true
+ },
+ focus: {
+ // Fire native event if possible so blur/focus sequence is correct
+ trigger: function() {
+ if ( this !== safeActiveElement() && this.focus ) {
+ this.focus();
+ return false;
+ }
+ },
+ delegateType: "focusin"
+ },
+ blur: {
+ trigger: function() {
+ if ( this === safeActiveElement() && this.blur ) {
+ this.blur();
+ return false;
+ }
+ },
+ delegateType: "focusout"
+ },
+ click: {
+ // For checkbox, fire native event so checked state will be right
+ trigger: function() {
+ if ( this.type === "checkbox" && this.click && jQuery.nodeName( this, "input" ) ) {
+ this.click();
+ return false;
+ }
+ },
+
+ // For cross-browser consistency, don't fire native .click() on links
+ _default: function( event ) {
+ return jQuery.nodeName( event.target, "a" );
+ }
+ },
+
+ beforeunload: {
+ postDispatch: function( event ) {
+
+ // Support: Firefox 20+
+ // Firefox doesn't alert if the returnValue field is not set.
+ if ( event.result !== undefined && event.originalEvent ) {
+ event.originalEvent.returnValue = event.result;
+ }
+ }
+ }
+ },
+
+ simulate: function( type, elem, event, bubble ) {
+ // Piggyback on a donor event to simulate a different one.
+ // Fake originalEvent to avoid donor's stopPropagation, but if the
+ // simulated event prevents default then we do the same on the donor.
+ var e = jQuery.extend(
+ new jQuery.Event(),
+ event,
+ {
+ type: type,
+ isSimulated: true,
+ originalEvent: {}
+ }
+ );
+ if ( bubble ) {
+ jQuery.event.trigger( e, null, elem );
+ } else {
+ jQuery.event.dispatch.call( elem, e );
+ }
+ if ( e.isDefaultPrevented() ) {
+ event.preventDefault();
+ }
+ }
+};
+
+jQuery.removeEvent = function( elem, type, handle ) {
+ if ( elem.removeEventListener ) {
+ elem.removeEventListener( type, handle, false );
+ }
+};
+
+jQuery.Event = function( src, props ) {
+ // Allow instantiation without the 'new' keyword
+ if ( !(this instanceof jQuery.Event) ) {
+ return new jQuery.Event( src, props );
+ }
+
+ // Event object
+ if ( src && src.type ) {
+ this.originalEvent = src;
+ this.type = src.type;
+
+ // Events bubbling up the document may have been marked as prevented
+ // by a handler lower down the tree; reflect the correct value.
+ this.isDefaultPrevented = src.defaultPrevented ||
+ src.defaultPrevented === undefined &&
+ // Support: Android < 4.0
+ src.returnValue === false ?
+ returnTrue :
+ returnFalse;
+
+ // Event type
+ } else {
+ this.type = src;
+ }
+
+ // Put explicitly provided properties onto the event object
+ if ( props ) {
+ jQuery.extend( this, props );
+ }
+
+ // Create a timestamp if incoming event doesn't have one
+ this.timeStamp = src && src.timeStamp || jQuery.now();
+
+ // Mark it as fixed
+ this[ jQuery.expando ] = true;
+};
+
+// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
+// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
+jQuery.Event.prototype = {
+ isDefaultPrevented: returnFalse,
+ isPropagationStopped: returnFalse,
+ isImmediatePropagationStopped: returnFalse,
+
+ preventDefault: function() {
+ var e = this.originalEvent;
+
+ this.isDefaultPrevented = returnTrue;
+
+ if ( e && e.preventDefault ) {
+ e.preventDefault();
+ }
+ },
+ stopPropagation: function() {
+ var e = this.originalEvent;
+
+ this.isPropagationStopped = returnTrue;
+
+ if ( e && e.stopPropagation ) {
+ e.stopPropagation();
+ }
+ },
+ stopImmediatePropagation: function() {
+ var e = this.originalEvent;
+
+ this.isImmediatePropagationStopped = returnTrue;
+
+ if ( e && e.stopImmediatePropagation ) {
+ e.stopImmediatePropagation();
+ }
+
+ this.stopPropagation();
+ }
+};
+
+// Create mouseenter/leave events using mouseover/out and event-time checks
+// Support: Chrome 15+
+jQuery.each({
+ mouseenter: "mouseover",
+ mouseleave: "mouseout",
+ pointerenter: "pointerover",
+ pointerleave: "pointerout"
+}, function( orig, fix ) {
+ jQuery.event.special[ orig ] = {
+ delegateType: fix,
+ bindType: fix,
+
+ handle: function( event ) {
+ var ret,
+ target = this,
+ related = event.relatedTarget,
+ handleObj = event.handleObj;
+
+ // For mousenter/leave call the handler if related is outside the target.
+ // NB: No relatedTarget if the mouse left/entered the browser window
+ if ( !related || (related !== target && !jQuery.contains( target, related )) ) {
+ event.type = handleObj.origType;
+ ret = handleObj.handler.apply( this, arguments );
+ event.type = fix;
+ }
+ return ret;
+ }
+ };
+});
+
+// Create "bubbling" focus and blur events
+// Support: Firefox, Chrome, Safari
+if ( !support.focusinBubbles ) {
+ jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {
+
+ // Attach a single capturing handler on the document while someone wants focusin/focusout
+ var handler = function( event ) {
+ jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );
+ };
+
+ jQuery.event.special[ fix ] = {
+ setup: function() {
+ var doc = this.ownerDocument || this,
+ attaches = data_priv.access( doc, fix );
+
+ if ( !attaches ) {
+ doc.addEventListener( orig, handler, true );
+ }
+ data_priv.access( doc, fix, ( attaches || 0 ) + 1 );
+ },
+ teardown: function() {
+ var doc = this.ownerDocument || this,
+ attaches = data_priv.access( doc, fix ) - 1;
+
+ if ( !attaches ) {
+ doc.removeEventListener( orig, handler, true );
+ data_priv.remove( doc, fix );
+
+ } else {
+ data_priv.access( doc, fix, attaches );
+ }
+ }
+ };
+ });
+}
+
+jQuery.fn.extend({
+
+ on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
+ var origFn, type;
+
+ // Types can be a map of types/handlers
+ if ( typeof types === "object" ) {
+ // ( types-Object, selector, data )
+ if ( typeof selector !== "string" ) {
+ // ( types-Object, data )
+ data = data || selector;
+ selector = undefined;
+ }
+ for ( type in types ) {
+ this.on( type, selector, data, types[ type ], one );
+ }
+ return this;
+ }
+
+ if ( data == null && fn == null ) {
+ // ( types, fn )
+ fn = selector;
+ data = selector = undefined;
+ } else if ( fn == null ) {
+ if ( typeof selector === "string" ) {
+ // ( types, selector, fn )
+ fn = data;
+ data = undefined;
+ } else {
+ // ( types, data, fn )
+ fn = data;
+ data = selector;
+ selector = undefined;
+ }
+ }
+ if ( fn === false ) {
+ fn = returnFalse;
+ } else if ( !fn ) {
+ return this;
+ }
+
+ if ( one === 1 ) {
+ origFn = fn;
+ fn = function( event ) {
+ // Can use an empty set, since event contains the info
+ jQuery().off( event );
+ return origFn.apply( this, arguments );
+ };
+ // Use same guid so caller can remove using origFn
+ fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
+ }
+ return this.each( function() {
+ jQuery.event.add( this, types, fn, data, selector );
+ });
+ },
+ one: function( types, selector, data, fn ) {
+ return this.on( types, selector, data, fn, 1 );
+ },
+ off: function( types, selector, fn ) {
+ var handleObj, type;
+ if ( types && types.preventDefault && types.handleObj ) {
+ // ( event ) dispatched jQuery.Event
+ handleObj = types.handleObj;
+ jQuery( types.delegateTarget ).off(
+ handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
+ handleObj.selector,
+ handleObj.handler
+ );
+ return this;
+ }
+ if ( typeof types === "object" ) {
+ // ( types-object [, selector] )
+ for ( type in types ) {
+ this.off( type, selector, types[ type ] );
+ }
+ return this;
+ }
+ if ( selector === false || typeof selector === "function" ) {
+ // ( types [, fn] )
+ fn = selector;
+ selector = undefined;
+ }
+ if ( fn === false ) {
+ fn = returnFalse;
+ }
+ return this.each(function() {
+ jQuery.event.remove( this, types, fn, selector );
+ });
+ },
+
+ trigger: function( type, data ) {
+ return this.each(function() {
+ jQuery.event.trigger( type, data, this );
+ });
+ },
+ triggerHandler: function( type, data ) {
+ var elem = this[0];
+ if ( elem ) {
+ return jQuery.event.trigger( type, data, elem, true );
+ }
+ }
+});
+
+
+var
+ rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
+ rtagName = /<([\w:]+)/,
+ rhtml = /<|?\w+;/,
+ rnoInnerhtml = /<(?:script|style|link)/i,
+ // checked="checked" or checked
+ rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
+ rscriptType = /^$|\/(?:java|ecma)script/i,
+ rscriptTypeMasked = /^true\/(.*)/,
+ rcleanScript = /^\s*\s*$/g,
+
+ // We have to close these tags to support XHTML (#13200)
+ wrapMap = {
+
+ // Support: IE 9
+ option: [ 1, "", " " ],
+
+ thead: [ 1, "" ],
+ col: [ 2, "" ],
+ tr: [ 2, "" ],
+ td: [ 3, "" ],
+
+ _default: [ 0, "", "" ]
+ };
+
+// Support: IE 9
+wrapMap.optgroup = wrapMap.option;
+
+wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
+wrapMap.th = wrapMap.td;
+
+// Support: 1.x compatibility
+// Manipulating tables requires a tbody
+function manipulationTarget( elem, content ) {
+ return jQuery.nodeName( elem, "table" ) &&
+ jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ?
+
+ elem.getElementsByTagName("tbody")[0] ||
+ elem.appendChild( elem.ownerDocument.createElement("tbody") ) :
+ elem;
+}
+
+// Replace/restore the type attribute of script elements for safe DOM manipulation
+function disableScript( elem ) {
+ elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type;
+ return elem;
+}
+function restoreScript( elem ) {
+ var match = rscriptTypeMasked.exec( elem.type );
+
+ if ( match ) {
+ elem.type = match[ 1 ];
+ } else {
+ elem.removeAttribute("type");
+ }
+
+ return elem;
+}
+
+// Mark scripts as having already been evaluated
+function setGlobalEval( elems, refElements ) {
+ var i = 0,
+ l = elems.length;
+
+ for ( ; i < l; i++ ) {
+ data_priv.set(
+ elems[ i ], "globalEval", !refElements || data_priv.get( refElements[ i ], "globalEval" )
+ );
+ }
+}
+
+function cloneCopyEvent( src, dest ) {
+ var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;
+
+ if ( dest.nodeType !== 1 ) {
+ return;
+ }
+
+ // 1. Copy private data: events, handlers, etc.
+ if ( data_priv.hasData( src ) ) {
+ pdataOld = data_priv.access( src );
+ pdataCur = data_priv.set( dest, pdataOld );
+ events = pdataOld.events;
+
+ if ( events ) {
+ delete pdataCur.handle;
+ pdataCur.events = {};
+
+ for ( type in events ) {
+ for ( i = 0, l = events[ type ].length; i < l; i++ ) {
+ jQuery.event.add( dest, type, events[ type ][ i ] );
+ }
+ }
+ }
+ }
+
+ // 2. Copy user data
+ if ( data_user.hasData( src ) ) {
+ udataOld = data_user.access( src );
+ udataCur = jQuery.extend( {}, udataOld );
+
+ data_user.set( dest, udataCur );
+ }
+}
+
+function getAll( context, tag ) {
+ var ret = context.getElementsByTagName ? context.getElementsByTagName( tag || "*" ) :
+ context.querySelectorAll ? context.querySelectorAll( tag || "*" ) :
+ [];
+
+ return tag === undefined || tag && jQuery.nodeName( context, tag ) ?
+ jQuery.merge( [ context ], ret ) :
+ ret;
+}
+
+// Support: IE >= 9
+function fixInput( src, dest ) {
+ var nodeName = dest.nodeName.toLowerCase();
+
+ // Fails to persist the checked state of a cloned checkbox or radio button.
+ if ( nodeName === "input" && rcheckableType.test( src.type ) ) {
+ dest.checked = src.checked;
+
+ // Fails to return the selected option to the default selected state when cloning options
+ } else if ( nodeName === "input" || nodeName === "textarea" ) {
+ dest.defaultValue = src.defaultValue;
+ }
+}
+
+jQuery.extend({
+ clone: function( elem, dataAndEvents, deepDataAndEvents ) {
+ var i, l, srcElements, destElements,
+ clone = elem.cloneNode( true ),
+ inPage = jQuery.contains( elem.ownerDocument, elem );
+
+ // Support: IE >= 9
+ // Fix Cloning issues
+ if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&
+ !jQuery.isXMLDoc( elem ) ) {
+
+ // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2
+ destElements = getAll( clone );
+ srcElements = getAll( elem );
+
+ for ( i = 0, l = srcElements.length; i < l; i++ ) {
+ fixInput( srcElements[ i ], destElements[ i ] );
+ }
+ }
+
+ // Copy the events from the original to the clone
+ if ( dataAndEvents ) {
+ if ( deepDataAndEvents ) {
+ srcElements = srcElements || getAll( elem );
+ destElements = destElements || getAll( clone );
+
+ for ( i = 0, l = srcElements.length; i < l; i++ ) {
+ cloneCopyEvent( srcElements[ i ], destElements[ i ] );
+ }
+ } else {
+ cloneCopyEvent( elem, clone );
+ }
+ }
+
+ // Preserve script evaluation history
+ destElements = getAll( clone, "script" );
+ if ( destElements.length > 0 ) {
+ setGlobalEval( destElements, !inPage && getAll( elem, "script" ) );
+ }
+
+ // Return the cloned set
+ return clone;
+ },
+
+ buildFragment: function( elems, context, scripts, selection ) {
+ var elem, tmp, tag, wrap, contains, j,
+ fragment = context.createDocumentFragment(),
+ nodes = [],
+ i = 0,
+ l = elems.length;
+
+ for ( ; i < l; i++ ) {
+ elem = elems[ i ];
+
+ if ( elem || elem === 0 ) {
+
+ // Add nodes directly
+ if ( jQuery.type( elem ) === "object" ) {
+ // Support: QtWebKit
+ // jQuery.merge because push.apply(_, arraylike) throws
+ jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );
+
+ // Convert non-html into a text node
+ } else if ( !rhtml.test( elem ) ) {
+ nodes.push( context.createTextNode( elem ) );
+
+ // Convert html into DOM nodes
+ } else {
+ tmp = tmp || fragment.appendChild( context.createElement("div") );
+
+ // Deserialize a standard representation
+ tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase();
+ wrap = wrapMap[ tag ] || wrapMap._default;
+ tmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, "<$1>$2>" ) + wrap[ 2 ];
+
+ // Descend through wrappers to the right content
+ j = wrap[ 0 ];
+ while ( j-- ) {
+ tmp = tmp.lastChild;
+ }
+
+ // Support: QtWebKit
+ // jQuery.merge because push.apply(_, arraylike) throws
+ jQuery.merge( nodes, tmp.childNodes );
+
+ // Remember the top-level container
+ tmp = fragment.firstChild;
+
+ // Fixes #12346
+ // Support: Webkit, IE
+ tmp.textContent = "";
+ }
+ }
+ }
+
+ // Remove wrapper from fragment
+ fragment.textContent = "";
+
+ i = 0;
+ while ( (elem = nodes[ i++ ]) ) {
+
+ // #4087 - If origin and destination elements are the same, and this is
+ // that element, do not do anything
+ if ( selection && jQuery.inArray( elem, selection ) !== -1 ) {
+ continue;
+ }
+
+ contains = jQuery.contains( elem.ownerDocument, elem );
+
+ // Append to fragment
+ tmp = getAll( fragment.appendChild( elem ), "script" );
+
+ // Preserve script evaluation history
+ if ( contains ) {
+ setGlobalEval( tmp );
+ }
+
+ // Capture executables
+ if ( scripts ) {
+ j = 0;
+ while ( (elem = tmp[ j++ ]) ) {
+ if ( rscriptType.test( elem.type || "" ) ) {
+ scripts.push( elem );
+ }
+ }
+ }
+ }
+
+ return fragment;
+ },
+
+ cleanData: function( elems ) {
+ var data, elem, type, key,
+ special = jQuery.event.special,
+ i = 0;
+
+ for ( ; (elem = elems[ i ]) !== undefined; i++ ) {
+ if ( jQuery.acceptData( elem ) ) {
+ key = elem[ data_priv.expando ];
+
+ if ( key && (data = data_priv.cache[ key ]) ) {
+ if ( data.events ) {
+ for ( type in data.events ) {
+ if ( special[ type ] ) {
+ jQuery.event.remove( elem, type );
+
+ // This is a shortcut to avoid jQuery.event.remove's overhead
+ } else {
+ jQuery.removeEvent( elem, type, data.handle );
+ }
+ }
+ }
+ if ( data_priv.cache[ key ] ) {
+ // Discard any remaining `private` data
+ delete data_priv.cache[ key ];
+ }
+ }
+ }
+ // Discard any remaining `user` data
+ delete data_user.cache[ elem[ data_user.expando ] ];
+ }
+ }
+});
+
+jQuery.fn.extend({
+ text: function( value ) {
+ return access( this, function( value ) {
+ return value === undefined ?
+ jQuery.text( this ) :
+ this.empty().each(function() {
+ if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
+ this.textContent = value;
+ }
+ });
+ }, null, value, arguments.length );
+ },
+
+ append: function() {
+ return this.domManip( arguments, function( elem ) {
+ if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
+ var target = manipulationTarget( this, elem );
+ target.appendChild( elem );
+ }
+ });
+ },
+
+ prepend: function() {
+ return this.domManip( arguments, function( elem ) {
+ if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
+ var target = manipulationTarget( this, elem );
+ target.insertBefore( elem, target.firstChild );
+ }
+ });
+ },
+
+ before: function() {
+ return this.domManip( arguments, function( elem ) {
+ if ( this.parentNode ) {
+ this.parentNode.insertBefore( elem, this );
+ }
+ });
+ },
+
+ after: function() {
+ return this.domManip( arguments, function( elem ) {
+ if ( this.parentNode ) {
+ this.parentNode.insertBefore( elem, this.nextSibling );
+ }
+ });
+ },
+
+ remove: function( selector, keepData /* Internal Use Only */ ) {
+ var elem,
+ elems = selector ? jQuery.filter( selector, this ) : this,
+ i = 0;
+
+ for ( ; (elem = elems[i]) != null; i++ ) {
+ if ( !keepData && elem.nodeType === 1 ) {
+ jQuery.cleanData( getAll( elem ) );
+ }
+
+ if ( elem.parentNode ) {
+ if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) {
+ setGlobalEval( getAll( elem, "script" ) );
+ }
+ elem.parentNode.removeChild( elem );
+ }
+ }
+
+ return this;
+ },
+
+ empty: function() {
+ var elem,
+ i = 0;
+
+ for ( ; (elem = this[i]) != null; i++ ) {
+ if ( elem.nodeType === 1 ) {
+
+ // Prevent memory leaks
+ jQuery.cleanData( getAll( elem, false ) );
+
+ // Remove any remaining nodes
+ elem.textContent = "";
+ }
+ }
+
+ return this;
+ },
+
+ clone: function( dataAndEvents, deepDataAndEvents ) {
+ dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
+ deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
+
+ return this.map(function() {
+ return jQuery.clone( this, dataAndEvents, deepDataAndEvents );
+ });
+ },
+
+ html: function( value ) {
+ return access( this, function( value ) {
+ var elem = this[ 0 ] || {},
+ i = 0,
+ l = this.length;
+
+ if ( value === undefined && elem.nodeType === 1 ) {
+ return elem.innerHTML;
+ }
+
+ // See if we can take a shortcut and just use innerHTML
+ if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
+ !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) {
+
+ value = value.replace( rxhtmlTag, "<$1>$2>" );
+
+ try {
+ for ( ; i < l; i++ ) {
+ elem = this[ i ] || {};
+
+ // Remove element nodes and prevent memory leaks
+ if ( elem.nodeType === 1 ) {
+ jQuery.cleanData( getAll( elem, false ) );
+ elem.innerHTML = value;
+ }
+ }
+
+ elem = 0;
+
+ // If using innerHTML throws an exception, use the fallback method
+ } catch( e ) {}
+ }
+
+ if ( elem ) {
+ this.empty().append( value );
+ }
+ }, null, value, arguments.length );
+ },
+
+ replaceWith: function() {
+ var arg = arguments[ 0 ];
+
+ // Make the changes, replacing each context element with the new content
+ this.domManip( arguments, function( elem ) {
+ arg = this.parentNode;
+
+ jQuery.cleanData( getAll( this ) );
+
+ if ( arg ) {
+ arg.replaceChild( elem, this );
+ }
+ });
+
+ // Force removal if there was no new content (e.g., from empty arguments)
+ return arg && (arg.length || arg.nodeType) ? this : this.remove();
+ },
+
+ detach: function( selector ) {
+ return this.remove( selector, true );
+ },
+
+ domManip: function( args, callback ) {
+
+ // Flatten any nested arrays
+ args = concat.apply( [], args );
+
+ var fragment, first, scripts, hasScripts, node, doc,
+ i = 0,
+ l = this.length,
+ set = this,
+ iNoClone = l - 1,
+ value = args[ 0 ],
+ isFunction = jQuery.isFunction( value );
+
+ // We can't cloneNode fragments that contain checked, in WebKit
+ if ( isFunction ||
+ ( l > 1 && typeof value === "string" &&
+ !support.checkClone && rchecked.test( value ) ) ) {
+ return this.each(function( index ) {
+ var self = set.eq( index );
+ if ( isFunction ) {
+ args[ 0 ] = value.call( this, index, self.html() );
+ }
+ self.domManip( args, callback );
+ });
+ }
+
+ if ( l ) {
+ fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this );
+ first = fragment.firstChild;
+
+ if ( fragment.childNodes.length === 1 ) {
+ fragment = first;
+ }
+
+ if ( first ) {
+ scripts = jQuery.map( getAll( fragment, "script" ), disableScript );
+ hasScripts = scripts.length;
+
+ // Use the original fragment for the last item instead of the first because it can end up
+ // being emptied incorrectly in certain situations (#8070).
+ for ( ; i < l; i++ ) {
+ node = fragment;
+
+ if ( i !== iNoClone ) {
+ node = jQuery.clone( node, true, true );
+
+ // Keep references to cloned scripts for later restoration
+ if ( hasScripts ) {
+ // Support: QtWebKit
+ // jQuery.merge because push.apply(_, arraylike) throws
+ jQuery.merge( scripts, getAll( node, "script" ) );
+ }
+ }
+
+ callback.call( this[ i ], node, i );
+ }
+
+ if ( hasScripts ) {
+ doc = scripts[ scripts.length - 1 ].ownerDocument;
+
+ // Reenable scripts
+ jQuery.map( scripts, restoreScript );
+
+ // Evaluate executable scripts on first document insertion
+ for ( i = 0; i < hasScripts; i++ ) {
+ node = scripts[ i ];
+ if ( rscriptType.test( node.type || "" ) &&
+ !data_priv.access( node, "globalEval" ) && jQuery.contains( doc, node ) ) {
+
+ if ( node.src ) {
+ // Optional AJAX dependency, but won't run scripts if not present
+ if ( jQuery._evalUrl ) {
+ jQuery._evalUrl( node.src );
+ }
+ } else {
+ jQuery.globalEval( node.textContent.replace( rcleanScript, "" ) );
+ }
+ }
+ }
+ }
+ }
+ }
+
+ return this;
+ }
+});
+
+jQuery.each({
+ appendTo: "append",
+ prependTo: "prepend",
+ insertBefore: "before",
+ insertAfter: "after",
+ replaceAll: "replaceWith"
+}, function( name, original ) {
+ jQuery.fn[ name ] = function( selector ) {
+ var elems,
+ ret = [],
+ insert = jQuery( selector ),
+ last = insert.length - 1,
+ i = 0;
+
+ for ( ; i <= last; i++ ) {
+ elems = i === last ? this : this.clone( true );
+ jQuery( insert[ i ] )[ original ]( elems );
+
+ // Support: QtWebKit
+ // .get() because push.apply(_, arraylike) throws
+ push.apply( ret, elems.get() );
+ }
+
+ return this.pushStack( ret );
+ };
+});
+
+
+var iframe,
+ elemdisplay = {};
+
+/**
+ * Retrieve the actual display of a element
+ * @param {String} name nodeName of the element
+ * @param {Object} doc Document object
+ */
+// Called only from within defaultDisplay
+function actualDisplay( name, doc ) {
+ var style,
+ elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),
+
+ // getDefaultComputedStyle might be reliably used only on attached element
+ display = window.getDefaultComputedStyle && ( style = window.getDefaultComputedStyle( elem[ 0 ] ) ) ?
+
+ // Use of this method is a temporary fix (more like optmization) until something better comes along,
+ // since it was removed from specification and supported only in FF
+ style.display : jQuery.css( elem[ 0 ], "display" );
+
+ // We don't have any data stored on the element,
+ // so use "detach" method as fast way to get rid of the element
+ elem.detach();
+
+ return display;
+}
+
+/**
+ * Try to determine the default display value of an element
+ * @param {String} nodeName
+ */
+function defaultDisplay( nodeName ) {
+ var doc = document,
+ display = elemdisplay[ nodeName ];
+
+ if ( !display ) {
+ display = actualDisplay( nodeName, doc );
+
+ // If the simple way fails, read from inside an iframe
+ if ( display === "none" || !display ) {
+
+ // Use the already-created iframe if possible
+ iframe = (iframe || jQuery( "" )).appendTo( doc.documentElement );
+
+ // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse
+ doc = iframe[ 0 ].contentDocument;
+
+ // Support: IE
+ doc.write();
+ doc.close();
+
+ display = actualDisplay( nodeName, doc );
+ iframe.detach();
+ }
+
+ // Store the correct default display
+ elemdisplay[ nodeName ] = display;
+ }
+
+ return display;
+}
+var rmargin = (/^margin/);
+
+var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
+
+var getStyles = function( elem ) {
+ return elem.ownerDocument.defaultView.getComputedStyle( elem, null );
+ };
+
+
+
+function curCSS( elem, name, computed ) {
+ var width, minWidth, maxWidth, ret,
+ style = elem.style;
+
+ computed = computed || getStyles( elem );
+
+ // Support: IE9
+ // getPropertyValue is only needed for .css('filter') in IE9, see #12537
+ if ( computed ) {
+ ret = computed.getPropertyValue( name ) || computed[ name ];
+ }
+
+ if ( computed ) {
+
+ if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
+ ret = jQuery.style( elem, name );
+ }
+
+ // Support: iOS < 6
+ // A tribute to the "awesome hack by Dean Edwards"
+ // iOS < 6 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
+ // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
+ if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {
+
+ // Remember the original values
+ width = style.width;
+ minWidth = style.minWidth;
+ maxWidth = style.maxWidth;
+
+ // Put in the new values to get a computed value out
+ style.minWidth = style.maxWidth = style.width = ret;
+ ret = computed.width;
+
+ // Revert the changed values
+ style.width = width;
+ style.minWidth = minWidth;
+ style.maxWidth = maxWidth;
+ }
+ }
+
+ return ret !== undefined ?
+ // Support: IE
+ // IE returns zIndex value as an integer.
+ ret + "" :
+ ret;
+}
+
+
+function addGetHookIf( conditionFn, hookFn ) {
+ // Define the hook, we'll check on the first run if it's really needed.
+ return {
+ get: function() {
+ if ( conditionFn() ) {
+ // Hook not needed (or it's not possible to use it due to missing dependency),
+ // remove it.
+ // Since there are no other hooks for marginRight, remove the whole object.
+ delete this.get;
+ return;
+ }
+
+ // Hook needed; redefine it so that the support test is not executed again.
+
+ return (this.get = hookFn).apply( this, arguments );
+ }
+ };
+}
+
+
+(function() {
+ var pixelPositionVal, boxSizingReliableVal,
+ docElem = document.documentElement,
+ container = document.createElement( "div" ),
+ div = document.createElement( "div" );
+
+ if ( !div.style ) {
+ return;
+ }
+
+ div.style.backgroundClip = "content-box";
+ div.cloneNode( true ).style.backgroundClip = "";
+ support.clearCloneStyle = div.style.backgroundClip === "content-box";
+
+ container.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;" +
+ "position:absolute";
+ container.appendChild( div );
+
+ // Executing both pixelPosition & boxSizingReliable tests require only one layout
+ // so they're executed at the same time to save the second computation.
+ function computePixelPositionAndBoxSizingReliable() {
+ div.style.cssText =
+ // Support: Firefox<29, Android 2.3
+ // Vendor-prefix box-sizing
+ "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;" +
+ "box-sizing:border-box;display:block;margin-top:1%;top:1%;" +
+ "border:1px;padding:1px;width:4px;position:absolute";
+ div.innerHTML = "";
+ docElem.appendChild( container );
+
+ var divStyle = window.getComputedStyle( div, null );
+ pixelPositionVal = divStyle.top !== "1%";
+ boxSizingReliableVal = divStyle.width === "4px";
+
+ docElem.removeChild( container );
+ }
+
+ // Support: node.js jsdom
+ // Don't assume that getComputedStyle is a property of the global object
+ if ( window.getComputedStyle ) {
+ jQuery.extend( support, {
+ pixelPosition: function() {
+ // This test is executed only once but we still do memoizing
+ // since we can use the boxSizingReliable pre-computing.
+ // No need to check if the test was already performed, though.
+ computePixelPositionAndBoxSizingReliable();
+ return pixelPositionVal;
+ },
+ boxSizingReliable: function() {
+ if ( boxSizingReliableVal == null ) {
+ computePixelPositionAndBoxSizingReliable();
+ }
+ return boxSizingReliableVal;
+ },
+ reliableMarginRight: function() {
+ // Support: Android 2.3
+ // Check if div with explicit width and no margin-right incorrectly
+ // gets computed margin-right based on width of container. (#3333)
+ // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
+ // This support function is only executed once so no memoizing is needed.
+ var ret,
+ marginDiv = div.appendChild( document.createElement( "div" ) );
+
+ // Reset CSS: box-sizing; display; margin; border; padding
+ marginDiv.style.cssText = div.style.cssText =
+ // Support: Firefox<29, Android 2.3
+ // Vendor-prefix box-sizing
+ "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" +
+ "box-sizing:content-box;display:block;margin:0;border:0;padding:0";
+ marginDiv.style.marginRight = marginDiv.style.width = "0";
+ div.style.width = "1px";
+ docElem.appendChild( container );
+
+ ret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );
+
+ docElem.removeChild( container );
+
+ return ret;
+ }
+ });
+ }
+})();
+
+
+// A method for quickly swapping in/out CSS properties to get correct calculations.
+jQuery.swap = function( elem, options, callback, args ) {
+ var ret, name,
+ old = {};
+
+ // Remember the old values, and insert the new ones
+ for ( name in options ) {
+ old[ name ] = elem.style[ name ];
+ elem.style[ name ] = options[ name ];
+ }
+
+ ret = callback.apply( elem, args || [] );
+
+ // Revert the old values
+ for ( name in options ) {
+ elem.style[ name ] = old[ name ];
+ }
+
+ return ret;
+};
+
+
+var
+ // swappable if display is none or starts with table except "table", "table-cell", or "table-caption"
+ // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
+ rdisplayswap = /^(none|table(?!-c[ea]).+)/,
+ rnumsplit = new RegExp( "^(" + pnum + ")(.*)$", "i" ),
+ rrelNum = new RegExp( "^([+-])=(" + pnum + ")", "i" ),
+
+ cssShow = { position: "absolute", visibility: "hidden", display: "block" },
+ cssNormalTransform = {
+ letterSpacing: "0",
+ fontWeight: "400"
+ },
+
+ cssPrefixes = [ "Webkit", "O", "Moz", "ms" ];
+
+// return a css property mapped to a potentially vendor prefixed property
+function vendorPropName( style, name ) {
+
+ // shortcut for names that are not vendor prefixed
+ if ( name in style ) {
+ return name;
+ }
+
+ // check for vendor prefixed names
+ var capName = name[0].toUpperCase() + name.slice(1),
+ origName = name,
+ i = cssPrefixes.length;
+
+ while ( i-- ) {
+ name = cssPrefixes[ i ] + capName;
+ if ( name in style ) {
+ return name;
+ }
+ }
+
+ return origName;
+}
+
+function setPositiveNumber( elem, value, subtract ) {
+ var matches = rnumsplit.exec( value );
+ return matches ?
+ // Guard against undefined "subtract", e.g., when used as in cssHooks
+ Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) :
+ value;
+}
+
+function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
+ var i = extra === ( isBorderBox ? "border" : "content" ) ?
+ // If we already have the right measurement, avoid augmentation
+ 4 :
+ // Otherwise initialize for horizontal or vertical properties
+ name === "width" ? 1 : 0,
+
+ val = 0;
+
+ for ( ; i < 4; i += 2 ) {
+ // both box models exclude margin, so add it if we want it
+ if ( extra === "margin" ) {
+ val += jQuery.css( elem, extra + cssExpand[ i ], true, styles );
+ }
+
+ if ( isBorderBox ) {
+ // border-box includes padding, so remove it if we want content
+ if ( extra === "content" ) {
+ val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
+ }
+
+ // at this point, extra isn't border nor margin, so remove border
+ if ( extra !== "margin" ) {
+ val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
+ }
+ } else {
+ // at this point, extra isn't content, so add padding
+ val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
+
+ // at this point, extra isn't content nor padding, so add border
+ if ( extra !== "padding" ) {
+ val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
+ }
+ }
+ }
+
+ return val;
+}
+
+function getWidthOrHeight( elem, name, extra ) {
+
+ // Start with offset property, which is equivalent to the border-box value
+ var valueIsBorderBox = true,
+ val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
+ styles = getStyles( elem ),
+ isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
+
+ // some non-html elements return undefined for offsetWidth, so check for null/undefined
+ // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
+ // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
+ if ( val <= 0 || val == null ) {
+ // Fall back to computed then uncomputed css if necessary
+ val = curCSS( elem, name, styles );
+ if ( val < 0 || val == null ) {
+ val = elem.style[ name ];
+ }
+
+ // Computed unit is not pixels. Stop here and return.
+ if ( rnumnonpx.test(val) ) {
+ return val;
+ }
+
+ // we need the check for style in case a browser which returns unreliable values
+ // for getComputedStyle silently falls back to the reliable elem.style
+ valueIsBorderBox = isBorderBox &&
+ ( support.boxSizingReliable() || val === elem.style[ name ] );
+
+ // Normalize "", auto, and prepare for extra
+ val = parseFloat( val ) || 0;
+ }
+
+ // use the active box-sizing model to add/subtract irrelevant styles
+ return ( val +
+ augmentWidthOrHeight(
+ elem,
+ name,
+ extra || ( isBorderBox ? "border" : "content" ),
+ valueIsBorderBox,
+ styles
+ )
+ ) + "px";
+}
+
+function showHide( elements, show ) {
+ var display, elem, hidden,
+ values = [],
+ index = 0,
+ length = elements.length;
+
+ for ( ; index < length; index++ ) {
+ elem = elements[ index ];
+ if ( !elem.style ) {
+ continue;
+ }
+
+ values[ index ] = data_priv.get( elem, "olddisplay" );
+ display = elem.style.display;
+ if ( show ) {
+ // Reset the inline display of this element to learn if it is
+ // being hidden by cascaded rules or not
+ if ( !values[ index ] && display === "none" ) {
+ elem.style.display = "";
+ }
+
+ // Set elements which have been overridden with display: none
+ // in a stylesheet to whatever the default browser style is
+ // for such an element
+ if ( elem.style.display === "" && isHidden( elem ) ) {
+ values[ index ] = data_priv.access( elem, "olddisplay", defaultDisplay(elem.nodeName) );
+ }
+ } else {
+ hidden = isHidden( elem );
+
+ if ( display !== "none" || !hidden ) {
+ data_priv.set( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) );
+ }
+ }
+ }
+
+ // Set the display of most of the elements in a second loop
+ // to avoid the constant reflow
+ for ( index = 0; index < length; index++ ) {
+ elem = elements[ index ];
+ if ( !elem.style ) {
+ continue;
+ }
+ if ( !show || elem.style.display === "none" || elem.style.display === "" ) {
+ elem.style.display = show ? values[ index ] || "" : "none";
+ }
+ }
+
+ return elements;
+}
+
+jQuery.extend({
+ // Add in style property hooks for overriding the default
+ // behavior of getting and setting a style property
+ cssHooks: {
+ opacity: {
+ get: function( elem, computed ) {
+ if ( computed ) {
+ // We should always get a number back from opacity
+ var ret = curCSS( elem, "opacity" );
+ return ret === "" ? "1" : ret;
+ }
+ }
+ }
+ },
+
+ // Don't automatically add "px" to these possibly-unitless properties
+ cssNumber: {
+ "columnCount": true,
+ "fillOpacity": true,
+ "flexGrow": true,
+ "flexShrink": true,
+ "fontWeight": true,
+ "lineHeight": true,
+ "opacity": true,
+ "order": true,
+ "orphans": true,
+ "widows": true,
+ "zIndex": true,
+ "zoom": true
+ },
+
+ // Add in properties whose names you wish to fix before
+ // setting or getting the value
+ cssProps: {
+ // normalize float css property
+ "float": "cssFloat"
+ },
+
+ // Get and set the style property on a DOM Node
+ style: function( elem, name, value, extra ) {
+ // Don't set styles on text and comment nodes
+ if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
+ return;
+ }
+
+ // Make sure that we're working with the right name
+ var ret, type, hooks,
+ origName = jQuery.camelCase( name ),
+ style = elem.style;
+
+ name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) );
+
+ // gets hook for the prefixed version
+ // followed by the unprefixed version
+ hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
+
+ // Check if we're setting a value
+ if ( value !== undefined ) {
+ type = typeof value;
+
+ // convert relative number strings (+= or -=) to relative numbers. #7345
+ if ( type === "string" && (ret = rrelNum.exec( value )) ) {
+ value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) );
+ // Fixes bug #9237
+ type = "number";
+ }
+
+ // Make sure that null and NaN values aren't set. See: #7116
+ if ( value == null || value !== value ) {
+ return;
+ }
+
+ // If a number was passed in, add 'px' to the (except for certain CSS properties)
+ if ( type === "number" && !jQuery.cssNumber[ origName ] ) {
+ value += "px";
+ }
+
+ // Fixes #8908, it can be done more correctly by specifying setters in cssHooks,
+ // but it would mean to define eight (for every problematic property) identical functions
+ if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) {
+ style[ name ] = "inherit";
+ }
+
+ // If a hook was provided, use that value, otherwise just set the specified value
+ if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {
+ style[ name ] = value;
+ }
+
+ } else {
+ // If a hook was provided get the non-computed value from there
+ if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {
+ return ret;
+ }
+
+ // Otherwise just get the value from the style object
+ return style[ name ];
+ }
+ },
+
+ css: function( elem, name, extra, styles ) {
+ var val, num, hooks,
+ origName = jQuery.camelCase( name );
+
+ // Make sure that we're working with the right name
+ name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) );
+
+ // gets hook for the prefixed version
+ // followed by the unprefixed version
+ hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
+
+ // If a hook was provided get the computed value from there
+ if ( hooks && "get" in hooks ) {
+ val = hooks.get( elem, true, extra );
+ }
+
+ // Otherwise, if a way to get the computed value exists, use that
+ if ( val === undefined ) {
+ val = curCSS( elem, name, styles );
+ }
+
+ //convert "normal" to computed value
+ if ( val === "normal" && name in cssNormalTransform ) {
+ val = cssNormalTransform[ name ];
+ }
+
+ // Return, converting to number if forced or a qualifier was provided and val looks numeric
+ if ( extra === "" || extra ) {
+ num = parseFloat( val );
+ return extra === true || jQuery.isNumeric( num ) ? num || 0 : val;
+ }
+ return val;
+ }
+});
+
+jQuery.each([ "height", "width" ], function( i, name ) {
+ jQuery.cssHooks[ name ] = {
+ get: function( elem, computed, extra ) {
+ if ( computed ) {
+ // certain elements can have dimension info if we invisibly show them
+ // however, it must have a current display style that would benefit from this
+ return rdisplayswap.test( jQuery.css( elem, "display" ) ) && elem.offsetWidth === 0 ?
+ jQuery.swap( elem, cssShow, function() {
+ return getWidthOrHeight( elem, name, extra );
+ }) :
+ getWidthOrHeight( elem, name, extra );
+ }
+ },
+
+ set: function( elem, value, extra ) {
+ var styles = extra && getStyles( elem );
+ return setPositiveNumber( elem, value, extra ?
+ augmentWidthOrHeight(
+ elem,
+ name,
+ extra,
+ jQuery.css( elem, "boxSizing", false, styles ) === "border-box",
+ styles
+ ) : 0
+ );
+ }
+ };
+});
+
+// Support: Android 2.3
+jQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight,
+ function( elem, computed ) {
+ if ( computed ) {
+ // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
+ // Work around by temporarily setting element display to inline-block
+ return jQuery.swap( elem, { "display": "inline-block" },
+ curCSS, [ elem, "marginRight" ] );
+ }
+ }
+);
+
+// These hooks are used by animate to expand properties
+jQuery.each({
+ margin: "",
+ padding: "",
+ border: "Width"
+}, function( prefix, suffix ) {
+ jQuery.cssHooks[ prefix + suffix ] = {
+ expand: function( value ) {
+ var i = 0,
+ expanded = {},
+
+ // assumes a single number if not a string
+ parts = typeof value === "string" ? value.split(" ") : [ value ];
+
+ for ( ; i < 4; i++ ) {
+ expanded[ prefix + cssExpand[ i ] + suffix ] =
+ parts[ i ] || parts[ i - 2 ] || parts[ 0 ];
+ }
+
+ return expanded;
+ }
+ };
+
+ if ( !rmargin.test( prefix ) ) {
+ jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;
+ }
+});
+
+jQuery.fn.extend({
+ css: function( name, value ) {
+ return access( this, function( elem, name, value ) {
+ var styles, len,
+ map = {},
+ i = 0;
+
+ if ( jQuery.isArray( name ) ) {
+ styles = getStyles( elem );
+ len = name.length;
+
+ for ( ; i < len; i++ ) {
+ map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );
+ }
+
+ return map;
+ }
+
+ return value !== undefined ?
+ jQuery.style( elem, name, value ) :
+ jQuery.css( elem, name );
+ }, name, value, arguments.length > 1 );
+ },
+ show: function() {
+ return showHide( this, true );
+ },
+ hide: function() {
+ return showHide( this );
+ },
+ toggle: function( state ) {
+ if ( typeof state === "boolean" ) {
+ return state ? this.show() : this.hide();
+ }
+
+ return this.each(function() {
+ if ( isHidden( this ) ) {
+ jQuery( this ).show();
+ } else {
+ jQuery( this ).hide();
+ }
+ });
+ }
+});
+
+
+function Tween( elem, options, prop, end, easing ) {
+ return new Tween.prototype.init( elem, options, prop, end, easing );
+}
+jQuery.Tween = Tween;
+
+Tween.prototype = {
+ constructor: Tween,
+ init: function( elem, options, prop, end, easing, unit ) {
+ this.elem = elem;
+ this.prop = prop;
+ this.easing = easing || "swing";
+ this.options = options;
+ this.start = this.now = this.cur();
+ this.end = end;
+ this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" );
+ },
+ cur: function() {
+ var hooks = Tween.propHooks[ this.prop ];
+
+ return hooks && hooks.get ?
+ hooks.get( this ) :
+ Tween.propHooks._default.get( this );
+ },
+ run: function( percent ) {
+ var eased,
+ hooks = Tween.propHooks[ this.prop ];
+
+ if ( this.options.duration ) {
+ this.pos = eased = jQuery.easing[ this.easing ](
+ percent, this.options.duration * percent, 0, 1, this.options.duration
+ );
+ } else {
+ this.pos = eased = percent;
+ }
+ this.now = ( this.end - this.start ) * eased + this.start;
+
+ if ( this.options.step ) {
+ this.options.step.call( this.elem, this.now, this );
+ }
+
+ if ( hooks && hooks.set ) {
+ hooks.set( this );
+ } else {
+ Tween.propHooks._default.set( this );
+ }
+ return this;
+ }
+};
+
+Tween.prototype.init.prototype = Tween.prototype;
+
+Tween.propHooks = {
+ _default: {
+ get: function( tween ) {
+ var result;
+
+ if ( tween.elem[ tween.prop ] != null &&
+ (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {
+ return tween.elem[ tween.prop ];
+ }
+
+ // passing an empty string as a 3rd parameter to .css will automatically
+ // attempt a parseFloat and fallback to a string if the parse fails
+ // so, simple values such as "10px" are parsed to Float.
+ // complex values such as "rotate(1rad)" are returned as is.
+ result = jQuery.css( tween.elem, tween.prop, "" );
+ // Empty strings, null, undefined and "auto" are converted to 0.
+ return !result || result === "auto" ? 0 : result;
+ },
+ set: function( tween ) {
+ // use step hook for back compat - use cssHook if its there - use .style if its
+ // available and use plain properties where available
+ if ( jQuery.fx.step[ tween.prop ] ) {
+ jQuery.fx.step[ tween.prop ]( tween );
+ } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {
+ jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
+ } else {
+ tween.elem[ tween.prop ] = tween.now;
+ }
+ }
+ }
+};
+
+// Support: IE9
+// Panic based approach to setting things on disconnected nodes
+
+Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
+ set: function( tween ) {
+ if ( tween.elem.nodeType && tween.elem.parentNode ) {
+ tween.elem[ tween.prop ] = tween.now;
+ }
+ }
+};
+
+jQuery.easing = {
+ linear: function( p ) {
+ return p;
+ },
+ swing: function( p ) {
+ return 0.5 - Math.cos( p * Math.PI ) / 2;
+ }
+};
+
+jQuery.fx = Tween.prototype.init;
+
+// Back Compat <1.8 extension point
+jQuery.fx.step = {};
+
+
+
+
+var
+ fxNow, timerId,
+ rfxtypes = /^(?:toggle|show|hide)$/,
+ rfxnum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ),
+ rrun = /queueHooks$/,
+ animationPrefilters = [ defaultPrefilter ],
+ tweeners = {
+ "*": [ function( prop, value ) {
+ var tween = this.createTween( prop, value ),
+ target = tween.cur(),
+ parts = rfxnum.exec( value ),
+ unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
+
+ // Starting value computation is required for potential unit mismatches
+ start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) &&
+ rfxnum.exec( jQuery.css( tween.elem, prop ) ),
+ scale = 1,
+ maxIterations = 20;
+
+ if ( start && start[ 3 ] !== unit ) {
+ // Trust units reported by jQuery.css
+ unit = unit || start[ 3 ];
+
+ // Make sure we update the tween properties later on
+ parts = parts || [];
+
+ // Iteratively approximate from a nonzero starting point
+ start = +target || 1;
+
+ do {
+ // If previous iteration zeroed out, double until we get *something*
+ // Use a string for doubling factor so we don't accidentally see scale as unchanged below
+ scale = scale || ".5";
+
+ // Adjust and apply
+ start = start / scale;
+ jQuery.style( tween.elem, prop, start + unit );
+
+ // Update scale, tolerating zero or NaN from tween.cur()
+ // And breaking the loop if scale is unchanged or perfect, or if we've just had enough
+ } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );
+ }
+
+ // Update tween properties
+ if ( parts ) {
+ start = tween.start = +start || +target || 0;
+ tween.unit = unit;
+ // If a +=/-= token was provided, we're doing a relative animation
+ tween.end = parts[ 1 ] ?
+ start + ( parts[ 1 ] + 1 ) * parts[ 2 ] :
+ +parts[ 2 ];
+ }
+
+ return tween;
+ } ]
+ };
+
+// Animations created synchronously will run synchronously
+function createFxNow() {
+ setTimeout(function() {
+ fxNow = undefined;
+ });
+ return ( fxNow = jQuery.now() );
+}
+
+// Generate parameters to create a standard animation
+function genFx( type, includeWidth ) {
+ var which,
+ i = 0,
+ attrs = { height: type };
+
+ // if we include width, step value is 1 to do all cssExpand values,
+ // if we don't include width, step value is 2 to skip over Left and Right
+ includeWidth = includeWidth ? 1 : 0;
+ for ( ; i < 4 ; i += 2 - includeWidth ) {
+ which = cssExpand[ i ];
+ attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
+ }
+
+ if ( includeWidth ) {
+ attrs.opacity = attrs.width = type;
+ }
+
+ return attrs;
+}
+
+function createTween( value, prop, animation ) {
+ var tween,
+ collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),
+ index = 0,
+ length = collection.length;
+ for ( ; index < length; index++ ) {
+ if ( (tween = collection[ index ].call( animation, prop, value )) ) {
+
+ // we're done with this property
+ return tween;
+ }
+ }
+}
+
+function defaultPrefilter( elem, props, opts ) {
+ /* jshint validthis: true */
+ var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
+ anim = this,
+ orig = {},
+ style = elem.style,
+ hidden = elem.nodeType && isHidden( elem ),
+ dataShow = data_priv.get( elem, "fxshow" );
+
+ // handle queue: false promises
+ if ( !opts.queue ) {
+ hooks = jQuery._queueHooks( elem, "fx" );
+ if ( hooks.unqueued == null ) {
+ hooks.unqueued = 0;
+ oldfire = hooks.empty.fire;
+ hooks.empty.fire = function() {
+ if ( !hooks.unqueued ) {
+ oldfire();
+ }
+ };
+ }
+ hooks.unqueued++;
+
+ anim.always(function() {
+ // doing this makes sure that the complete handler will be called
+ // before this completes
+ anim.always(function() {
+ hooks.unqueued--;
+ if ( !jQuery.queue( elem, "fx" ).length ) {
+ hooks.empty.fire();
+ }
+ });
+ });
+ }
+
+ // height/width overflow pass
+ if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) {
+ // Make sure that nothing sneaks out
+ // Record all 3 overflow attributes because IE9-10 do not
+ // change the overflow attribute when overflowX and
+ // overflowY are set to the same value
+ opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
+
+ // Set display property to inline-block for height/width
+ // animations on inline elements that are having width/height animated
+ display = jQuery.css( elem, "display" );
+
+ // Test default display if display is currently "none"
+ checkDisplay = display === "none" ?
+ data_priv.get( elem, "olddisplay" ) || defaultDisplay( elem.nodeName ) : display;
+
+ if ( checkDisplay === "inline" && jQuery.css( elem, "float" ) === "none" ) {
+ style.display = "inline-block";
+ }
+ }
+
+ if ( opts.overflow ) {
+ style.overflow = "hidden";
+ anim.always(function() {
+ style.overflow = opts.overflow[ 0 ];
+ style.overflowX = opts.overflow[ 1 ];
+ style.overflowY = opts.overflow[ 2 ];
+ });
+ }
+
+ // show/hide pass
+ for ( prop in props ) {
+ value = props[ prop ];
+ if ( rfxtypes.exec( value ) ) {
+ delete props[ prop ];
+ toggle = toggle || value === "toggle";
+ if ( value === ( hidden ? "hide" : "show" ) ) {
+
+ // If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden
+ if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) {
+ hidden = true;
+ } else {
+ continue;
+ }
+ }
+ orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );
+
+ // Any non-fx value stops us from restoring the original display value
+ } else {
+ display = undefined;
+ }
+ }
+
+ if ( !jQuery.isEmptyObject( orig ) ) {
+ if ( dataShow ) {
+ if ( "hidden" in dataShow ) {
+ hidden = dataShow.hidden;
+ }
+ } else {
+ dataShow = data_priv.access( elem, "fxshow", {} );
+ }
+
+ // store state if its toggle - enables .stop().toggle() to "reverse"
+ if ( toggle ) {
+ dataShow.hidden = !hidden;
+ }
+ if ( hidden ) {
+ jQuery( elem ).show();
+ } else {
+ anim.done(function() {
+ jQuery( elem ).hide();
+ });
+ }
+ anim.done(function() {
+ var prop;
+
+ data_priv.remove( elem, "fxshow" );
+ for ( prop in orig ) {
+ jQuery.style( elem, prop, orig[ prop ] );
+ }
+ });
+ for ( prop in orig ) {
+ tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );
+
+ if ( !( prop in dataShow ) ) {
+ dataShow[ prop ] = tween.start;
+ if ( hidden ) {
+ tween.end = tween.start;
+ tween.start = prop === "width" || prop === "height" ? 1 : 0;
+ }
+ }
+ }
+
+ // If this is a noop like .hide().hide(), restore an overwritten display value
+ } else if ( (display === "none" ? defaultDisplay( elem.nodeName ) : display) === "inline" ) {
+ style.display = display;
+ }
+}
+
+function propFilter( props, specialEasing ) {
+ var index, name, easing, value, hooks;
+
+ // camelCase, specialEasing and expand cssHook pass
+ for ( index in props ) {
+ name = jQuery.camelCase( index );
+ easing = specialEasing[ name ];
+ value = props[ index ];
+ if ( jQuery.isArray( value ) ) {
+ easing = value[ 1 ];
+ value = props[ index ] = value[ 0 ];
+ }
+
+ if ( index !== name ) {
+ props[ name ] = value;
+ delete props[ index ];
+ }
+
+ hooks = jQuery.cssHooks[ name ];
+ if ( hooks && "expand" in hooks ) {
+ value = hooks.expand( value );
+ delete props[ name ];
+
+ // not quite $.extend, this wont overwrite keys already present.
+ // also - reusing 'index' from above because we have the correct "name"
+ for ( index in value ) {
+ if ( !( index in props ) ) {
+ props[ index ] = value[ index ];
+ specialEasing[ index ] = easing;
+ }
+ }
+ } else {
+ specialEasing[ name ] = easing;
+ }
+ }
+}
+
+function Animation( elem, properties, options ) {
+ var result,
+ stopped,
+ index = 0,
+ length = animationPrefilters.length,
+ deferred = jQuery.Deferred().always( function() {
+ // don't match elem in the :animated selector
+ delete tick.elem;
+ }),
+ tick = function() {
+ if ( stopped ) {
+ return false;
+ }
+ var currentTime = fxNow || createFxNow(),
+ remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
+ // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)
+ temp = remaining / animation.duration || 0,
+ percent = 1 - temp,
+ index = 0,
+ length = animation.tweens.length;
+
+ for ( ; index < length ; index++ ) {
+ animation.tweens[ index ].run( percent );
+ }
+
+ deferred.notifyWith( elem, [ animation, percent, remaining ]);
+
+ if ( percent < 1 && length ) {
+ return remaining;
+ } else {
+ deferred.resolveWith( elem, [ animation ] );
+ return false;
+ }
+ },
+ animation = deferred.promise({
+ elem: elem,
+ props: jQuery.extend( {}, properties ),
+ opts: jQuery.extend( true, { specialEasing: {} }, options ),
+ originalProperties: properties,
+ originalOptions: options,
+ startTime: fxNow || createFxNow(),
+ duration: options.duration,
+ tweens: [],
+ createTween: function( prop, end ) {
+ var tween = jQuery.Tween( elem, animation.opts, prop, end,
+ animation.opts.specialEasing[ prop ] || animation.opts.easing );
+ animation.tweens.push( tween );
+ return tween;
+ },
+ stop: function( gotoEnd ) {
+ var index = 0,
+ // if we are going to the end, we want to run all the tweens
+ // otherwise we skip this part
+ length = gotoEnd ? animation.tweens.length : 0;
+ if ( stopped ) {
+ return this;
+ }
+ stopped = true;
+ for ( ; index < length ; index++ ) {
+ animation.tweens[ index ].run( 1 );
+ }
+
+ // resolve when we played the last frame
+ // otherwise, reject
+ if ( gotoEnd ) {
+ deferred.resolveWith( elem, [ animation, gotoEnd ] );
+ } else {
+ deferred.rejectWith( elem, [ animation, gotoEnd ] );
+ }
+ return this;
+ }
+ }),
+ props = animation.props;
+
+ propFilter( props, animation.opts.specialEasing );
+
+ for ( ; index < length ; index++ ) {
+ result = animationPrefilters[ index ].call( animation, elem, props, animation.opts );
+ if ( result ) {
+ return result;
+ }
+ }
+
+ jQuery.map( props, createTween, animation );
+
+ if ( jQuery.isFunction( animation.opts.start ) ) {
+ animation.opts.start.call( elem, animation );
+ }
+
+ jQuery.fx.timer(
+ jQuery.extend( tick, {
+ elem: elem,
+ anim: animation,
+ queue: animation.opts.queue
+ })
+ );
+
+ // attach callbacks from options
+ return animation.progress( animation.opts.progress )
+ .done( animation.opts.done, animation.opts.complete )
+ .fail( animation.opts.fail )
+ .always( animation.opts.always );
+}
+
+jQuery.Animation = jQuery.extend( Animation, {
+
+ tweener: function( props, callback ) {
+ if ( jQuery.isFunction( props ) ) {
+ callback = props;
+ props = [ "*" ];
+ } else {
+ props = props.split(" ");
+ }
+
+ var prop,
+ index = 0,
+ length = props.length;
+
+ for ( ; index < length ; index++ ) {
+ prop = props[ index ];
+ tweeners[ prop ] = tweeners[ prop ] || [];
+ tweeners[ prop ].unshift( callback );
+ }
+ },
+
+ prefilter: function( callback, prepend ) {
+ if ( prepend ) {
+ animationPrefilters.unshift( callback );
+ } else {
+ animationPrefilters.push( callback );
+ }
+ }
+});
+
+jQuery.speed = function( speed, easing, fn ) {
+ var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
+ complete: fn || !fn && easing ||
+ jQuery.isFunction( speed ) && speed,
+ duration: speed,
+ easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
+ };
+
+ opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
+ opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
+
+ // normalize opt.queue - true/undefined/null -> "fx"
+ if ( opt.queue == null || opt.queue === true ) {
+ opt.queue = "fx";
+ }
+
+ // Queueing
+ opt.old = opt.complete;
+
+ opt.complete = function() {
+ if ( jQuery.isFunction( opt.old ) ) {
+ opt.old.call( this );
+ }
+
+ if ( opt.queue ) {
+ jQuery.dequeue( this, opt.queue );
+ }
+ };
+
+ return opt;
+};
+
+jQuery.fn.extend({
+ fadeTo: function( speed, to, easing, callback ) {
+
+ // show any hidden elements after setting opacity to 0
+ return this.filter( isHidden ).css( "opacity", 0 ).show()
+
+ // animate to the value specified
+ .end().animate({ opacity: to }, speed, easing, callback );
+ },
+ animate: function( prop, speed, easing, callback ) {
+ var empty = jQuery.isEmptyObject( prop ),
+ optall = jQuery.speed( speed, easing, callback ),
+ doAnimation = function() {
+ // Operate on a copy of prop so per-property easing won't be lost
+ var anim = Animation( this, jQuery.extend( {}, prop ), optall );
+
+ // Empty animations, or finishing resolves immediately
+ if ( empty || data_priv.get( this, "finish" ) ) {
+ anim.stop( true );
+ }
+ };
+ doAnimation.finish = doAnimation;
+
+ return empty || optall.queue === false ?
+ this.each( doAnimation ) :
+ this.queue( optall.queue, doAnimation );
+ },
+ stop: function( type, clearQueue, gotoEnd ) {
+ var stopQueue = function( hooks ) {
+ var stop = hooks.stop;
+ delete hooks.stop;
+ stop( gotoEnd );
+ };
+
+ if ( typeof type !== "string" ) {
+ gotoEnd = clearQueue;
+ clearQueue = type;
+ type = undefined;
+ }
+ if ( clearQueue && type !== false ) {
+ this.queue( type || "fx", [] );
+ }
+
+ return this.each(function() {
+ var dequeue = true,
+ index = type != null && type + "queueHooks",
+ timers = jQuery.timers,
+ data = data_priv.get( this );
+
+ if ( index ) {
+ if ( data[ index ] && data[ index ].stop ) {
+ stopQueue( data[ index ] );
+ }
+ } else {
+ for ( index in data ) {
+ if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {
+ stopQueue( data[ index ] );
+ }
+ }
+ }
+
+ for ( index = timers.length; index--; ) {
+ if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {
+ timers[ index ].anim.stop( gotoEnd );
+ dequeue = false;
+ timers.splice( index, 1 );
+ }
+ }
+
+ // start the next in the queue if the last step wasn't forced
+ // timers currently will call their complete callbacks, which will dequeue
+ // but only if they were gotoEnd
+ if ( dequeue || !gotoEnd ) {
+ jQuery.dequeue( this, type );
+ }
+ });
+ },
+ finish: function( type ) {
+ if ( type !== false ) {
+ type = type || "fx";
+ }
+ return this.each(function() {
+ var index,
+ data = data_priv.get( this ),
+ queue = data[ type + "queue" ],
+ hooks = data[ type + "queueHooks" ],
+ timers = jQuery.timers,
+ length = queue ? queue.length : 0;
+
+ // enable finishing flag on private data
+ data.finish = true;
+
+ // empty the queue first
+ jQuery.queue( this, type, [] );
+
+ if ( hooks && hooks.stop ) {
+ hooks.stop.call( this, true );
+ }
+
+ // look for any active animations, and finish them
+ for ( index = timers.length; index--; ) {
+ if ( timers[ index ].elem === this && timers[ index ].queue === type ) {
+ timers[ index ].anim.stop( true );
+ timers.splice( index, 1 );
+ }
+ }
+
+ // look for any animations in the old queue and finish them
+ for ( index = 0; index < length; index++ ) {
+ if ( queue[ index ] && queue[ index ].finish ) {
+ queue[ index ].finish.call( this );
+ }
+ }
+
+ // turn off finishing flag
+ delete data.finish;
+ });
+ }
+});
+
+jQuery.each([ "toggle", "show", "hide" ], function( i, name ) {
+ var cssFn = jQuery.fn[ name ];
+ jQuery.fn[ name ] = function( speed, easing, callback ) {
+ return speed == null || typeof speed === "boolean" ?
+ cssFn.apply( this, arguments ) :
+ this.animate( genFx( name, true ), speed, easing, callback );
+ };
+});
+
+// Generate shortcuts for custom animations
+jQuery.each({
+ slideDown: genFx("show"),
+ slideUp: genFx("hide"),
+ slideToggle: genFx("toggle"),
+ fadeIn: { opacity: "show" },
+ fadeOut: { opacity: "hide" },
+ fadeToggle: { opacity: "toggle" }
+}, function( name, props ) {
+ jQuery.fn[ name ] = function( speed, easing, callback ) {
+ return this.animate( props, speed, easing, callback );
+ };
+});
+
+jQuery.timers = [];
+jQuery.fx.tick = function() {
+ var timer,
+ i = 0,
+ timers = jQuery.timers;
+
+ fxNow = jQuery.now();
+
+ for ( ; i < timers.length; i++ ) {
+ timer = timers[ i ];
+ // Checks the timer has not already been removed
+ if ( !timer() && timers[ i ] === timer ) {
+ timers.splice( i--, 1 );
+ }
+ }
+
+ if ( !timers.length ) {
+ jQuery.fx.stop();
+ }
+ fxNow = undefined;
+};
+
+jQuery.fx.timer = function( timer ) {
+ jQuery.timers.push( timer );
+ if ( timer() ) {
+ jQuery.fx.start();
+ } else {
+ jQuery.timers.pop();
+ }
+};
+
+jQuery.fx.interval = 13;
+
+jQuery.fx.start = function() {
+ if ( !timerId ) {
+ timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );
+ }
+};
+
+jQuery.fx.stop = function() {
+ clearInterval( timerId );
+ timerId = null;
+};
+
+jQuery.fx.speeds = {
+ slow: 600,
+ fast: 200,
+ // Default speed
+ _default: 400
+};
+
+
+// Based off of the plugin by Clint Helfers, with permission.
+// http://blindsignals.com/index.php/2009/07/jquery-delay/
+jQuery.fn.delay = function( time, type ) {
+ time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
+ type = type || "fx";
+
+ return this.queue( type, function( next, hooks ) {
+ var timeout = setTimeout( next, time );
+ hooks.stop = function() {
+ clearTimeout( timeout );
+ };
+ });
+};
+
+
+(function() {
+ var input = document.createElement( "input" ),
+ select = document.createElement( "select" ),
+ opt = select.appendChild( document.createElement( "option" ) );
+
+ input.type = "checkbox";
+
+ // Support: iOS 5.1, Android 4.x, Android 2.3
+ // Check the default checkbox/radio value ("" on old WebKit; "on" elsewhere)
+ support.checkOn = input.value !== "";
+
+ // Must access the parent to make an option select properly
+ // Support: IE9, IE10
+ support.optSelected = opt.selected;
+
+ // Make sure that the options inside disabled selects aren't marked as disabled
+ // (WebKit marks them as disabled)
+ select.disabled = true;
+ support.optDisabled = !opt.disabled;
+
+ // Check if an input maintains its value after becoming a radio
+ // Support: IE9, IE10
+ input = document.createElement( "input" );
+ input.value = "t";
+ input.type = "radio";
+ support.radioValue = input.value === "t";
+})();
+
+
+var nodeHook, boolHook,
+ attrHandle = jQuery.expr.attrHandle;
+
+jQuery.fn.extend({
+ attr: function( name, value ) {
+ return access( this, jQuery.attr, name, value, arguments.length > 1 );
+ },
+
+ removeAttr: function( name ) {
+ return this.each(function() {
+ jQuery.removeAttr( this, name );
+ });
+ }
+});
+
+jQuery.extend({
+ attr: function( elem, name, value ) {
+ var hooks, ret,
+ nType = elem.nodeType;
+
+ // don't get/set attributes on text, comment and attribute nodes
+ if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
+ return;
+ }
+
+ // Fallback to prop when attributes are not supported
+ if ( typeof elem.getAttribute === strundefined ) {
+ return jQuery.prop( elem, name, value );
+ }
+
+ // All attributes are lowercase
+ // Grab necessary hook if one is defined
+ if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
+ name = name.toLowerCase();
+ hooks = jQuery.attrHooks[ name ] ||
+ ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );
+ }
+
+ if ( value !== undefined ) {
+
+ if ( value === null ) {
+ jQuery.removeAttr( elem, name );
+
+ } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {
+ return ret;
+
+ } else {
+ elem.setAttribute( name, value + "" );
+ return value;
+ }
+
+ } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) {
+ return ret;
+
+ } else {
+ ret = jQuery.find.attr( elem, name );
+
+ // Non-existent attributes return null, we normalize to undefined
+ return ret == null ?
+ undefined :
+ ret;
+ }
+ },
+
+ removeAttr: function( elem, value ) {
+ var name, propName,
+ i = 0,
+ attrNames = value && value.match( rnotwhite );
+
+ if ( attrNames && elem.nodeType === 1 ) {
+ while ( (name = attrNames[i++]) ) {
+ propName = jQuery.propFix[ name ] || name;
+
+ // Boolean attributes get special treatment (#10870)
+ if ( jQuery.expr.match.bool.test( name ) ) {
+ // Set corresponding property to false
+ elem[ propName ] = false;
+ }
+
+ elem.removeAttribute( name );
+ }
+ }
+ },
+
+ attrHooks: {
+ type: {
+ set: function( elem, value ) {
+ if ( !support.radioValue && value === "radio" &&
+ jQuery.nodeName( elem, "input" ) ) {
+ // Setting the type on a radio button after the value resets the value in IE6-9
+ // Reset value to default in case type is set after value during creation
+ var val = elem.value;
+ elem.setAttribute( "type", value );
+ if ( val ) {
+ elem.value = val;
+ }
+ return value;
+ }
+ }
+ }
+ }
+});
+
+// Hooks for boolean attributes
+boolHook = {
+ set: function( elem, value, name ) {
+ if ( value === false ) {
+ // Remove boolean attributes when set to false
+ jQuery.removeAttr( elem, name );
+ } else {
+ elem.setAttribute( name, name );
+ }
+ return name;
+ }
+};
+jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {
+ var getter = attrHandle[ name ] || jQuery.find.attr;
+
+ attrHandle[ name ] = function( elem, name, isXML ) {
+ var ret, handle;
+ if ( !isXML ) {
+ // Avoid an infinite loop by temporarily removing this function from the getter
+ handle = attrHandle[ name ];
+ attrHandle[ name ] = ret;
+ ret = getter( elem, name, isXML ) != null ?
+ name.toLowerCase() :
+ null;
+ attrHandle[ name ] = handle;
+ }
+ return ret;
+ };
+});
+
+
+
+
+var rfocusable = /^(?:input|select|textarea|button)$/i;
+
+jQuery.fn.extend({
+ prop: function( name, value ) {
+ return access( this, jQuery.prop, name, value, arguments.length > 1 );
+ },
+
+ removeProp: function( name ) {
+ return this.each(function() {
+ delete this[ jQuery.propFix[ name ] || name ];
+ });
+ }
+});
+
+jQuery.extend({
+ propFix: {
+ "for": "htmlFor",
+ "class": "className"
+ },
+
+ prop: function( elem, name, value ) {
+ var ret, hooks, notxml,
+ nType = elem.nodeType;
+
+ // don't get/set properties on text, comment and attribute nodes
+ if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
+ return;
+ }
+
+ notxml = nType !== 1 || !jQuery.isXMLDoc( elem );
+
+ if ( notxml ) {
+ // Fix name and attach hooks
+ name = jQuery.propFix[ name ] || name;
+ hooks = jQuery.propHooks[ name ];
+ }
+
+ if ( value !== undefined ) {
+ return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ?
+ ret :
+ ( elem[ name ] = value );
+
+ } else {
+ return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ?
+ ret :
+ elem[ name ];
+ }
+ },
+
+ propHooks: {
+ tabIndex: {
+ get: function( elem ) {
+ return elem.hasAttribute( "tabindex" ) || rfocusable.test( elem.nodeName ) || elem.href ?
+ elem.tabIndex :
+ -1;
+ }
+ }
+ }
+});
+
+// Support: IE9+
+// Selectedness for an option in an optgroup can be inaccurate
+if ( !support.optSelected ) {
+ jQuery.propHooks.selected = {
+ get: function( elem ) {
+ var parent = elem.parentNode;
+ if ( parent && parent.parentNode ) {
+ parent.parentNode.selectedIndex;
+ }
+ return null;
+ }
+ };
+}
+
+jQuery.each([
+ "tabIndex",
+ "readOnly",
+ "maxLength",
+ "cellSpacing",
+ "cellPadding",
+ "rowSpan",
+ "colSpan",
+ "useMap",
+ "frameBorder",
+ "contentEditable"
+], function() {
+ jQuery.propFix[ this.toLowerCase() ] = this;
+});
+
+
+
+
+var rclass = /[\t\r\n\f]/g;
+
+jQuery.fn.extend({
+ addClass: function( value ) {
+ var classes, elem, cur, clazz, j, finalValue,
+ proceed = typeof value === "string" && value,
+ i = 0,
+ len = this.length;
+
+ if ( jQuery.isFunction( value ) ) {
+ return this.each(function( j ) {
+ jQuery( this ).addClass( value.call( this, j, this.className ) );
+ });
+ }
+
+ if ( proceed ) {
+ // The disjunction here is for better compressibility (see removeClass)
+ classes = ( value || "" ).match( rnotwhite ) || [];
+
+ for ( ; i < len; i++ ) {
+ elem = this[ i ];
+ cur = elem.nodeType === 1 && ( elem.className ?
+ ( " " + elem.className + " " ).replace( rclass, " " ) :
+ " "
+ );
+
+ if ( cur ) {
+ j = 0;
+ while ( (clazz = classes[j++]) ) {
+ if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
+ cur += clazz + " ";
+ }
+ }
+
+ // only assign if different to avoid unneeded rendering.
+ finalValue = jQuery.trim( cur );
+ if ( elem.className !== finalValue ) {
+ elem.className = finalValue;
+ }
+ }
+ }
+ }
+
+ return this;
+ },
+
+ removeClass: function( value ) {
+ var classes, elem, cur, clazz, j, finalValue,
+ proceed = arguments.length === 0 || typeof value === "string" && value,
+ i = 0,
+ len = this.length;
+
+ if ( jQuery.isFunction( value ) ) {
+ return this.each(function( j ) {
+ jQuery( this ).removeClass( value.call( this, j, this.className ) );
+ });
+ }
+ if ( proceed ) {
+ classes = ( value || "" ).match( rnotwhite ) || [];
+
+ for ( ; i < len; i++ ) {
+ elem = this[ i ];
+ // This expression is here for better compressibility (see addClass)
+ cur = elem.nodeType === 1 && ( elem.className ?
+ ( " " + elem.className + " " ).replace( rclass, " " ) :
+ ""
+ );
+
+ if ( cur ) {
+ j = 0;
+ while ( (clazz = classes[j++]) ) {
+ // Remove *all* instances
+ while ( cur.indexOf( " " + clazz + " " ) >= 0 ) {
+ cur = cur.replace( " " + clazz + " ", " " );
+ }
+ }
+
+ // only assign if different to avoid unneeded rendering.
+ finalValue = value ? jQuery.trim( cur ) : "";
+ if ( elem.className !== finalValue ) {
+ elem.className = finalValue;
+ }
+ }
+ }
+ }
+
+ return this;
+ },
+
+ toggleClass: function( value, stateVal ) {
+ var type = typeof value;
+
+ if ( typeof stateVal === "boolean" && type === "string" ) {
+ return stateVal ? this.addClass( value ) : this.removeClass( value );
+ }
+
+ if ( jQuery.isFunction( value ) ) {
+ return this.each(function( i ) {
+ jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );
+ });
+ }
+
+ return this.each(function() {
+ if ( type === "string" ) {
+ // toggle individual class names
+ var className,
+ i = 0,
+ self = jQuery( this ),
+ classNames = value.match( rnotwhite ) || [];
+
+ while ( (className = classNames[ i++ ]) ) {
+ // check each className given, space separated list
+ if ( self.hasClass( className ) ) {
+ self.removeClass( className );
+ } else {
+ self.addClass( className );
+ }
+ }
+
+ // Toggle whole class name
+ } else if ( type === strundefined || type === "boolean" ) {
+ if ( this.className ) {
+ // store className if set
+ data_priv.set( this, "__className__", this.className );
+ }
+
+ // If the element has a class name or if we're passed "false",
+ // then remove the whole classname (if there was one, the above saved it).
+ // Otherwise bring back whatever was previously saved (if anything),
+ // falling back to the empty string if nothing was stored.
+ this.className = this.className || value === false ? "" : data_priv.get( this, "__className__" ) || "";
+ }
+ });
+ },
+
+ hasClass: function( selector ) {
+ var className = " " + selector + " ",
+ i = 0,
+ l = this.length;
+ for ( ; i < l; i++ ) {
+ if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+});
+
+
+
+
+var rreturn = /\r/g;
+
+jQuery.fn.extend({
+ val: function( value ) {
+ var hooks, ret, isFunction,
+ elem = this[0];
+
+ if ( !arguments.length ) {
+ if ( elem ) {
+ hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];
+
+ if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) {
+ return ret;
+ }
+
+ ret = elem.value;
+
+ return typeof ret === "string" ?
+ // handle most common string cases
+ ret.replace(rreturn, "") :
+ // handle cases where value is null/undef or number
+ ret == null ? "" : ret;
+ }
+
+ return;
+ }
+
+ isFunction = jQuery.isFunction( value );
+
+ return this.each(function( i ) {
+ var val;
+
+ if ( this.nodeType !== 1 ) {
+ return;
+ }
+
+ if ( isFunction ) {
+ val = value.call( this, i, jQuery( this ).val() );
+ } else {
+ val = value;
+ }
+
+ // Treat null/undefined as ""; convert numbers to string
+ if ( val == null ) {
+ val = "";
+
+ } else if ( typeof val === "number" ) {
+ val += "";
+
+ } else if ( jQuery.isArray( val ) ) {
+ val = jQuery.map( val, function( value ) {
+ return value == null ? "" : value + "";
+ });
+ }
+
+ hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];
+
+ // If set returns undefined, fall back to normal setting
+ if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {
+ this.value = val;
+ }
+ });
+ }
+});
+
+jQuery.extend({
+ valHooks: {
+ option: {
+ get: function( elem ) {
+ var val = jQuery.find.attr( elem, "value" );
+ return val != null ?
+ val :
+ // Support: IE10-11+
+ // option.text throws exceptions (#14686, #14858)
+ jQuery.trim( jQuery.text( elem ) );
+ }
+ },
+ select: {
+ get: function( elem ) {
+ var value, option,
+ options = elem.options,
+ index = elem.selectedIndex,
+ one = elem.type === "select-one" || index < 0,
+ values = one ? null : [],
+ max = one ? index + 1 : options.length,
+ i = index < 0 ?
+ max :
+ one ? index : 0;
+
+ // Loop through all the selected options
+ for ( ; i < max; i++ ) {
+ option = options[ i ];
+
+ // IE6-9 doesn't update selected after form reset (#2551)
+ if ( ( option.selected || i === index ) &&
+ // Don't return options that are disabled or in a disabled optgroup
+ ( support.optDisabled ? !option.disabled : option.getAttribute( "disabled" ) === null ) &&
+ ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) {
+
+ // Get the specific value for the option
+ value = jQuery( option ).val();
+
+ // We don't need an array for one selects
+ if ( one ) {
+ return value;
+ }
+
+ // Multi-Selects return an array
+ values.push( value );
+ }
+ }
+
+ return values;
+ },
+
+ set: function( elem, value ) {
+ var optionSet, option,
+ options = elem.options,
+ values = jQuery.makeArray( value ),
+ i = options.length;
+
+ while ( i-- ) {
+ option = options[ i ];
+ if ( (option.selected = jQuery.inArray( option.value, values ) >= 0) ) {
+ optionSet = true;
+ }
+ }
+
+ // force browsers to behave consistently when non-matching value is set
+ if ( !optionSet ) {
+ elem.selectedIndex = -1;
+ }
+ return values;
+ }
+ }
+ }
+});
+
+// Radios and checkboxes getter/setter
+jQuery.each([ "radio", "checkbox" ], function() {
+ jQuery.valHooks[ this ] = {
+ set: function( elem, value ) {
+ if ( jQuery.isArray( value ) ) {
+ return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );
+ }
+ }
+ };
+ if ( !support.checkOn ) {
+ jQuery.valHooks[ this ].get = function( elem ) {
+ // Support: Webkit
+ // "" is returned instead of "on" if a value isn't specified
+ return elem.getAttribute("value") === null ? "on" : elem.value;
+ };
+ }
+});
+
+
+
+
+// Return jQuery for attributes-only inclusion
+
+
+jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " +
+ "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
+ "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) {
+
+ // Handle event binding
+ jQuery.fn[ name ] = function( data, fn ) {
+ return arguments.length > 0 ?
+ this.on( name, null, data, fn ) :
+ this.trigger( name );
+ };
+});
+
+jQuery.fn.extend({
+ hover: function( fnOver, fnOut ) {
+ return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
+ },
+
+ bind: function( types, data, fn ) {
+ return this.on( types, null, data, fn );
+ },
+ unbind: function( types, fn ) {
+ return this.off( types, null, fn );
+ },
+
+ delegate: function( selector, types, data, fn ) {
+ return this.on( types, selector, data, fn );
+ },
+ undelegate: function( selector, types, fn ) {
+ // ( namespace ) or ( selector, types [, fn] )
+ return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn );
+ }
+});
+
+
+var nonce = jQuery.now();
+
+var rquery = (/\?/);
+
+
+
+// Support: Android 2.3
+// Workaround failure to string-cast null input
+jQuery.parseJSON = function( data ) {
+ return JSON.parse( data + "" );
+};
+
+
+// Cross-browser xml parsing
+jQuery.parseXML = function( data ) {
+ var xml, tmp;
+ if ( !data || typeof data !== "string" ) {
+ return null;
+ }
+
+ // Support: IE9
+ try {
+ tmp = new DOMParser();
+ xml = tmp.parseFromString( data, "text/xml" );
+ } catch ( e ) {
+ xml = undefined;
+ }
+
+ if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) {
+ jQuery.error( "Invalid XML: " + data );
+ }
+ return xml;
+};
+
+
+var
+ // Document location
+ ajaxLocParts,
+ ajaxLocation,
+
+ rhash = /#.*$/,
+ rts = /([?&])_=[^&]*/,
+ rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg,
+ // #7653, #8125, #8152: local protocol detection
+ rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
+ rnoContent = /^(?:GET|HEAD)$/,
+ rprotocol = /^\/\//,
+ rurl = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
+
+ /* Prefilters
+ * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
+ * 2) These are called:
+ * - BEFORE asking for a transport
+ * - AFTER param serialization (s.data is a string if s.processData is true)
+ * 3) key is the dataType
+ * 4) the catchall symbol "*" can be used
+ * 5) execution will start with transport dataType and THEN continue down to "*" if needed
+ */
+ prefilters = {},
+
+ /* Transports bindings
+ * 1) key is the dataType
+ * 2) the catchall symbol "*" can be used
+ * 3) selection will start with transport dataType and THEN go to "*" if needed
+ */
+ transports = {},
+
+ // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
+ allTypes = "*/".concat("*");
+
+// #8138, IE may throw an exception when accessing
+// a field from window.location if document.domain has been set
+try {
+ ajaxLocation = location.href;
+} catch( e ) {
+ // Use the href attribute of an A element
+ // since IE will modify it given document.location
+ ajaxLocation = document.createElement( "a" );
+ ajaxLocation.href = "";
+ ajaxLocation = ajaxLocation.href;
+}
+
+// Segment location into parts
+ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];
+
+// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
+function addToPrefiltersOrTransports( structure ) {
+
+ // dataTypeExpression is optional and defaults to "*"
+ return function( dataTypeExpression, func ) {
+
+ if ( typeof dataTypeExpression !== "string" ) {
+ func = dataTypeExpression;
+ dataTypeExpression = "*";
+ }
+
+ var dataType,
+ i = 0,
+ dataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || [];
+
+ if ( jQuery.isFunction( func ) ) {
+ // For each dataType in the dataTypeExpression
+ while ( (dataType = dataTypes[i++]) ) {
+ // Prepend if requested
+ if ( dataType[0] === "+" ) {
+ dataType = dataType.slice( 1 ) || "*";
+ (structure[ dataType ] = structure[ dataType ] || []).unshift( func );
+
+ // Otherwise append
+ } else {
+ (structure[ dataType ] = structure[ dataType ] || []).push( func );
+ }
+ }
+ }
+ };
+}
+
+// Base inspection function for prefilters and transports
+function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {
+
+ var inspected = {},
+ seekingTransport = ( structure === transports );
+
+ function inspect( dataType ) {
+ var selected;
+ inspected[ dataType ] = true;
+ jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {
+ var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );
+ if ( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) {
+ options.dataTypes.unshift( dataTypeOrTransport );
+ inspect( dataTypeOrTransport );
+ return false;
+ } else if ( seekingTransport ) {
+ return !( selected = dataTypeOrTransport );
+ }
+ });
+ return selected;
+ }
+
+ return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );
+}
+
+// A special extend for ajax options
+// that takes "flat" options (not to be deep extended)
+// Fixes #9887
+function ajaxExtend( target, src ) {
+ var key, deep,
+ flatOptions = jQuery.ajaxSettings.flatOptions || {};
+
+ for ( key in src ) {
+ if ( src[ key ] !== undefined ) {
+ ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ];
+ }
+ }
+ if ( deep ) {
+ jQuery.extend( true, target, deep );
+ }
+
+ return target;
+}
+
+/* Handles responses to an ajax request:
+ * - finds the right dataType (mediates between content-type and expected dataType)
+ * - returns the corresponding response
+ */
+function ajaxHandleResponses( s, jqXHR, responses ) {
+
+ var ct, type, finalDataType, firstDataType,
+ contents = s.contents,
+ dataTypes = s.dataTypes;
+
+ // Remove auto dataType and get content-type in the process
+ while ( dataTypes[ 0 ] === "*" ) {
+ dataTypes.shift();
+ if ( ct === undefined ) {
+ ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");
+ }
+ }
+
+ // Check if we're dealing with a known content-type
+ if ( ct ) {
+ for ( type in contents ) {
+ if ( contents[ type ] && contents[ type ].test( ct ) ) {
+ dataTypes.unshift( type );
+ break;
+ }
+ }
+ }
+
+ // Check to see if we have a response for the expected dataType
+ if ( dataTypes[ 0 ] in responses ) {
+ finalDataType = dataTypes[ 0 ];
+ } else {
+ // Try convertible dataTypes
+ for ( type in responses ) {
+ if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) {
+ finalDataType = type;
+ break;
+ }
+ if ( !firstDataType ) {
+ firstDataType = type;
+ }
+ }
+ // Or just use first one
+ finalDataType = finalDataType || firstDataType;
+ }
+
+ // If we found a dataType
+ // We add the dataType to the list if needed
+ // and return the corresponding response
+ if ( finalDataType ) {
+ if ( finalDataType !== dataTypes[ 0 ] ) {
+ dataTypes.unshift( finalDataType );
+ }
+ return responses[ finalDataType ];
+ }
+}
+
+/* Chain conversions given the request and the original response
+ * Also sets the responseXXX fields on the jqXHR instance
+ */
+function ajaxConvert( s, response, jqXHR, isSuccess ) {
+ var conv2, current, conv, tmp, prev,
+ converters = {},
+ // Work with a copy of dataTypes in case we need to modify it for conversion
+ dataTypes = s.dataTypes.slice();
+
+ // Create converters map with lowercased keys
+ if ( dataTypes[ 1 ] ) {
+ for ( conv in s.converters ) {
+ converters[ conv.toLowerCase() ] = s.converters[ conv ];
+ }
+ }
+
+ current = dataTypes.shift();
+
+ // Convert to each sequential dataType
+ while ( current ) {
+
+ if ( s.responseFields[ current ] ) {
+ jqXHR[ s.responseFields[ current ] ] = response;
+ }
+
+ // Apply the dataFilter if provided
+ if ( !prev && isSuccess && s.dataFilter ) {
+ response = s.dataFilter( response, s.dataType );
+ }
+
+ prev = current;
+ current = dataTypes.shift();
+
+ if ( current ) {
+
+ // There's only work to do if current dataType is non-auto
+ if ( current === "*" ) {
+
+ current = prev;
+
+ // Convert response if prev dataType is non-auto and differs from current
+ } else if ( prev !== "*" && prev !== current ) {
+
+ // Seek a direct converter
+ conv = converters[ prev + " " + current ] || converters[ "* " + current ];
+
+ // If none found, seek a pair
+ if ( !conv ) {
+ for ( conv2 in converters ) {
+
+ // If conv2 outputs current
+ tmp = conv2.split( " " );
+ if ( tmp[ 1 ] === current ) {
+
+ // If prev can be converted to accepted input
+ conv = converters[ prev + " " + tmp[ 0 ] ] ||
+ converters[ "* " + tmp[ 0 ] ];
+ if ( conv ) {
+ // Condense equivalence converters
+ if ( conv === true ) {
+ conv = converters[ conv2 ];
+
+ // Otherwise, insert the intermediate dataType
+ } else if ( converters[ conv2 ] !== true ) {
+ current = tmp[ 0 ];
+ dataTypes.unshift( tmp[ 1 ] );
+ }
+ break;
+ }
+ }
+ }
+ }
+
+ // Apply converter (if not an equivalence)
+ if ( conv !== true ) {
+
+ // Unless errors are allowed to bubble, catch and return them
+ if ( conv && s[ "throws" ] ) {
+ response = conv( response );
+ } else {
+ try {
+ response = conv( response );
+ } catch ( e ) {
+ return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current };
+ }
+ }
+ }
+ }
+ }
+ }
+
+ return { state: "success", data: response };
+}
+
+jQuery.extend({
+
+ // Counter for holding the number of active queries
+ active: 0,
+
+ // Last-Modified header cache for next request
+ lastModified: {},
+ etag: {},
+
+ ajaxSettings: {
+ url: ajaxLocation,
+ type: "GET",
+ isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
+ global: true,
+ processData: true,
+ async: true,
+ contentType: "application/x-www-form-urlencoded; charset=UTF-8",
+ /*
+ timeout: 0,
+ data: null,
+ dataType: null,
+ username: null,
+ password: null,
+ cache: null,
+ throws: false,
+ traditional: false,
+ headers: {},
+ */
+
+ accepts: {
+ "*": allTypes,
+ text: "text/plain",
+ html: "text/html",
+ xml: "application/xml, text/xml",
+ json: "application/json, text/javascript"
+ },
+
+ contents: {
+ xml: /xml/,
+ html: /html/,
+ json: /json/
+ },
+
+ responseFields: {
+ xml: "responseXML",
+ text: "responseText",
+ json: "responseJSON"
+ },
+
+ // Data converters
+ // Keys separate source (or catchall "*") and destination types with a single space
+ converters: {
+
+ // Convert anything to text
+ "* text": String,
+
+ // Text to html (true = no transformation)
+ "text html": true,
+
+ // Evaluate text as a json expression
+ "text json": jQuery.parseJSON,
+
+ // Parse text as xml
+ "text xml": jQuery.parseXML
+ },
+
+ // For options that shouldn't be deep extended:
+ // you can add your own custom options here if
+ // and when you create one that shouldn't be
+ // deep extended (see ajaxExtend)
+ flatOptions: {
+ url: true,
+ context: true
+ }
+ },
+
+ // Creates a full fledged settings object into target
+ // with both ajaxSettings and settings fields.
+ // If target is omitted, writes into ajaxSettings.
+ ajaxSetup: function( target, settings ) {
+ return settings ?
+
+ // Building a settings object
+ ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :
+
+ // Extending ajaxSettings
+ ajaxExtend( jQuery.ajaxSettings, target );
+ },
+
+ ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
+ ajaxTransport: addToPrefiltersOrTransports( transports ),
+
+ // Main method
+ ajax: function( url, options ) {
+
+ // If url is an object, simulate pre-1.5 signature
+ if ( typeof url === "object" ) {
+ options = url;
+ url = undefined;
+ }
+
+ // Force options to be an object
+ options = options || {};
+
+ var transport,
+ // URL without anti-cache param
+ cacheURL,
+ // Response headers
+ responseHeadersString,
+ responseHeaders,
+ // timeout handle
+ timeoutTimer,
+ // Cross-domain detection vars
+ parts,
+ // To know if global events are to be dispatched
+ fireGlobals,
+ // Loop variable
+ i,
+ // Create the final options object
+ s = jQuery.ajaxSetup( {}, options ),
+ // Callbacks context
+ callbackContext = s.context || s,
+ // Context for global events is callbackContext if it is a DOM node or jQuery collection
+ globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?
+ jQuery( callbackContext ) :
+ jQuery.event,
+ // Deferreds
+ deferred = jQuery.Deferred(),
+ completeDeferred = jQuery.Callbacks("once memory"),
+ // Status-dependent callbacks
+ statusCode = s.statusCode || {},
+ // Headers (they are sent all at once)
+ requestHeaders = {},
+ requestHeadersNames = {},
+ // The jqXHR state
+ state = 0,
+ // Default abort message
+ strAbort = "canceled",
+ // Fake xhr
+ jqXHR = {
+ readyState: 0,
+
+ // Builds headers hashtable if needed
+ getResponseHeader: function( key ) {
+ var match;
+ if ( state === 2 ) {
+ if ( !responseHeaders ) {
+ responseHeaders = {};
+ while ( (match = rheaders.exec( responseHeadersString )) ) {
+ responseHeaders[ match[1].toLowerCase() ] = match[ 2 ];
+ }
+ }
+ match = responseHeaders[ key.toLowerCase() ];
+ }
+ return match == null ? null : match;
+ },
+
+ // Raw string
+ getAllResponseHeaders: function() {
+ return state === 2 ? responseHeadersString : null;
+ },
+
+ // Caches the header
+ setRequestHeader: function( name, value ) {
+ var lname = name.toLowerCase();
+ if ( !state ) {
+ name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;
+ requestHeaders[ name ] = value;
+ }
+ return this;
+ },
+
+ // Overrides response content-type header
+ overrideMimeType: function( type ) {
+ if ( !state ) {
+ s.mimeType = type;
+ }
+ return this;
+ },
+
+ // Status-dependent callbacks
+ statusCode: function( map ) {
+ var code;
+ if ( map ) {
+ if ( state < 2 ) {
+ for ( code in map ) {
+ // Lazy-add the new callback in a way that preserves old ones
+ statusCode[ code ] = [ statusCode[ code ], map[ code ] ];
+ }
+ } else {
+ // Execute the appropriate callbacks
+ jqXHR.always( map[ jqXHR.status ] );
+ }
+ }
+ return this;
+ },
+
+ // Cancel the request
+ abort: function( statusText ) {
+ var finalText = statusText || strAbort;
+ if ( transport ) {
+ transport.abort( finalText );
+ }
+ done( 0, finalText );
+ return this;
+ }
+ };
+
+ // Attach deferreds
+ deferred.promise( jqXHR ).complete = completeDeferred.add;
+ jqXHR.success = jqXHR.done;
+ jqXHR.error = jqXHR.fail;
+
+ // Remove hash character (#7531: and string promotion)
+ // Add protocol if not provided (prefilters might expect it)
+ // Handle falsy url in the settings object (#10093: consistency with old signature)
+ // We also use the url parameter if available
+ s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" )
+ .replace( rprotocol, ajaxLocParts[ 1 ] + "//" );
+
+ // Alias method option to type as per ticket #12004
+ s.type = options.method || options.type || s.method || s.type;
+
+ // Extract dataTypes list
+ s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ];
+
+ // A cross-domain request is in order when we have a protocol:host:port mismatch
+ if ( s.crossDomain == null ) {
+ parts = rurl.exec( s.url.toLowerCase() );
+ s.crossDomain = !!( parts &&
+ ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
+ ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==
+ ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) )
+ );
+ }
+
+ // Convert data if not already a string
+ if ( s.data && s.processData && typeof s.data !== "string" ) {
+ s.data = jQuery.param( s.data, s.traditional );
+ }
+
+ // Apply prefilters
+ inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
+
+ // If request was aborted inside a prefilter, stop there
+ if ( state === 2 ) {
+ return jqXHR;
+ }
+
+ // We can fire global events as of now if asked to
+ fireGlobals = s.global;
+
+ // Watch for a new set of requests
+ if ( fireGlobals && jQuery.active++ === 0 ) {
+ jQuery.event.trigger("ajaxStart");
+ }
+
+ // Uppercase the type
+ s.type = s.type.toUpperCase();
+
+ // Determine if request has content
+ s.hasContent = !rnoContent.test( s.type );
+
+ // Save the URL in case we're toying with the If-Modified-Since
+ // and/or If-None-Match header later on
+ cacheURL = s.url;
+
+ // More options handling for requests with no content
+ if ( !s.hasContent ) {
+
+ // If data is available, append data to url
+ if ( s.data ) {
+ cacheURL = ( s.url += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data );
+ // #9682: remove data so that it's not used in an eventual retry
+ delete s.data;
+ }
+
+ // Add anti-cache in url if needed
+ if ( s.cache === false ) {
+ s.url = rts.test( cacheURL ) ?
+
+ // If there is already a '_' parameter, set its value
+ cacheURL.replace( rts, "$1_=" + nonce++ ) :
+
+ // Otherwise add one to the end
+ cacheURL + ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + nonce++;
+ }
+ }
+
+ // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
+ if ( s.ifModified ) {
+ if ( jQuery.lastModified[ cacheURL ] ) {
+ jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );
+ }
+ if ( jQuery.etag[ cacheURL ] ) {
+ jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );
+ }
+ }
+
+ // Set the correct header, if data is being sent
+ if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
+ jqXHR.setRequestHeader( "Content-Type", s.contentType );
+ }
+
+ // Set the Accepts header for the server, depending on the dataType
+ jqXHR.setRequestHeader(
+ "Accept",
+ s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?
+ s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
+ s.accepts[ "*" ]
+ );
+
+ // Check for headers option
+ for ( i in s.headers ) {
+ jqXHR.setRequestHeader( i, s.headers[ i ] );
+ }
+
+ // Allow custom headers/mimetypes and early abort
+ if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {
+ // Abort if not done already and return
+ return jqXHR.abort();
+ }
+
+ // aborting is no longer a cancellation
+ strAbort = "abort";
+
+ // Install callbacks on deferreds
+ for ( i in { success: 1, error: 1, complete: 1 } ) {
+ jqXHR[ i ]( s[ i ] );
+ }
+
+ // Get transport
+ transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
+
+ // If no transport, we auto-abort
+ if ( !transport ) {
+ done( -1, "No Transport" );
+ } else {
+ jqXHR.readyState = 1;
+
+ // Send global event
+ if ( fireGlobals ) {
+ globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
+ }
+ // Timeout
+ if ( s.async && s.timeout > 0 ) {
+ timeoutTimer = setTimeout(function() {
+ jqXHR.abort("timeout");
+ }, s.timeout );
+ }
+
+ try {
+ state = 1;
+ transport.send( requestHeaders, done );
+ } catch ( e ) {
+ // Propagate exception as error if not done
+ if ( state < 2 ) {
+ done( -1, e );
+ // Simply rethrow otherwise
+ } else {
+ throw e;
+ }
+ }
+ }
+
+ // Callback for when everything is done
+ function done( status, nativeStatusText, responses, headers ) {
+ var isSuccess, success, error, response, modified,
+ statusText = nativeStatusText;
+
+ // Called once
+ if ( state === 2 ) {
+ return;
+ }
+
+ // State is "done" now
+ state = 2;
+
+ // Clear timeout if it exists
+ if ( timeoutTimer ) {
+ clearTimeout( timeoutTimer );
+ }
+
+ // Dereference transport for early garbage collection
+ // (no matter how long the jqXHR object will be used)
+ transport = undefined;
+
+ // Cache response headers
+ responseHeadersString = headers || "";
+
+ // Set readyState
+ jqXHR.readyState = status > 0 ? 4 : 0;
+
+ // Determine if successful
+ isSuccess = status >= 200 && status < 300 || status === 304;
+
+ // Get response data
+ if ( responses ) {
+ response = ajaxHandleResponses( s, jqXHR, responses );
+ }
+
+ // Convert no matter what (that way responseXXX fields are always set)
+ response = ajaxConvert( s, response, jqXHR, isSuccess );
+
+ // If successful, handle type chaining
+ if ( isSuccess ) {
+
+ // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
+ if ( s.ifModified ) {
+ modified = jqXHR.getResponseHeader("Last-Modified");
+ if ( modified ) {
+ jQuery.lastModified[ cacheURL ] = modified;
+ }
+ modified = jqXHR.getResponseHeader("etag");
+ if ( modified ) {
+ jQuery.etag[ cacheURL ] = modified;
+ }
+ }
+
+ // if no content
+ if ( status === 204 || s.type === "HEAD" ) {
+ statusText = "nocontent";
+
+ // if not modified
+ } else if ( status === 304 ) {
+ statusText = "notmodified";
+
+ // If we have data, let's convert it
+ } else {
+ statusText = response.state;
+ success = response.data;
+ error = response.error;
+ isSuccess = !error;
+ }
+ } else {
+ // We extract error from statusText
+ // then normalize statusText and status for non-aborts
+ error = statusText;
+ if ( status || !statusText ) {
+ statusText = "error";
+ if ( status < 0 ) {
+ status = 0;
+ }
+ }
+ }
+
+ // Set data for the fake xhr object
+ jqXHR.status = status;
+ jqXHR.statusText = ( nativeStatusText || statusText ) + "";
+
+ // Success/Error
+ if ( isSuccess ) {
+ deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
+ } else {
+ deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
+ }
+
+ // Status-dependent callbacks
+ jqXHR.statusCode( statusCode );
+ statusCode = undefined;
+
+ if ( fireGlobals ) {
+ globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",
+ [ jqXHR, s, isSuccess ? success : error ] );
+ }
+
+ // Complete
+ completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
+
+ if ( fireGlobals ) {
+ globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
+ // Handle the global AJAX counter
+ if ( !( --jQuery.active ) ) {
+ jQuery.event.trigger("ajaxStop");
+ }
+ }
+ }
+
+ return jqXHR;
+ },
+
+ getJSON: function( url, data, callback ) {
+ return jQuery.get( url, data, callback, "json" );
+ },
+
+ getScript: function( url, callback ) {
+ return jQuery.get( url, undefined, callback, "script" );
+ }
+});
+
+jQuery.each( [ "get", "post" ], function( i, method ) {
+ jQuery[ method ] = function( url, data, callback, type ) {
+ // shift arguments if data argument was omitted
+ if ( jQuery.isFunction( data ) ) {
+ type = type || callback;
+ callback = data;
+ data = undefined;
+ }
+
+ return jQuery.ajax({
+ url: url,
+ type: method,
+ dataType: type,
+ data: data,
+ success: callback
+ });
+ };
+});
+
+// Attach a bunch of functions for handling common AJAX events
+jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) {
+ jQuery.fn[ type ] = function( fn ) {
+ return this.on( type, fn );
+ };
+});
+
+
+jQuery._evalUrl = function( url ) {
+ return jQuery.ajax({
+ url: url,
+ type: "GET",
+ dataType: "script",
+ async: false,
+ global: false,
+ "throws": true
+ });
+};
+
+
+jQuery.fn.extend({
+ wrapAll: function( html ) {
+ var wrap;
+
+ if ( jQuery.isFunction( html ) ) {
+ return this.each(function( i ) {
+ jQuery( this ).wrapAll( html.call(this, i) );
+ });
+ }
+
+ if ( this[ 0 ] ) {
+
+ // The elements to wrap the target around
+ wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );
+
+ if ( this[ 0 ].parentNode ) {
+ wrap.insertBefore( this[ 0 ] );
+ }
+
+ wrap.map(function() {
+ var elem = this;
+
+ while ( elem.firstElementChild ) {
+ elem = elem.firstElementChild;
+ }
+
+ return elem;
+ }).append( this );
+ }
+
+ return this;
+ },
+
+ wrapInner: function( html ) {
+ if ( jQuery.isFunction( html ) ) {
+ return this.each(function( i ) {
+ jQuery( this ).wrapInner( html.call(this, i) );
+ });
+ }
+
+ return this.each(function() {
+ var self = jQuery( this ),
+ contents = self.contents();
+
+ if ( contents.length ) {
+ contents.wrapAll( html );
+
+ } else {
+ self.append( html );
+ }
+ });
+ },
+
+ wrap: function( html ) {
+ var isFunction = jQuery.isFunction( html );
+
+ return this.each(function( i ) {
+ jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );
+ });
+ },
+
+ unwrap: function() {
+ return this.parent().each(function() {
+ if ( !jQuery.nodeName( this, "body" ) ) {
+ jQuery( this ).replaceWith( this.childNodes );
+ }
+ }).end();
+ }
+});
+
+
+jQuery.expr.filters.hidden = function( elem ) {
+ // Support: Opera <= 12.12
+ // Opera reports offsetWidths and offsetHeights less than zero on some elements
+ return elem.offsetWidth <= 0 && elem.offsetHeight <= 0;
+};
+jQuery.expr.filters.visible = function( elem ) {
+ return !jQuery.expr.filters.hidden( elem );
+};
+
+
+
+
+var r20 = /%20/g,
+ rbracket = /\[\]$/,
+ rCRLF = /\r?\n/g,
+ rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
+ rsubmittable = /^(?:input|select|textarea|keygen)/i;
+
+function buildParams( prefix, obj, traditional, add ) {
+ var name;
+
+ if ( jQuery.isArray( obj ) ) {
+ // Serialize array item.
+ jQuery.each( obj, function( i, v ) {
+ if ( traditional || rbracket.test( prefix ) ) {
+ // Treat each array item as a scalar.
+ add( prefix, v );
+
+ } else {
+ // Item is non-scalar (array or object), encode its numeric index.
+ buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add );
+ }
+ });
+
+ } else if ( !traditional && jQuery.type( obj ) === "object" ) {
+ // Serialize object item.
+ for ( name in obj ) {
+ buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );
+ }
+
+ } else {
+ // Serialize scalar item.
+ add( prefix, obj );
+ }
+}
+
+// Serialize an array of form elements or a set of
+// key/values into a query string
+jQuery.param = function( a, traditional ) {
+ var prefix,
+ s = [],
+ add = function( key, value ) {
+ // If value is a function, invoke it and return its value
+ value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );
+ s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
+ };
+
+ // Set traditional to true for jQuery <= 1.3.2 behavior.
+ if ( traditional === undefined ) {
+ traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;
+ }
+
+ // If an array was passed in, assume that it is an array of form elements.
+ if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
+ // Serialize the form elements
+ jQuery.each( a, function() {
+ add( this.name, this.value );
+ });
+
+ } else {
+ // If traditional, encode the "old" way (the way 1.3.2 or older
+ // did it), otherwise encode params recursively.
+ for ( prefix in a ) {
+ buildParams( prefix, a[ prefix ], traditional, add );
+ }
+ }
+
+ // Return the resulting serialization
+ return s.join( "&" ).replace( r20, "+" );
+};
+
+jQuery.fn.extend({
+ serialize: function() {
+ return jQuery.param( this.serializeArray() );
+ },
+ serializeArray: function() {
+ return this.map(function() {
+ // Can add propHook for "elements" to filter or add form elements
+ var elements = jQuery.prop( this, "elements" );
+ return elements ? jQuery.makeArray( elements ) : this;
+ })
+ .filter(function() {
+ var type = this.type;
+
+ // Use .is( ":disabled" ) so that fieldset[disabled] works
+ return this.name && !jQuery( this ).is( ":disabled" ) &&
+ rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
+ ( this.checked || !rcheckableType.test( type ) );
+ })
+ .map(function( i, elem ) {
+ var val = jQuery( this ).val();
+
+ return val == null ?
+ null :
+ jQuery.isArray( val ) ?
+ jQuery.map( val, function( val ) {
+ return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
+ }) :
+ { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
+ }).get();
+ }
+});
+
+
+jQuery.ajaxSettings.xhr = function() {
+ try {
+ return new XMLHttpRequest();
+ } catch( e ) {}
+};
+
+var xhrId = 0,
+ xhrCallbacks = {},
+ xhrSuccessStatus = {
+ // file protocol always yields status code 0, assume 200
+ 0: 200,
+ // Support: IE9
+ // #1450: sometimes IE returns 1223 when it should be 204
+ 1223: 204
+ },
+ xhrSupported = jQuery.ajaxSettings.xhr();
+
+// Support: IE9
+// Open requests must be manually aborted on unload (#5280)
+if ( window.ActiveXObject ) {
+ jQuery( window ).on( "unload", function() {
+ for ( var key in xhrCallbacks ) {
+ xhrCallbacks[ key ]();
+ }
+ });
+}
+
+support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
+support.ajax = xhrSupported = !!xhrSupported;
+
+jQuery.ajaxTransport(function( options ) {
+ var callback;
+
+ // Cross domain only allowed if supported through XMLHttpRequest
+ if ( support.cors || xhrSupported && !options.crossDomain ) {
+ return {
+ send: function( headers, complete ) {
+ var i,
+ xhr = options.xhr(),
+ id = ++xhrId;
+
+ xhr.open( options.type, options.url, options.async, options.username, options.password );
+
+ // Apply custom fields if provided
+ if ( options.xhrFields ) {
+ for ( i in options.xhrFields ) {
+ xhr[ i ] = options.xhrFields[ i ];
+ }
+ }
+
+ // Override mime type if needed
+ if ( options.mimeType && xhr.overrideMimeType ) {
+ xhr.overrideMimeType( options.mimeType );
+ }
+
+ // X-Requested-With header
+ // For cross-domain requests, seeing as conditions for a preflight are
+ // akin to a jigsaw puzzle, we simply never set it to be sure.
+ // (it can always be set on a per-request basis or even using ajaxSetup)
+ // For same-domain requests, won't change header if already provided.
+ if ( !options.crossDomain && !headers["X-Requested-With"] ) {
+ headers["X-Requested-With"] = "XMLHttpRequest";
+ }
+
+ // Set headers
+ for ( i in headers ) {
+ xhr.setRequestHeader( i, headers[ i ] );
+ }
+
+ // Callback
+ callback = function( type ) {
+ return function() {
+ if ( callback ) {
+ delete xhrCallbacks[ id ];
+ callback = xhr.onload = xhr.onerror = null;
+
+ if ( type === "abort" ) {
+ xhr.abort();
+ } else if ( type === "error" ) {
+ complete(
+ // file: protocol always yields status 0; see #8605, #14207
+ xhr.status,
+ xhr.statusText
+ );
+ } else {
+ complete(
+ xhrSuccessStatus[ xhr.status ] || xhr.status,
+ xhr.statusText,
+ // Support: IE9
+ // Accessing binary-data responseText throws an exception
+ // (#11426)
+ typeof xhr.responseText === "string" ? {
+ text: xhr.responseText
+ } : undefined,
+ xhr.getAllResponseHeaders()
+ );
+ }
+ }
+ };
+ };
+
+ // Listen to events
+ xhr.onload = callback();
+ xhr.onerror = callback("error");
+
+ // Create the abort callback
+ callback = xhrCallbacks[ id ] = callback("abort");
+
+ try {
+ // Do send the request (this may raise an exception)
+ xhr.send( options.hasContent && options.data || null );
+ } catch ( e ) {
+ // #14683: Only rethrow if this hasn't been notified as an error yet
+ if ( callback ) {
+ throw e;
+ }
+ }
+ },
+
+ abort: function() {
+ if ( callback ) {
+ callback();
+ }
+ }
+ };
+ }
+});
+
+
+
+
+// Install script dataType
+jQuery.ajaxSetup({
+ accepts: {
+ script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
+ },
+ contents: {
+ script: /(?:java|ecma)script/
+ },
+ converters: {
+ "text script": function( text ) {
+ jQuery.globalEval( text );
+ return text;
+ }
+ }
+});
+
+// Handle cache's special case and crossDomain
+jQuery.ajaxPrefilter( "script", function( s ) {
+ if ( s.cache === undefined ) {
+ s.cache = false;
+ }
+ if ( s.crossDomain ) {
+ s.type = "GET";
+ }
+});
+
+// Bind script tag hack transport
+jQuery.ajaxTransport( "script", function( s ) {
+ // This transport only deals with cross domain requests
+ if ( s.crossDomain ) {
+ var script, callback;
+ return {
+ send: function( _, complete ) {
+ script = jQuery("
+
+
+
+
+
+
+
+
{{ originalText }}
+ {{ filteredText }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$filter/index-jquery.html b/1.3.0-rc.2/docs/examples/example-$filter/index-jquery.html
new file mode 100644
index 0000000000..ab55dc6a3e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$filter/index-jquery.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-$filter-jquery
+
+
+
+
+
+
+
+
+
+
+
+
{{ originalText }}
+ {{ filteredText }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$filter/index-production.html b/1.3.0-rc.2/docs/examples/example-$filter/index-production.html
new file mode 100644
index 0000000000..4085c6586a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$filter/index-production.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-$filter-production
+
+
+
+
+
+
+
+
+
+
+
{{ originalText }}
+ {{ filteredText }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$filter/index.html b/1.3.0-rc.2/docs/examples/example-$filter/index.html
new file mode 100644
index 0000000000..b4924a6f9c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$filter/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-$filter
+
+
+
+
+
+
+
+
+
+
+
{{ originalText }}
+ {{ filteredText }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$filter/manifest.json b/1.3.0-rc.2/docs/examples/example-$filter/manifest.json
new file mode 100644
index 0000000000..0d2a67bb53
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$filter/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-$filter",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$filter/script.js b/1.3.0-rc.2/docs/examples/example-$filter/script.js
new file mode 100644
index 0000000000..1fa286a06b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$filter/script.js
@@ -0,0 +1,5 @@
+ angular.module('filterExample', [])
+ .controller('MainCtrl', function($scope, $filter) {
+ $scope.originalText = 'hello';
+ $scope.filteredText = $filter('uppercase')($scope.originalText);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$route-service/book.html b/1.3.0-rc.2/docs/examples/example-$route-service/book.html
new file mode 100644
index 0000000000..94e4b4bf95
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$route-service/book.html
@@ -0,0 +1,2 @@
+ controller: {{name}}
+ Book Id: {{params.bookId}}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$route-service/chapter.html b/1.3.0-rc.2/docs/examples/example-$route-service/chapter.html
new file mode 100644
index 0000000000..43b15f580f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$route-service/chapter.html
@@ -0,0 +1,3 @@
+ controller: {{name}}
+ Book Id: {{params.bookId}}
+ Chapter Id: {{params.chapterId}}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$route-service/index-debug.html b/1.3.0-rc.2/docs/examples/example-$route-service/index-debug.html
new file mode 100644
index 0000000000..2c2b009094
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$route-service/index-debug.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-$route-service-debug
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
+
$location.path() = {{$location.path()}}
+
$route.current.templateUrl = {{$route.current.templateUrl}}
+
$route.current.params = {{$route.current.params}}
+
$route.current.scope.name = {{$route.current.scope.name}}
+
$routeParams = {{$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$route-service/index-jquery.html b/1.3.0-rc.2/docs/examples/example-$route-service/index-jquery.html
new file mode 100644
index 0000000000..c88c9c586e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$route-service/index-jquery.html
@@ -0,0 +1,38 @@
+
+
+
+
+ Example - example-$route-service-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
+
$location.path() = {{$location.path()}}
+
$route.current.templateUrl = {{$route.current.templateUrl}}
+
$route.current.params = {{$route.current.params}}
+
$route.current.scope.name = {{$route.current.scope.name}}
+
$routeParams = {{$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$route-service/index-production.html b/1.3.0-rc.2/docs/examples/example-$route-service/index-production.html
new file mode 100644
index 0000000000..ffa9447108
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$route-service/index-production.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-$route-service-production
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
+
$location.path() = {{$location.path()}}
+
$route.current.templateUrl = {{$route.current.templateUrl}}
+
$route.current.params = {{$route.current.params}}
+
$route.current.scope.name = {{$route.current.scope.name}}
+
$routeParams = {{$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$route-service/index.html b/1.3.0-rc.2/docs/examples/example-$route-service/index.html
new file mode 100644
index 0000000000..fa84e3127e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$route-service/index.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-$route-service
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
+
$location.path() = {{$location.path()}}
+
$route.current.templateUrl = {{$route.current.templateUrl}}
+
$route.current.params = {{$route.current.params}}
+
$route.current.scope.name = {{$route.current.scope.name}}
+
$routeParams = {{$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$route-service/manifest.json b/1.3.0-rc.2/docs/examples/example-$route-service/manifest.json
new file mode 100644
index 0000000000..0156fd11f9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$route-service/manifest.json
@@ -0,0 +1,10 @@
+{
+ "name": "example-$route-service",
+ "files": [
+ "index-production.html",
+ "book.html",
+ "chapter.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$route-service/protractor.js b/1.3.0-rc.2/docs/examples/example-$route-service/protractor.js
new file mode 100644
index 0000000000..a0512ced9a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$route-service/protractor.js
@@ -0,0 +1,13 @@
+ it('should load and compile correct template', function() {
+ element(by.linkText('Moby: Ch1')).click();
+ var content = element(by.css('[ng-view]')).getText();
+ expect(content).toMatch(/controller\: ChapterController/);
+ expect(content).toMatch(/Book Id\: Moby/);
+ expect(content).toMatch(/Chapter Id\: 1/);
+
+ element(by.partialLinkText('Scarlet')).click();
+
+ content = element(by.css('[ng-view]')).getText();
+ expect(content).toMatch(/controller\: BookController/);
+ expect(content).toMatch(/Book Id\: Scarlet/);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-$route-service/script.js b/1.3.0-rc.2/docs/examples/example-$route-service/script.js
new file mode 100644
index 0000000000..0c77c4d097
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-$route-service/script.js
@@ -0,0 +1,40 @@
+ angular.module('ngRouteExample', ['ngRoute'])
+
+ .controller('MainController', function($scope, $route, $routeParams, $location) {
+ $scope.$route = $route;
+ $scope.$location = $location;
+ $scope.$routeParams = $routeParams;
+ })
+
+ .controller('BookController', function($scope, $routeParams) {
+ $scope.name = "BookController";
+ $scope.params = $routeParams;
+ })
+
+ .controller('ChapterController', function($scope, $routeParams) {
+ $scope.name = "ChapterController";
+ $scope.params = $routeParams;
+ })
+
+ .config(function($routeProvider, $locationProvider) {
+ $routeProvider
+ .when('/Book/:bookId', {
+ templateUrl: 'book.html',
+ controller: 'BookController',
+ resolve: {
+ // I will cause a 1 second delay
+ delay: function($q, $timeout) {
+ var delay = $q.defer();
+ $timeout(delay.resolve, 1000);
+ return delay.promise;
+ }
+ }
+ })
+ .when('/Book/:bookId/ch/:chapterId', {
+ templateUrl: 'chapter.html',
+ controller: 'ChapterController'
+ });
+
+ // configure html5 to get links working on jsfiddle
+ $locationProvider.html5Mode(true);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-NgModelController/index-debug.html b/1.3.0-rc.2/docs/examples/example-NgModelController/index-debug.html
new file mode 100644
index 0000000000..c9a5be58dc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-NgModelController/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-NgModelController-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-NgModelController/index-jquery.html b/1.3.0-rc.2/docs/examples/example-NgModelController/index-jquery.html
new file mode 100644
index 0000000000..78a10c8899
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-NgModelController/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-NgModelController-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Change me!
+ Required!
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-NgModelController/index-production.html b/1.3.0-rc.2/docs/examples/example-NgModelController/index-production.html
new file mode 100644
index 0000000000..5fc28ea5ff
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-NgModelController/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-NgModelController-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Change me!
+ Required!
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-NgModelController/index.html b/1.3.0-rc.2/docs/examples/example-NgModelController/index.html
new file mode 100644
index 0000000000..e845b6374a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-NgModelController/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-NgModelController
+
+
+
+
+
+
+
+
+
+
+
+
+ Change me!
+ Required!
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-NgModelController/manifest.json b/1.3.0-rc.2/docs/examples/example-NgModelController/manifest.json
new file mode 100644
index 0000000000..77bb9769d8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-NgModelController/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-NgModelController",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-NgModelController/protractor.js b/1.3.0-rc.2/docs/examples/example-NgModelController/protractor.js
new file mode 100644
index 0000000000..a524f929cc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-NgModelController/protractor.js
@@ -0,0 +1,16 @@
+it('should data-bind and become invalid', function() {
+ if (browser.params.browser == 'safari' || browser.params.browser == 'firefox') {
+ // SafariDriver can't handle contenteditable
+ // and Firefox driver can't clear contenteditables very well
+ return;
+ }
+ var contentEditable = element(by.css('[contenteditable]'));
+ var content = 'Change me!';
+
+ expect(contentEditable.getText()).toEqual(content);
+
+ contentEditable.clear();
+ contentEditable.sendKeys(protractor.Key.BACK_SPACE);
+ expect(contentEditable.getText()).toEqual('');
+ expect(contentEditable.getAttribute('class')).toMatch(/ng-invalid-required/);
+});
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-NgModelController/script.js b/1.3.0-rc.2/docs/examples/example-NgModelController/script.js
new file mode 100644
index 0000000000..7c54a5c7c8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-NgModelController/script.js
@@ -0,0 +1,32 @@
+ angular.module('customControl', ['ngSanitize']).
+ directive('contenteditable', ['$sce', function($sce) {
+ return {
+ restrict: 'A', // only activate on element attribute
+ require: '?ngModel', // get a hold of NgModelController
+ link: function(scope, element, attrs, ngModel) {
+ if (!ngModel) return; // do nothing if no ng-model
+
+ // Specify how UI should be updated
+ ngModel.$render = function() {
+ element.html($sce.getTrustedHtml(ngModel.$viewValue || ''));
+ };
+
+ // Listen for change events to enable binding
+ element.on('blur keyup change', function() {
+ scope.$apply(read);
+ });
+ read(); // initialize
+
+ // Write data to the model
+ function read() {
+ var html = element.html();
+ // When we clear the content editable the browser leaves a behind
+ // If strip-br attribute is provided then we strip this out
+ if ( attrs.stripBr && html == ' ' ) {
+ html = '';
+ }
+ ngModel.$setViewValue(html);
+ }
+ }
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-NgModelController/style.css b/1.3.0-rc.2/docs/examples/example-NgModelController/style.css
new file mode 100644
index 0000000000..e9a4a054d1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-NgModelController/style.css
@@ -0,0 +1,9 @@
+ [contenteditable] {
+ border: 1px solid black;
+ background-color: white;
+ min-height: 20px;
+ }
+
+ .ng-invalid {
+ border: 1px solid red;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index-debug.html
new file mode 100644
index 0000000000..7cda7b3e85
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index-debug.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-checkbox-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Value1:
+ Value2:
+ value1 = {{value1}}
+ value2 = {{value2}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index-jquery.html
new file mode 100644
index 0000000000..9796926640
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index-jquery.html
@@ -0,0 +1,30 @@
+
+
+
+
+ Example - example-checkbox-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Value1:
+ Value2:
+ value1 = {{value1}}
+ value2 = {{value2}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index-production.html
new file mode 100644
index 0000000000..092c819c9f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index-production.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-checkbox-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Value1:
+ Value2:
+ value1 = {{value1}}
+ value2 = {{value2}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index.html
new file mode 100644
index 0000000000..755af5317b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/index.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-checkbox-input-directive
+
+
+
+
+
+
+
+
+
+
+ Value1:
+ Value2:
+ value1 = {{value1}}
+ value2 = {{value2}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/manifest.json
new file mode 100644
index 0000000000..7c0bf82470
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-checkbox-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/protractor.js
new file mode 100644
index 0000000000..6de643e7f4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-checkbox-input-directive/protractor.js
@@ -0,0 +1,13 @@
+ it('should change state', function() {
+ var value1 = element(by.binding('value1'));
+ var value2 = element(by.binding('value2'));
+
+ expect(value1.getText()).toContain('true');
+ expect(value2.getText()).toContain('YES');
+
+ element(by.model('value1')).click();
+ element(by.model('value2')).click();
+
+ expect(value1.getText()).toContain('false');
+ expect(value2.getText()).toContain('NO');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-date-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-date-input-directive/index-debug.html
new file mode 100644
index 0000000000..5066f780fe
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-date-input-directive/index-debug.html
@@ -0,0 +1,35 @@
+
+
+
+
+ Example - example-date-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Pick a date in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-MM-dd"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-date-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-date-input-directive/index-jquery.html
new file mode 100644
index 0000000000..34d2e73d05
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-date-input-directive/index-jquery.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-date-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Pick a date in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-MM-dd"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-date-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-date-input-directive/index-production.html
new file mode 100644
index 0000000000..5f3dc765a8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-date-input-directive/index-production.html
@@ -0,0 +1,35 @@
+
+
+
+
+ Example - example-date-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Pick a date in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-MM-dd"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-date-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-date-input-directive/index.html
new file mode 100644
index 0000000000..d29411cac2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-date-input-directive/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+ Example - example-date-input-directive
+
+
+
+
+
+
+
+
+
+
+ Pick a date in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-MM-dd"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-date-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-date-input-directive/manifest.json
new file mode 100644
index 0000000000..ac13615c08
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-date-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-date-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-date-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-date-input-directive/protractor.js
new file mode 100644
index 0000000000..a038b39a3f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-date-input-directive/protractor.js
@@ -0,0 +1,31 @@
+ var value = element(by.binding('value | date: "yyyy-MM-dd"'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('value'));
+
+ // currently protractor/webdriver does not support
+ // sending keys to all known HTML5 input controls
+ // for various browsers (see https://github.com/angular/protractor/issues/562).
+ function setInput(val) {
+ // set the value of the element and force validation.
+ var scr = "var ipt = document.getElementById('exampleInput'); " +
+ "ipt.value = '" + val + "';" +
+ "angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('" + val + "'); });";
+ browser.executeScript(scr);
+ }
+
+ it('should initialize to model', function() {
+ expect(value.getText()).toContain('2013-10-22');
+ expect(valid.getText()).toContain('myForm.input.$valid = true');
+ });
+
+ it('should be invalid if empty', function() {
+ setInput('');
+ expect(value.getText()).toEqual('value =');
+ expect(valid.getText()).toContain('myForm.input.$valid = false');
+ });
+
+ it('should be invalid if over max', function() {
+ setInput('2015-01-01');
+ expect(value.getText()).toContain('');
+ expect(valid.getText()).toContain('myForm.input.$valid = false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index-debug.html
new file mode 100644
index 0000000000..57f7e6fe53
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index-debug.html
@@ -0,0 +1,35 @@
+
+
+
+
+ Example - example-datetimelocal-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Pick a date between in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-MM-ddTHH:mm:ss"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index-jquery.html
new file mode 100644
index 0000000000..03448a1c09
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index-jquery.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-datetimelocal-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Pick a date between in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-MM-ddTHH:mm:ss"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index-production.html
new file mode 100644
index 0000000000..13a0fb6f20
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index-production.html
@@ -0,0 +1,35 @@
+
+
+
+
+ Example - example-datetimelocal-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Pick a date between in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-MM-ddTHH:mm:ss"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index.html
new file mode 100644
index 0000000000..90fe62dfa9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+ Example - example-datetimelocal-input-directive
+
+
+
+
+
+
+
+
+
+
+ Pick a date between in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-MM-ddTHH:mm:ss"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/manifest.json
new file mode 100644
index 0000000000..34b85a6353
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-datetimelocal-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/protractor.js
new file mode 100644
index 0000000000..10a6574ad7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-datetimelocal-input-directive/protractor.js
@@ -0,0 +1,31 @@
+ var value = element(by.binding('value | date: "yyyy-MM-ddTHH:mm:ss"'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('value'));
+
+ // currently protractor/webdriver does not support
+ // sending keys to all known HTML5 input controls
+ // for various browsers (https://github.com/angular/protractor/issues/562).
+ function setInput(val) {
+ // set the value of the element and force validation.
+ var scr = "var ipt = document.getElementById('exampleInput'); " +
+ "ipt.value = '" + val + "';" +
+ "angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('" + val + "'); });";
+ browser.executeScript(scr);
+ }
+
+ it('should initialize to model', function() {
+ expect(value.getText()).toContain('2010-12-28T14:57:00');
+ expect(valid.getText()).toContain('myForm.input.$valid = true');
+ });
+
+ it('should be invalid if empty', function() {
+ setInput('');
+ expect(value.getText()).toEqual('value =');
+ expect(valid.getText()).toContain('myForm.input.$valid = false');
+ });
+
+ it('should be invalid if over max', function() {
+ setInput('2015-01-01T23:59:00');
+ expect(value.getText()).toContain('');
+ expect(valid.getText()).toContain('myForm.input.$valid = false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-email-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-email-input-directive/index-debug.html
new file mode 100644
index 0000000000..f17b88fefe
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-email-input-directive/index-debug.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-email-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Email:
+
+ Required!
+
+ Not valid email!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.email = {{!!myForm.$error.email}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-email-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-email-input-directive/index-jquery.html
new file mode 100644
index 0000000000..6f5c6abb42
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-email-input-directive/index-jquery.html
@@ -0,0 +1,35 @@
+
+
+
+
+ Example - example-email-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Email:
+
+ Required!
+
+ Not valid email!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.email = {{!!myForm.$error.email}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-email-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-email-input-directive/index-production.html
new file mode 100644
index 0000000000..e0899b2ee1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-email-input-directive/index-production.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-email-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Email:
+
+ Required!
+
+ Not valid email!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.email = {{!!myForm.$error.email}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-email-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-email-input-directive/index.html
new file mode 100644
index 0000000000..ee64291fa3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-email-input-directive/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-email-input-directive
+
+
+
+
+
+
+
+
+
+
+ Email:
+
+ Required!
+
+ Not valid email!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.email = {{!!myForm.$error.email}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-email-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-email-input-directive/manifest.json
new file mode 100644
index 0000000000..a7348f2b92
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-email-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-email-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-email-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-email-input-directive/protractor.js
new file mode 100644
index 0000000000..0d7c9a164b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-email-input-directive/protractor.js
@@ -0,0 +1,22 @@
+ var text = element(by.binding('text'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('text'));
+
+ it('should initialize to model', function() {
+ expect(text.getText()).toContain('me@example.com');
+ expect(valid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty', function() {
+ input.clear();
+ input.sendKeys('');
+ expect(text.getText()).toEqual('text =');
+ expect(valid.getText()).toContain('false');
+ });
+
+ it('should be invalid if not email', function() {
+ input.clear();
+ input.sendKeys('xxx');
+
+ expect(valid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/app.js b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/app.js
new file mode 100644
index 0000000000..3cc1ce0486
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/app.js
@@ -0,0 +1,7 @@
+ angular.module('app', []).directive('setFocusIf', function() {
+ return function link($scope, $element, $attr) {
+ $scope.$watch($attr.setFocusIf, function(value) {
+ if ( value ) { $element[0].focus(); }
+ });
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index-debug.html b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index-debug.html
new file mode 100644
index 0000000000..5fad25046d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index-debug.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-error-$rootScope-inprog-debug
+
+
+
+
+
+
+
+
+
+ Focus
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index-jquery.html b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index-jquery.html
new file mode 100644
index 0000000000..a027b1fd44
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index-jquery.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-error-$rootScope-inprog-jquery
+
+
+
+
+
+
+
+
+
+
+ Focus
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index-production.html b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index-production.html
new file mode 100644
index 0000000000..eb71c9800f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index-production.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-error-$rootScope-inprog-production
+
+
+
+
+
+
+
+
+
+ Focus
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index.html b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index.html
new file mode 100644
index 0000000000..a2060aecdb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/index.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-error-$rootScope-inprog
+
+
+
+
+
+
+
+
+
+ Focus
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/manifest.json b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/manifest.json
new file mode 100644
index 0000000000..1c988f9fab
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-error-$rootScope-inprog/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-error-$rootScope-inprog",
+ "files": [
+ "index-production.html",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example/index-debug.html b/1.3.0-rc.2/docs/examples/example-example/index-debug.html
new file mode 100644
index 0000000000..3aa0b68607
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example/index-debug.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Example - example-example-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example/index-jquery.html
new file mode 100644
index 0000000000..396796ee49
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example/index-jquery.html
@@ -0,0 +1,47 @@
+
+
+
+
+ Example - example-example-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example/index-production.html b/1.3.0-rc.2/docs/examples/example-example/index-production.html
new file mode 100644
index 0000000000..a9b7412402
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example/index-production.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Example - example-example-production
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example/index.html b/1.3.0-rc.2/docs/examples/example-example/index.html
new file mode 100644
index 0000000000..d571064594
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example/index.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Example - example-example
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example/manifest.json b/1.3.0-rc.2/docs/examples/example-example/manifest.json
new file mode 100644
index 0000000000..afef434e19
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example1/index-debug.html b/1.3.0-rc.2/docs/examples/example-example1/index-debug.html
new file mode 100644
index 0000000000..fbd55d5d3d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example1/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example1-debug
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example1/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example1/index-jquery.html
new file mode 100644
index 0000000000..fd931523b4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example1/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example1-jquery
+
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example1/index-production.html b/1.3.0-rc.2/docs/examples/example-example1/index-production.html
new file mode 100644
index 0000000000..86c3e990df
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example1/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example1-production
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example1/index.html b/1.3.0-rc.2/docs/examples/example-example1/index.html
new file mode 100644
index 0000000000..cd2ad9b769
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example1/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example1
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example1/manifest.json b/1.3.0-rc.2/docs/examples/example-example1/manifest.json
new file mode 100644
index 0000000000..add5f56bdc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example1/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example1",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example1/script.js b/1.3.0-rc.2/docs/examples/example-example1/script.js
new file mode 100644
index 0000000000..68333d37e5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example1/script.js
@@ -0,0 +1,4 @@
+angular.module('ngAppDemo', []).controller('ngAppDemoController', function($scope) {
+ $scope.a = 1;
+ $scope.b = 2;
+});
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example10/index-debug.html b/1.3.0-rc.2/docs/examples/example-example10/index-debug.html
new file mode 100644
index 0000000000..3d25df7a1c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example10/index-debug.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example10-debug
+
+
+
+
+
+
+
+
+ Check me to select:
+
+ Hello!
+ Greetings!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example10/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example10/index-jquery.html
new file mode 100644
index 0000000000..b973af0e87
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example10/index-jquery.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example10-jquery
+
+
+
+
+
+
+
+
+
+ Check me to select:
+
+ Hello!
+ Greetings!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example10/index-production.html b/1.3.0-rc.2/docs/examples/example-example10/index-production.html
new file mode 100644
index 0000000000..4c57a41c64
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example10/index-production.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example10-production
+
+
+
+
+
+
+
+
+ Check me to select:
+
+ Hello!
+ Greetings!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example10/index.html b/1.3.0-rc.2/docs/examples/example-example10/index.html
new file mode 100644
index 0000000000..0f2af1b605
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example10/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example10
+
+
+
+
+
+
+
+
+ Check me to select:
+
+ Hello!
+ Greetings!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example10/manifest.json b/1.3.0-rc.2/docs/examples/example-example10/manifest.json
new file mode 100644
index 0000000000..947ad10326
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example10/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example10",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example10/protractor.js b/1.3.0-rc.2/docs/examples/example-example10/protractor.js
new file mode 100644
index 0000000000..e51846f4a6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example10/protractor.js
@@ -0,0 +1,5 @@
+ it('should select Greetings!', function() {
+ expect(element(by.id('greet')).getAttribute('selected')).toBeFalsy();
+ element(by.model('selected')).click();
+ expect(element(by.id('greet')).getAttribute('selected')).toBeTruthy();
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example100/index-debug.html b/1.3.0-rc.2/docs/examples/example-example100/index-debug.html
new file mode 100644
index 0000000000..268fb14a82
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example100/index-debug.html
@@ -0,0 +1,53 @@
+
+
+
+
+ Example - example-example100-debug
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ E-mail:
+ Gender: male
+ female
+ RESET
+ SAVE
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example100/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example100/index-jquery.html
new file mode 100644
index 0000000000..d73b29dd94
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example100/index-jquery.html
@@ -0,0 +1,54 @@
+
+
+
+
+ Example - example-example100-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ E-mail:
+ Gender: male
+ female
+ RESET
+ SAVE
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example100/index-production.html b/1.3.0-rc.2/docs/examples/example-example100/index-production.html
new file mode 100644
index 0000000000..715313cc03
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example100/index-production.html
@@ -0,0 +1,53 @@
+
+
+
+
+ Example - example-example100-production
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ E-mail:
+ Gender: male
+ female
+ RESET
+ SAVE
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example100/index.html b/1.3.0-rc.2/docs/examples/example-example100/index.html
new file mode 100644
index 0000000000..19c5c7ff6a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example100/index.html
@@ -0,0 +1,53 @@
+
+
+
+
+ Example - example-example100
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ E-mail:
+ Gender: male
+ female
+ RESET
+ SAVE
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example100/manifest.json b/1.3.0-rc.2/docs/examples/example-example100/manifest.json
new file mode 100644
index 0000000000..68a5e41c04
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example100/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example100",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example101/index-debug.html b/1.3.0-rc.2/docs/examples/example-example101/index-debug.html
new file mode 100644
index 0000000000..e6959a46ee
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example101/index-debug.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example101-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example101/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example101/index-jquery.html
new file mode 100644
index 0000000000..cf91acfa77
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example101/index-jquery.html
@@ -0,0 +1,41 @@
+
+
+
+
+ Example - example-example101-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example101/index-production.html b/1.3.0-rc.2/docs/examples/example-example101/index-production.html
new file mode 100644
index 0000000000..7c84f38207
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example101/index-production.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example101-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example101/index.html b/1.3.0-rc.2/docs/examples/example-example101/index.html
new file mode 100644
index 0000000000..7ebe7e5ad5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example101/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example101
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example101/manifest.json b/1.3.0-rc.2/docs/examples/example-example101/manifest.json
new file mode 100644
index 0000000000..ed66af641a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example101/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example101",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example101/script.js b/1.3.0-rc.2/docs/examples/example-example101/script.js
new file mode 100644
index 0000000000..12c3108840
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example101/script.js
@@ -0,0 +1,18 @@
+ angular.module('formExample', [])
+ .controller('ExampleController', ['$scope', function($scope) {
+ $scope.master = {};
+
+ $scope.update = function(user) {
+ $scope.master = angular.copy(user);
+ };
+
+ $scope.reset = function() {
+ $scope.user = angular.copy($scope.master);
+ };
+
+ $scope.isUnchanged = function(user) {
+ return angular.equals(user, $scope.master);
+ };
+
+ $scope.reset();
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example102/index-debug.html b/1.3.0-rc.2/docs/examples/example-example102/index-debug.html
new file mode 100644
index 0000000000..e3d80209f7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example102/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example102-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example102/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example102/index-jquery.html
new file mode 100644
index 0000000000..9c6da7860e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example102/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example102-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example102/index-production.html b/1.3.0-rc.2/docs/examples/example-example102/index-production.html
new file mode 100644
index 0000000000..9ab83b0dce
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example102/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example102-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example102/index.html b/1.3.0-rc.2/docs/examples/example-example102/index.html
new file mode 100644
index 0000000000..c9008afc44
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example102/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example102
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example102/manifest.json b/1.3.0-rc.2/docs/examples/example-example102/manifest.json
new file mode 100644
index 0000000000..d9f1b45407
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example102/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example102",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example102/script.js b/1.3.0-rc.2/docs/examples/example-example102/script.js
new file mode 100644
index 0000000000..6cae276c92
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example102/script.js
@@ -0,0 +1,4 @@
+ angular.module('customTriggerExample', [])
+ .controller('ExampleController', ['$scope', function($scope) {
+ $scope.user = {};
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example103/index-debug.html b/1.3.0-rc.2/docs/examples/example-example103/index-debug.html
new file mode 100644
index 0000000000..1237d093f9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example103/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example103-debug
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
username = "{{user.name}}"
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example103/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example103/index-jquery.html
new file mode 100644
index 0000000000..10192ec0db
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example103/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example103-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
username = "{{user.name}}"
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example103/index-production.html b/1.3.0-rc.2/docs/examples/example-example103/index-production.html
new file mode 100644
index 0000000000..831a7a8d7d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example103/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example103-production
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
username = "{{user.name}}"
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example103/index.html b/1.3.0-rc.2/docs/examples/example-example103/index.html
new file mode 100644
index 0000000000..576b8f7afd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example103/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example103
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
username = "{{user.name}}"
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example103/manifest.json b/1.3.0-rc.2/docs/examples/example-example103/manifest.json
new file mode 100644
index 0000000000..05759b4f0a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example103/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example103",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example103/script.js b/1.3.0-rc.2/docs/examples/example-example103/script.js
new file mode 100644
index 0000000000..27f8805e1b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example103/script.js
@@ -0,0 +1,4 @@
+ angular.module('debounceExample', [])
+ .controller('ExampleController', ['$scope', function($scope) {
+ $scope.user = {};
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example104/index-debug.html b/1.3.0-rc.2/docs/examples/example-example104/index-debug.html
new file mode 100644
index 0000000000..20c3944790
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example104/index-debug.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-example104-debug
+
+
+
+
+
+
+
+
+
+
+
+ Size (integer 0 - 10):
+ {{size}}
+ This is not valid integer!
+
+ The value must be in range 0 to 10!
+
+
+
+ Length (float):
+
+ {{length}}
+
+ This is not a valid float number!
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example104/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example104/index-jquery.html
new file mode 100644
index 0000000000..d431db087e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example104/index-jquery.html
@@ -0,0 +1,35 @@
+
+
+
+
+ Example - example-example104-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Size (integer 0 - 10):
+ {{size}}
+ This is not valid integer!
+
+ The value must be in range 0 to 10!
+
+
+
+ Length (float):
+
+ {{length}}
+
+ This is not a valid float number!
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example104/index-production.html b/1.3.0-rc.2/docs/examples/example-example104/index-production.html
new file mode 100644
index 0000000000..9a70546313
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example104/index-production.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-example104-production
+
+
+
+
+
+
+
+
+
+
+
+ Size (integer 0 - 10):
+ {{size}}
+ This is not valid integer!
+
+ The value must be in range 0 to 10!
+
+
+
+ Length (float):
+
+ {{length}}
+
+ This is not a valid float number!
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example104/index.html b/1.3.0-rc.2/docs/examples/example-example104/index.html
new file mode 100644
index 0000000000..2f8e19e3aa
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example104/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-example104
+
+
+
+
+
+
+
+
+
+
+
+ Size (integer 0 - 10):
+ {{size}}
+ This is not valid integer!
+
+ The value must be in range 0 to 10!
+
+
+
+ Length (float):
+
+ {{length}}
+
+ This is not a valid float number!
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example104/manifest.json b/1.3.0-rc.2/docs/examples/example-example104/manifest.json
new file mode 100644
index 0000000000..7c0e5a0530
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example104/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example104",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example104/script.js b/1.3.0-rc.2/docs/examples/example-example104/script.js
new file mode 100644
index 0000000000..91a29d63eb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example104/script.js
@@ -0,0 +1,39 @@
+ var app = angular.module('form-example1', []);
+
+ var INTEGER_REGEXP = /^\-?\d+$/;
+ app.directive('integer', function() {
+ return {
+ require: 'ngModel',
+ link: function(scope, elm, attrs, ctrl) {
+ ctrl.$parsers.unshift(function(viewValue) {
+ if (INTEGER_REGEXP.test(viewValue)) {
+ // it is valid
+ ctrl.$setValidity('integer', true);
+ return viewValue;
+ } else {
+ // it is invalid, return undefined (no model update)
+ ctrl.$setValidity('integer', false);
+ return undefined;
+ }
+ });
+ }
+ };
+ });
+
+ var FLOAT_REGEXP = /^\-?\d+((\.|\,)\d+)?$/;
+ app.directive('smartFloat', function() {
+ return {
+ require: 'ngModel',
+ link: function(scope, elm, attrs, ctrl) {
+ ctrl.$parsers.unshift(function(viewValue) {
+ if (FLOAT_REGEXP.test(viewValue)) {
+ ctrl.$setValidity('float', true);
+ return parseFloat(viewValue.replace(',', '.'));
+ } else {
+ ctrl.$setValidity('float', false);
+ return undefined;
+ }
+ });
+ }
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example105/index-debug.html b/1.3.0-rc.2/docs/examples/example-example105/index-debug.html
new file mode 100644
index 0000000000..f2902ac804
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example105/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example105-debug
+
+
+
+
+
+
+
+
+
+ Some
+ model = {{content}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example105/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example105/index-jquery.html
new file mode 100644
index 0000000000..82e9224c9a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example105/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example105-jquery
+
+
+
+
+
+
+
+
+
+
+ Some
+ model = {{content}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example105/index-production.html b/1.3.0-rc.2/docs/examples/example-example105/index-production.html
new file mode 100644
index 0000000000..4950a6a5b6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example105/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example105-production
+
+
+
+
+
+
+
+
+
+ Some
+ model = {{content}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example105/index.html b/1.3.0-rc.2/docs/examples/example-example105/index.html
new file mode 100644
index 0000000000..d61e051263
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example105/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example105
+
+
+
+
+
+
+
+
+
+ Some
+ model = {{content}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example105/manifest.json b/1.3.0-rc.2/docs/examples/example-example105/manifest.json
new file mode 100644
index 0000000000..4372ed63be
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example105/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example105",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example105/script.js b/1.3.0-rc.2/docs/examples/example-example105/script.js
new file mode 100644
index 0000000000..0487d87bdf
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example105/script.js
@@ -0,0 +1,21 @@
+ angular.module('form-example2', []).directive('contenteditable', function() {
+ return {
+ require: 'ngModel',
+ link: function(scope, elm, attrs, ctrl) {
+ // view -> model
+ elm.on('blur', function() {
+ scope.$apply(function() {
+ ctrl.$setViewValue(elm.html());
+ });
+ });
+
+ // model -> view
+ ctrl.$render = function() {
+ elm.html(ctrl.$viewValue);
+ };
+
+ // load init value from DOM
+ ctrl.$setViewValue(elm.html());
+ }
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example106/index-debug.html b/1.3.0-rc.2/docs/examples/example-example106/index-debug.html
new file mode 100644
index 0000000000..7a19810621
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example106/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example106-debug
+
+
+
+
+
+
+
+
+
+
+
+ {{ 'World' | greet }}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example106/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example106/index-jquery.html
new file mode 100644
index 0000000000..a8bad10baa
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example106/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example106-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 'World' | greet }}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example106/index-production.html b/1.3.0-rc.2/docs/examples/example-example106/index-production.html
new file mode 100644
index 0000000000..3e5572af64
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example106/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example106-production
+
+
+
+
+
+
+
+
+
+
+
+ {{ 'World' | greet }}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example106/index.html b/1.3.0-rc.2/docs/examples/example-example106/index.html
new file mode 100644
index 0000000000..4942d80257
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example106/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example106
+
+
+
+
+
+
+
+
+
+
+
+ {{ 'World' | greet }}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example106/manifest.json b/1.3.0-rc.2/docs/examples/example-example106/manifest.json
new file mode 100644
index 0000000000..5703532681
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example106/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example106",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example106/protractor.js b/1.3.0-rc.2/docs/examples/example-example106/protractor.js
new file mode 100644
index 0000000000..a3c96cf92f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example106/protractor.js
@@ -0,0 +1,3 @@
+ it('should add Hello to the name', function() {
+ expect(element(by.binding("'World' | greet")).getText()).toEqual('Hello, World!');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example106/script.js b/1.3.0-rc.2/docs/examples/example-example106/script.js
new file mode 100644
index 0000000000..7a2bb6a413
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example106/script.js
@@ -0,0 +1,10 @@
+ // declare a module
+ var myAppModule = angular.module('myApp', []);
+
+ // configure the module.
+ // in this example we will create a greeting filter
+ myAppModule.filter('greet', function() {
+ return function(name) {
+ return 'Hello, ' + name + '!';
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example107/index-debug.html b/1.3.0-rc.2/docs/examples/example-example107/index-debug.html
new file mode 100644
index 0000000000..fef1e0e507
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example107/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example107-debug
+
+
+
+
+
+
+
+
+
+
+ {{ greeting }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example107/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example107/index-jquery.html
new file mode 100644
index 0000000000..1b061971e1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example107/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example107-jquery
+
+
+
+
+
+
+
+
+
+
+
+ {{ greeting }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example107/index-production.html b/1.3.0-rc.2/docs/examples/example-example107/index-production.html
new file mode 100644
index 0000000000..b7ff954bd5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example107/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example107-production
+
+
+
+
+
+
+
+
+
+
+ {{ greeting }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example107/index.html b/1.3.0-rc.2/docs/examples/example-example107/index.html
new file mode 100644
index 0000000000..834a3c1de5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example107/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example107
+
+
+
+
+
+
+
+
+
+
+ {{ greeting }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example107/manifest.json b/1.3.0-rc.2/docs/examples/example-example107/manifest.json
new file mode 100644
index 0000000000..49e9900e4e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example107/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example107",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example107/protractor.js b/1.3.0-rc.2/docs/examples/example-example107/protractor.js
new file mode 100644
index 0000000000..e76228d236
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example107/protractor.js
@@ -0,0 +1,3 @@
+ it('should add Hello to the name', function() {
+ expect(element(by.binding("greeting")).getText()).toEqual('Bonjour World!');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example107/script.js b/1.3.0-rc.2/docs/examples/example-example107/script.js
new file mode 100644
index 0000000000..1ba616ac8c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example107/script.js
@@ -0,0 +1,35 @@
+ angular.module('xmpl.service', [])
+
+ .value('greeter', {
+ salutation: 'Hello',
+ localize: function(localization) {
+ this.salutation = localization.salutation;
+ },
+ greet: function(name) {
+ return this.salutation + ' ' + name + '!';
+ }
+ })
+
+ .value('user', {
+ load: function(name) {
+ this.name = name;
+ }
+ });
+
+ angular.module('xmpl.directive', []);
+
+ angular.module('xmpl.filter', []);
+
+ angular.module('xmpl', ['xmpl.service', 'xmpl.directive', 'xmpl.filter'])
+
+ .run(function(greeter, user) {
+ // This is effectively part of the main method initialization code
+ greeter.localize({
+ salutation: 'Bonjour'
+ });
+ user.load('World');
+ })
+
+ .controller('XmplController', function($scope, greeter, user){
+ $scope.greeting = greeter.greet(user.name);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example108/index-debug.html b/1.3.0-rc.2/docs/examples/example-example108/index-debug.html
new file mode 100644
index 0000000000..ea69ee5e2b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example108/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example108-debug
+
+
+
+
+
+
+
+
+
+
+ Your name:
+
+ greet
+
+ {{greeting}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example108/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example108/index-jquery.html
new file mode 100644
index 0000000000..92fdae77f3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example108/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example108-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Your name:
+
+ greet
+
+ {{greeting}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example108/index-production.html b/1.3.0-rc.2/docs/examples/example-example108/index-production.html
new file mode 100644
index 0000000000..6ec118d3fa
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example108/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example108-production
+
+
+
+
+
+
+
+
+
+
+ Your name:
+
+ greet
+
+ {{greeting}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example108/index.html b/1.3.0-rc.2/docs/examples/example-example108/index.html
new file mode 100644
index 0000000000..ee45f8e755
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example108/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example108
+
+
+
+
+
+
+
+
+
+
+ Your name:
+
+ greet
+
+ {{greeting}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example108/manifest.json b/1.3.0-rc.2/docs/examples/example-example108/manifest.json
new file mode 100644
index 0000000000..dcb9f8d813
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example108/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example108",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example108/script.js b/1.3.0-rc.2/docs/examples/example-example108/script.js
new file mode 100644
index 0000000000..301f01e5a4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example108/script.js
@@ -0,0 +1,8 @@
+ angular.module('scopeExample', [])
+ .controller('MyController', ['$scope', function($scope) {
+ $scope.username = 'World';
+
+ $scope.sayHello = function() {
+ $scope.greeting = 'Hello ' + $scope.username + '!';
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example109/index-debug.html b/1.3.0-rc.2/docs/examples/example-example109/index-debug.html
new file mode 100644
index 0000000000..5c86a6c698
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example109/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example109-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello {{name}}!
+
+
+
+ {{name}} from {{department}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example109/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example109/index-jquery.html
new file mode 100644
index 0000000000..0c204be44b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example109/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example109-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello {{name}}!
+
+
+
+ {{name}} from {{department}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example109/index-production.html b/1.3.0-rc.2/docs/examples/example-example109/index-production.html
new file mode 100644
index 0000000000..a661a95ee1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example109/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example109-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello {{name}}!
+
+
+
+ {{name}} from {{department}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example109/index.html b/1.3.0-rc.2/docs/examples/example-example109/index.html
new file mode 100644
index 0000000000..7148fb7632
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example109/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example109
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello {{name}}!
+
+
+
+ {{name}} from {{department}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example109/manifest.json b/1.3.0-rc.2/docs/examples/example-example109/manifest.json
new file mode 100644
index 0000000000..78d2be6087
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example109/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example109",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "style.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example109/script.js b/1.3.0-rc.2/docs/examples/example-example109/script.js
new file mode 100644
index 0000000000..d37dabc30f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example109/script.js
@@ -0,0 +1,8 @@
+ angular.module('scopeExample', [])
+ .controller('GreetController', ['$scope', '$rootScope', function($scope, $rootScope) {
+ $scope.name = 'World';
+ $rootScope.department = 'Angular';
+ }])
+ .controller('ListController', ['$scope', function($scope) {
+ $scope.names = ['Igor', 'Misko', 'Vojta'];
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example109/style.css b/1.3.0-rc.2/docs/examples/example-example109/style.css
new file mode 100644
index 0000000000..d2a95564e1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example109/style.css
@@ -0,0 +1,5 @@
+ .show-scope-demo.ng-scope,
+ .show-scope-demo .ng-scope {
+ border: 1px solid red;
+ margin: 3px;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example11/index-debug.html b/1.3.0-rc.2/docs/examples/example-example11/index-debug.html
new file mode 100644
index 0000000000..bd495246c1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example11/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example11-debug
+
+
+
+
+
+
+
+
+ Check me check multiple:
+
+ Show/Hide me
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example11/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example11/index-jquery.html
new file mode 100644
index 0000000000..a15a4128eb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example11/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example11-jquery
+
+
+
+
+
+
+
+
+
+ Check me check multiple:
+
+ Show/Hide me
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example11/index-production.html b/1.3.0-rc.2/docs/examples/example-example11/index-production.html
new file mode 100644
index 0000000000..e2424ec491
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example11/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example11-production
+
+
+
+
+
+
+
+
+ Check me check multiple:
+
+ Show/Hide me
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example11/index.html b/1.3.0-rc.2/docs/examples/example-example11/index.html
new file mode 100644
index 0000000000..f9ad71e684
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example11/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example11
+
+
+
+
+
+
+
+
+ Check me check multiple:
+
+ Show/Hide me
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example11/manifest.json b/1.3.0-rc.2/docs/examples/example-example11/manifest.json
new file mode 100644
index 0000000000..b89b9da768
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example11/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example11",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example11/protractor.js b/1.3.0-rc.2/docs/examples/example-example11/protractor.js
new file mode 100644
index 0000000000..1f2c684ba9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example11/protractor.js
@@ -0,0 +1,5 @@
+ it('should toggle open', function() {
+ expect(element(by.id('details')).getAttribute('open')).toBeFalsy();
+ element(by.model('open')).click();
+ expect(element(by.id('details')).getAttribute('open')).toBeTruthy();
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example110/index-debug.html b/1.3.0-rc.2/docs/examples/example-example110/index-debug.html
new file mode 100644
index 0000000000..a9e448114a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example110/index-debug.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example110-debug
+
+
+
+
+
+
+
+
+
+
+ Root scope
MyEvent count: {{count}}
+
+
+ $emit('MyEvent')
+ $broadcast('MyEvent')
+
+ Middle scope MyEvent count: {{count}}
+
+
+ Leaf scope MyEvent count: {{count}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example110/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example110/index-jquery.html
new file mode 100644
index 0000000000..80f41a6bb4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example110/index-jquery.html
@@ -0,0 +1,33 @@
+
+
+
+
+ Example - example-example110-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Root scope
MyEvent count: {{count}}
+
+
+ $emit('MyEvent')
+ $broadcast('MyEvent')
+
+ Middle scope MyEvent count: {{count}}
+
+
+ Leaf scope MyEvent count: {{count}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example110/index-production.html b/1.3.0-rc.2/docs/examples/example-example110/index-production.html
new file mode 100644
index 0000000000..c6ee09bdee
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example110/index-production.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example110-production
+
+
+
+
+
+
+
+
+
+
+ Root scope
MyEvent count: {{count}}
+
+
+ $emit('MyEvent')
+ $broadcast('MyEvent')
+
+ Middle scope MyEvent count: {{count}}
+
+
+ Leaf scope MyEvent count: {{count}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example110/index.html b/1.3.0-rc.2/docs/examples/example-example110/index.html
new file mode 100644
index 0000000000..41507036fe
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example110/index.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example110
+
+
+
+
+
+
+
+
+
+
+ Root scope
MyEvent count: {{count}}
+
+
+ $emit('MyEvent')
+ $broadcast('MyEvent')
+
+ Middle scope MyEvent count: {{count}}
+
+
+ Leaf scope MyEvent count: {{count}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example110/manifest.json b/1.3.0-rc.2/docs/examples/example-example110/manifest.json
new file mode 100644
index 0000000000..437cd7875b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example110/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example110",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example110/script.js b/1.3.0-rc.2/docs/examples/example-example110/script.js
new file mode 100644
index 0000000000..a8eb7f9872
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example110/script.js
@@ -0,0 +1,7 @@
+ angular.module('eventExample', [])
+ .controller('EventController', ['$scope', function($scope) {
+ $scope.count = 0;
+ $scope.$on('MyEvent', function() {
+ $scope.count++;
+ });
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example111/index-debug.html b/1.3.0-rc.2/docs/examples/example-example111/index-debug.html
new file mode 100644
index 0000000000..e2eff286b2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example111/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example111-debug
+
+
+
+
+
+
+
+
+
+
+
Let's try this simple notify service, injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example111/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example111/index-jquery.html
new file mode 100644
index 0000000000..69fa828aed
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example111/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example111-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Let's try this simple notify service, injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example111/index-production.html b/1.3.0-rc.2/docs/examples/example-example111/index-production.html
new file mode 100644
index 0000000000..113bbcd7d8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example111/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example111-production
+
+
+
+
+
+
+
+
+
+
+
Let's try this simple notify service, injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example111/index.html b/1.3.0-rc.2/docs/examples/example-example111/index.html
new file mode 100644
index 0000000000..a112e7768c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example111/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example111
+
+
+
+
+
+
+
+
+
+
+
Let's try this simple notify service, injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example111/manifest.json b/1.3.0-rc.2/docs/examples/example-example111/manifest.json
new file mode 100644
index 0000000000..1136e7baed
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example111/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example111",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example111/protractor.js b/1.3.0-rc.2/docs/examples/example-example111/protractor.js
new file mode 100644
index 0000000000..943e356ace
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example111/protractor.js
@@ -0,0 +1,4 @@
+ it('should test service', function() {
+ expect(element(by.id('simple')).element(by.model('message')).getAttribute('value'))
+ .toEqual('test');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example111/script.js b/1.3.0-rc.2/docs/examples/example-example111/script.js
new file mode 100644
index 0000000000..12aabc558a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example111/script.js
@@ -0,0 +1,17 @@
+ angular.
+ module('myServiceModule', []).
+ controller('MyController', ['$scope','notify', function ($scope, notify) {
+ $scope.callNotify = function(msg) {
+ notify(msg);
+ };
+ }]).
+ factory('notify', ['$window', function(win) {
+ var msgs = [];
+ return function(msg) {
+ msgs.push(msg);
+ if (msgs.length == 3) {
+ win.alert(msgs.join("\n"));
+ msgs = [];
+ }
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example112/index-debug.html b/1.3.0-rc.2/docs/examples/example-example112/index-debug.html
new file mode 100644
index 0000000000..3df48a100f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example112/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example112-debug
+
+
+
+
+
+
+
+
+
+
+
Let's try the notify service, that is implicitly injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example112/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example112/index-jquery.html
new file mode 100644
index 0000000000..4f499332a7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example112/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example112-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Let's try the notify service, that is implicitly injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example112/index-production.html b/1.3.0-rc.2/docs/examples/example-example112/index-production.html
new file mode 100644
index 0000000000..1a4c2b0ee4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example112/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example112-production
+
+
+
+
+
+
+
+
+
+
+
Let's try the notify service, that is implicitly injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example112/index.html b/1.3.0-rc.2/docs/examples/example-example112/index.html
new file mode 100644
index 0000000000..41ad0fec5a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example112/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example112
+
+
+
+
+
+
+
+
+
+
+
Let's try the notify service, that is implicitly injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example112/manifest.json b/1.3.0-rc.2/docs/examples/example-example112/manifest.json
new file mode 100644
index 0000000000..1f548aced7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example112/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example112",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example112/script.js b/1.3.0-rc.2/docs/examples/example-example112/script.js
new file mode 100644
index 0000000000..bee4e0ef63
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example112/script.js
@@ -0,0 +1,16 @@
+ angular.module('myServiceModuleDI', []).
+ factory('notify', function($window) {
+ var msgs = [];
+ return function(msg) {
+ msgs.push(msg);
+ if (msgs.length == 3) {
+ $window.alert(msgs.join("\n"));
+ msgs = [];
+ }
+ };
+ }).
+ controller('MyController', function($scope, notify) {
+ $scope.callNotify = function(msg) {
+ notify(msg);
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example12/index-debug.html b/1.3.0-rc.2/docs/examples/example-example12/index-debug.html
new file mode 100644
index 0000000000..abed039f0f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example12/index-debug.html
@@ -0,0 +1,43 @@
+
+
+
+
+ Example - example-example12-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ userType:
+ Required!
+ userType = {{userType}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example12/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example12/index-jquery.html
new file mode 100644
index 0000000000..8d8e5a674c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example12/index-jquery.html
@@ -0,0 +1,44 @@
+
+
+
+
+ Example - example-example12-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ userType:
+ Required!
+ userType = {{userType}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example12/index-production.html b/1.3.0-rc.2/docs/examples/example-example12/index-production.html
new file mode 100644
index 0000000000..81eae33665
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example12/index-production.html
@@ -0,0 +1,43 @@
+
+
+
+
+ Example - example-example12-production
+
+
+
+
+
+
+
+
+
+
+
+
+ userType:
+ Required!
+ userType = {{userType}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example12/index.html b/1.3.0-rc.2/docs/examples/example-example12/index.html
new file mode 100644
index 0000000000..0803e6ee2d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example12/index.html
@@ -0,0 +1,43 @@
+
+
+
+
+ Example - example-example12
+
+
+
+
+
+
+
+
+
+
+
+
+ userType:
+ Required!
+ userType = {{userType}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example12/manifest.json b/1.3.0-rc.2/docs/examples/example-example12/manifest.json
new file mode 100644
index 0000000000..7f1b7324ce
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example12/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example12",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example12/protractor.js b/1.3.0-rc.2/docs/examples/example-example12/protractor.js
new file mode 100644
index 0000000000..4e686d9498
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example12/protractor.js
@@ -0,0 +1,19 @@
+ it('should initialize to model', function() {
+ var userType = element(by.binding('userType'));
+ var valid = element(by.binding('myForm.input.$valid'));
+
+ expect(userType.getText()).toContain('guest');
+ expect(valid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty', function() {
+ var userType = element(by.binding('userType'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var userInput = element(by.model('userType'));
+
+ userInput.clear();
+ userInput.sendKeys('');
+
+ expect(userType.getText()).toEqual('userType =');
+ expect(valid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example13/index-debug.html b/1.3.0-rc.2/docs/examples/example-example13/index-debug.html
new file mode 100644
index 0000000000..2de3009390
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example13/index-debug.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example13-debug
+
+
+
+
+
+
+
+
+
+
+
+ Update input to see transitions when valid/invalid.
+ Integer is a valid value.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example13/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example13/index-jquery.html
new file mode 100644
index 0000000000..36c5859754
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example13/index-jquery.html
@@ -0,0 +1,41 @@
+
+
+
+
+ Example - example-example13-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Update input to see transitions when valid/invalid.
+ Integer is a valid value.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example13/index-production.html b/1.3.0-rc.2/docs/examples/example-example13/index-production.html
new file mode 100644
index 0000000000..fb0fd184e0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example13/index-production.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example13-production
+
+
+
+
+
+
+
+
+
+
+
+ Update input to see transitions when valid/invalid.
+ Integer is a valid value.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example13/index.html b/1.3.0-rc.2/docs/examples/example-example13/index.html
new file mode 100644
index 0000000000..712ab1a8b0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example13/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example13
+
+
+
+
+
+
+
+
+
+
+
+ Update input to see transitions when valid/invalid.
+ Integer is a valid value.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example13/manifest.json b/1.3.0-rc.2/docs/examples/example-example13/manifest.json
new file mode 100644
index 0000000000..27efa67bde
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example13/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example13",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example14/index-debug.html b/1.3.0-rc.2/docs/examples/example-example14/index-debug.html
new file mode 100644
index 0000000000..42e4c6484b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example14/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example14-debug
+
+
+
+
+
+
+
+
+
+
+ Enter name:
+ Hello !
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example14/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example14/index-jquery.html
new file mode 100644
index 0000000000..5b92de0e73
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example14/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example14-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Enter name:
+ Hello !
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example14/index-production.html b/1.3.0-rc.2/docs/examples/example-example14/index-production.html
new file mode 100644
index 0000000000..4e202f56c6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example14/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example14-production
+
+
+
+
+
+
+
+
+
+
+ Enter name:
+ Hello !
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example14/index.html b/1.3.0-rc.2/docs/examples/example-example14/index.html
new file mode 100644
index 0000000000..ac015fc70d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example14/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example14
+
+
+
+
+
+
+
+
+
+
+ Enter name:
+ Hello !
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example14/manifest.json b/1.3.0-rc.2/docs/examples/example-example14/manifest.json
new file mode 100644
index 0000000000..6276328e40
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example14/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example14",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example14/protractor.js b/1.3.0-rc.2/docs/examples/example-example14/protractor.js
new file mode 100644
index 0000000000..5cc9209d2a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example14/protractor.js
@@ -0,0 +1,8 @@
+ it('should check ng-bind', function() {
+ var nameInput = element(by.model('name'));
+
+ expect(element(by.binding('name')).getText()).toBe('Whirled');
+ nameInput.clear();
+ nameInput.sendKeys('world');
+ expect(element(by.binding('name')).getText()).toBe('world');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example15/index-debug.html b/1.3.0-rc.2/docs/examples/example-example15/index-debug.html
new file mode 100644
index 0000000000..305be7ef9d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example15/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example15-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example15/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example15/index-jquery.html
new file mode 100644
index 0000000000..53170d262d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example15/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example15-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example15/index-production.html b/1.3.0-rc.2/docs/examples/example-example15/index-production.html
new file mode 100644
index 0000000000..d1b1450e09
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example15/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example15-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example15/index.html b/1.3.0-rc.2/docs/examples/example-example15/index.html
new file mode 100644
index 0000000000..5a6925a58b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example15/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example15
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example15/manifest.json b/1.3.0-rc.2/docs/examples/example-example15/manifest.json
new file mode 100644
index 0000000000..2451a1008a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example15/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example15",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example15/protractor.js b/1.3.0-rc.2/docs/examples/example-example15/protractor.js
new file mode 100644
index 0000000000..a7436ba95f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example15/protractor.js
@@ -0,0 +1,14 @@
+ it('should check ng-bind', function() {
+ var salutationElem = element(by.binding('salutation'));
+ var salutationInput = element(by.model('salutation'));
+ var nameInput = element(by.model('name'));
+
+ expect(salutationElem.getText()).toBe('Hello World!');
+
+ salutationInput.clear();
+ salutationInput.sendKeys('Greetings');
+ nameInput.clear();
+ nameInput.sendKeys('user');
+
+ expect(salutationElem.getText()).toBe('Greetings user!');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example16/index-debug.html b/1.3.0-rc.2/docs/examples/example-example16/index-debug.html
new file mode 100644
index 0000000000..e5d605b8ae
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example16/index-debug.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example16-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example16/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example16/index-jquery.html
new file mode 100644
index 0000000000..e5e3697a12
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example16/index-jquery.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example16-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example16/index-production.html b/1.3.0-rc.2/docs/examples/example-example16/index-production.html
new file mode 100644
index 0000000000..f7fcbff5ca
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example16/index-production.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example16-production
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example16/index.html b/1.3.0-rc.2/docs/examples/example-example16/index.html
new file mode 100644
index 0000000000..380dd67044
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example16/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example16
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example16/manifest.json b/1.3.0-rc.2/docs/examples/example-example16/manifest.json
new file mode 100644
index 0000000000..1dc1cd207d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example16/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example16",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example16/protractor.js b/1.3.0-rc.2/docs/examples/example-example16/protractor.js
new file mode 100644
index 0000000000..46c0353305
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example16/protractor.js
@@ -0,0 +1,4 @@
+ it('should check ng-bind-html', function() {
+ expect(element(by.binding('myHTML')).getText()).toBe(
+ 'I am an HTMLstring with links! and other stuff');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example16/script.js b/1.3.0-rc.2/docs/examples/example-example16/script.js
new file mode 100644
index 0000000000..4053dfcc38
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example16/script.js
@@ -0,0 +1,6 @@
+ angular.module('bindHtmlExample', ['ngSanitize'])
+ .controller('ExampleController', ['$scope', function($scope) {
+ $scope.myHTML =
+ 'I am an HTML
string with ' +
+ 'links! and other stuff ';
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example17/index-debug.html b/1.3.0-rc.2/docs/examples/example-example17/index-debug.html
new file mode 100644
index 0000000000..5ebf9dc1e8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example17/index-debug.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example17-debug
+
+
+
+
+
+
+
+
+
+ Map Syntax Example
+ deleted (apply "strike" class)
+ important (apply "bold" class)
+ error (apply "red" class)
+
+ Using String Syntax
+
+
+ Using Array Syntax
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example17/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example17/index-jquery.html
new file mode 100644
index 0000000000..09b26e805a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example17/index-jquery.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-example17-jquery
+
+
+
+
+
+
+
+
+
+
+ Map Syntax Example
+ deleted (apply "strike" class)
+ important (apply "bold" class)
+ error (apply "red" class)
+
+ Using String Syntax
+
+
+ Using Array Syntax
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example17/index-production.html b/1.3.0-rc.2/docs/examples/example-example17/index-production.html
new file mode 100644
index 0000000000..58159e01cb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example17/index-production.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example17-production
+
+
+
+
+
+
+
+
+
+ Map Syntax Example
+ deleted (apply "strike" class)
+ important (apply "bold" class)
+ error (apply "red" class)
+
+ Using String Syntax
+
+
+ Using Array Syntax
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example17/index.html b/1.3.0-rc.2/docs/examples/example-example17/index.html
new file mode 100644
index 0000000000..b66190f623
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example17/index.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example17
+
+
+
+
+
+
+
+
+
+ Map Syntax Example
+ deleted (apply "strike" class)
+ important (apply "bold" class)
+ error (apply "red" class)
+
+ Using String Syntax
+
+
+ Using Array Syntax
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example17/manifest.json b/1.3.0-rc.2/docs/examples/example-example17/manifest.json
new file mode 100644
index 0000000000..fa087d38da
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example17/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example17",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example17/protractor.js b/1.3.0-rc.2/docs/examples/example-example17/protractor.js
new file mode 100644
index 0000000000..1f8ea4c64e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example17/protractor.js
@@ -0,0 +1,28 @@
+ var ps = element.all(by.css('p'));
+
+ it('should let you toggle the class', function() {
+
+ expect(ps.first().getAttribute('class')).not.toMatch(/bold/);
+ expect(ps.first().getAttribute('class')).not.toMatch(/red/);
+
+ element(by.model('important')).click();
+ expect(ps.first().getAttribute('class')).toMatch(/bold/);
+
+ element(by.model('error')).click();
+ expect(ps.first().getAttribute('class')).toMatch(/red/);
+ });
+
+ it('should let you toggle string example', function() {
+ expect(ps.get(1).getAttribute('class')).toBe('');
+ element(by.model('style')).clear();
+ element(by.model('style')).sendKeys('red');
+ expect(ps.get(1).getAttribute('class')).toBe('red');
+ });
+
+ it('array example should have 3 classes', function() {
+ expect(ps.last().getAttribute('class')).toBe('');
+ element(by.model('style1')).sendKeys('bold');
+ element(by.model('style2')).sendKeys('strike');
+ element(by.model('style3')).sendKeys('red');
+ expect(ps.last().getAttribute('class')).toBe('bold strike red');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example17/style.css b/1.3.0-rc.2/docs/examples/example-example17/style.css
new file mode 100644
index 0000000000..f3d75e0a41
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example17/style.css
@@ -0,0 +1,9 @@
+ .strike {
+ text-decoration: line-through;
+ }
+ .bold {
+ font-weight: bold;
+ }
+ .red {
+ color: red;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example18/index-debug.html b/1.3.0-rc.2/docs/examples/example-example18/index-debug.html
new file mode 100644
index 0000000000..1e72055560
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example18/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example18-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example18/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example18/index-jquery.html
new file mode 100644
index 0000000000..f0f8b445ba
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example18/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example18-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example18/index-production.html b/1.3.0-rc.2/docs/examples/example-example18/index-production.html
new file mode 100644
index 0000000000..b6f5f6de1a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example18/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example18-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example18/index.html b/1.3.0-rc.2/docs/examples/example-example18/index.html
new file mode 100644
index 0000000000..dcbe93df03
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example18/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example18
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example18/manifest.json b/1.3.0-rc.2/docs/examples/example-example18/manifest.json
new file mode 100644
index 0000000000..bb1d6d7d9c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example18/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example18",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example18/protractor.js b/1.3.0-rc.2/docs/examples/example-example18/protractor.js
new file mode 100644
index 0000000000..f3a5a82ed9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example18/protractor.js
@@ -0,0 +1,14 @@
+ it('should check ng-class', function() {
+ expect(element(by.css('.base-class')).getAttribute('class')).not.
+ toMatch(/my-class/);
+
+ element(by.id('setbtn')).click();
+
+ expect(element(by.css('.base-class')).getAttribute('class')).
+ toMatch(/my-class/);
+
+ element(by.id('clearbtn')).click();
+
+ expect(element(by.css('.base-class')).getAttribute('class')).not.
+ toMatch(/my-class/);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example18/style.css b/1.3.0-rc.2/docs/examples/example-example18/style.css
new file mode 100644
index 0000000000..2f3fa91244
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example18/style.css
@@ -0,0 +1,9 @@
+ .base-class {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ }
+
+ .base-class.my-class {
+ color: red;
+ font-size:3em;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example19/index-debug.html b/1.3.0-rc.2/docs/examples/example-example19/index-debug.html
new file mode 100644
index 0000000000..979b88d9bf
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example19/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example19-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example19/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example19/index-jquery.html
new file mode 100644
index 0000000000..c713e664c5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example19/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example19-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example19/index-production.html b/1.3.0-rc.2/docs/examples/example-example19/index-production.html
new file mode 100644
index 0000000000..dfa83ec5c0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example19/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example19-production
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example19/index.html b/1.3.0-rc.2/docs/examples/example-example19/index.html
new file mode 100644
index 0000000000..1036bd7f78
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example19/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example19
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example19/manifest.json b/1.3.0-rc.2/docs/examples/example-example19/manifest.json
new file mode 100644
index 0000000000..354b1f054d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example19/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example19",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example19/protractor.js b/1.3.0-rc.2/docs/examples/example-example19/protractor.js
new file mode 100644
index 0000000000..c44928632b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example19/protractor.js
@@ -0,0 +1,6 @@
+ it('should check ng-class-odd and ng-class-even', function() {
+ expect(element(by.repeater('name in names').row(0).column('name')).getAttribute('class')).
+ toMatch(/odd/);
+ expect(element(by.repeater('name in names').row(1).column('name')).getAttribute('class')).
+ toMatch(/even/);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example19/style.css b/1.3.0-rc.2/docs/examples/example-example19/style.css
new file mode 100644
index 0000000000..68949bf55d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example19/style.css
@@ -0,0 +1,6 @@
+ .odd {
+ color: red;
+ }
+ .even {
+ color: blue;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example2/index-debug.html b/1.3.0-rc.2/docs/examples/example-example2/index-debug.html
new file mode 100644
index 0000000000..40f64661aa
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example2/index-debug.html
@@ -0,0 +1,47 @@
+
+
+
+
+ Example - example-example2-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
This renders because the controller does not fail to
+ instantiate, by using explicit annotation style (see
+ script.js for details)
+
+
+
+
+ Name:
+ Hello, {{name}}!
+
+
This renders because the controller does not fail to
+ instantiate, by using explicit annotation style
+ (see script.js for details)
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
The controller could not be instantiated, due to relying
+ on automatic function annotations (which are disabled in
+ strict mode). As such, the content of this section is not
+ interpolated, and there should be an error in your web console.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example2/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example2/index-jquery.html
new file mode 100644
index 0000000000..2b69a55dbd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example2/index-jquery.html
@@ -0,0 +1,48 @@
+
+
+
+
+ Example - example-example2-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
This renders because the controller does not fail to
+ instantiate, by using explicit annotation style (see
+ script.js for details)
+
+
+
+
+ Name:
+ Hello, {{name}}!
+
+
This renders because the controller does not fail to
+ instantiate, by using explicit annotation style
+ (see script.js for details)
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
The controller could not be instantiated, due to relying
+ on automatic function annotations (which are disabled in
+ strict mode). As such, the content of this section is not
+ interpolated, and there should be an error in your web console.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example2/index-production.html b/1.3.0-rc.2/docs/examples/example-example2/index-production.html
new file mode 100644
index 0000000000..c5c6224190
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example2/index-production.html
@@ -0,0 +1,47 @@
+
+
+
+
+ Example - example-example2-production
+
+
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
This renders because the controller does not fail to
+ instantiate, by using explicit annotation style (see
+ script.js for details)
+
+
+
+
+ Name:
+ Hello, {{name}}!
+
+
This renders because the controller does not fail to
+ instantiate, by using explicit annotation style
+ (see script.js for details)
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
The controller could not be instantiated, due to relying
+ on automatic function annotations (which are disabled in
+ strict mode). As such, the content of this section is not
+ interpolated, and there should be an error in your web console.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example2/index.html b/1.3.0-rc.2/docs/examples/example-example2/index.html
new file mode 100644
index 0000000000..039f835816
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example2/index.html
@@ -0,0 +1,47 @@
+
+
+
+
+ Example - example-example2
+
+
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
This renders because the controller does not fail to
+ instantiate, by using explicit annotation style (see
+ script.js for details)
+
+
+
+
+ Name:
+ Hello, {{name}}!
+
+
This renders because the controller does not fail to
+ instantiate, by using explicit annotation style
+ (see script.js for details)
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
The controller could not be instantiated, due to relying
+ on automatic function annotations (which are disabled in
+ strict mode). As such, the content of this section is not
+ interpolated, and there should be an error in your web console.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example2/manifest.json b/1.3.0-rc.2/docs/examples/example-example2/manifest.json
new file mode 100644
index 0000000000..15c820feef
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example2/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example2",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "style.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example2/script.js b/1.3.0-rc.2/docs/examples/example-example2/script.js
new file mode 100644
index 0000000000..c5d9361c3f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example2/script.js
@@ -0,0 +1,18 @@
+angular.module('ngAppStrictDemo', [])
+ // BadController will fail to instantiate, due to relying on automatic function annotation,
+ // rather than an explicit annotation
+ .controller('BadController', function($scope) {
+ $scope.a = 1;
+ $scope.b = 2;
+ })
+ // Unlike BadController, GoodController1 and GoodController2 will not fail to be instantiated,
+ // due to using explicit annotations using the array style and $inject property, respectively.
+ .controller('GoodController1', ['$scope', function($scope) {
+ $scope.a = 1;
+ $scope.b = 2;
+ }])
+ .controller('GoodController2', GoodController2);
+ function GoodController2($scope) {
+ $scope.name = "World";
+ }
+ GoodController2.$inject = ['$scope'];
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example2/style.css b/1.3.0-rc.2/docs/examples/example-example2/style.css
new file mode 100644
index 0000000000..e8379bfdf7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example2/style.css
@@ -0,0 +1,18 @@
+div[ng-controller] {
+ margin-bottom: 1em;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
+ border: 1px solid;
+ padding: .5em;
+}
+div[ng-controller^=Good] {
+ border-color: #d6e9c6;
+ background-color: #dff0d8;
+ color: #3c763d;
+}
+div[ng-controller^=Bad] {
+ border-color: #ebccd1;
+ background-color: #f2dede;
+ color: #a94442;
+ margin-bottom: 0;
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example20/index-debug.html b/1.3.0-rc.2/docs/examples/example-example20/index-debug.html
new file mode 100644
index 0000000000..4855f6fa3c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example20/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example20-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example20/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example20/index-jquery.html
new file mode 100644
index 0000000000..db8a3867e0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example20/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example20-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example20/index-production.html b/1.3.0-rc.2/docs/examples/example-example20/index-production.html
new file mode 100644
index 0000000000..fc4cf65792
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example20/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example20-production
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example20/index.html b/1.3.0-rc.2/docs/examples/example-example20/index.html
new file mode 100644
index 0000000000..bd392e7dd8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example20/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example20
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example20/manifest.json b/1.3.0-rc.2/docs/examples/example-example20/manifest.json
new file mode 100644
index 0000000000..254eb178a3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example20/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example20",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example20/protractor.js b/1.3.0-rc.2/docs/examples/example-example20/protractor.js
new file mode 100644
index 0000000000..c44928632b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example20/protractor.js
@@ -0,0 +1,6 @@
+ it('should check ng-class-odd and ng-class-even', function() {
+ expect(element(by.repeater('name in names').row(0).column('name')).getAttribute('class')).
+ toMatch(/odd/);
+ expect(element(by.repeater('name in names').row(1).column('name')).getAttribute('class')).
+ toMatch(/even/);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example20/style.css b/1.3.0-rc.2/docs/examples/example-example20/style.css
new file mode 100644
index 0000000000..68949bf55d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example20/style.css
@@ -0,0 +1,6 @@
+ .odd {
+ color: red;
+ }
+ .even {
+ color: blue;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example21/index-debug.html b/1.3.0-rc.2/docs/examples/example-example21/index-debug.html
new file mode 100644
index 0000000000..3ee41f3e0d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example21/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example21-debug
+
+
+
+
+
+
+
+
+ {{ 'hello' }}
+ {{ 'hello IE7' }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example21/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example21/index-jquery.html
new file mode 100644
index 0000000000..6cdb1d2d6c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example21/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example21-jquery
+
+
+
+
+
+
+
+
+
+ {{ 'hello' }}
+ {{ 'hello IE7' }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example21/index-production.html b/1.3.0-rc.2/docs/examples/example-example21/index-production.html
new file mode 100644
index 0000000000..44604ec1c6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example21/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example21-production
+
+
+
+
+
+
+
+
+ {{ 'hello' }}
+ {{ 'hello IE7' }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example21/index.html b/1.3.0-rc.2/docs/examples/example-example21/index.html
new file mode 100644
index 0000000000..15c1abd744
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example21/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example21
+
+
+
+
+
+
+
+
+ {{ 'hello' }}
+ {{ 'hello IE7' }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example21/manifest.json b/1.3.0-rc.2/docs/examples/example-example21/manifest.json
new file mode 100644
index 0000000000..c82db91d49
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example21/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example21",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example21/protractor.js b/1.3.0-rc.2/docs/examples/example-example21/protractor.js
new file mode 100644
index 0000000000..1fd0ff5c17
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example21/protractor.js
@@ -0,0 +1,6 @@
+ it('should remove the template directive and css class', function() {
+ expect($('#template1').getAttribute('ng-cloak')).
+ toBeNull();
+ expect($('#template2').getAttribute('ng-cloak')).
+ toBeNull();
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example22/index-debug.html b/1.3.0-rc.2/docs/examples/example-example22/index-debug.html
new file mode 100644
index 0000000000..c8a4e3c4ad
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example22/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example22-debug
+
+
+
+
+
+
+
+
+
+ Increment
+
+
+ count: {{count}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example22/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example22/index-jquery.html
new file mode 100644
index 0000000000..65cbd1dd01
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example22/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example22-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment
+
+
+ count: {{count}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example22/index-production.html b/1.3.0-rc.2/docs/examples/example-example22/index-production.html
new file mode 100644
index 0000000000..e8d57a2c5d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example22/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example22-production
+
+
+
+
+
+
+
+
+
+ Increment
+
+
+ count: {{count}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example22/index.html b/1.3.0-rc.2/docs/examples/example-example22/index.html
new file mode 100644
index 0000000000..8a203fc702
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example22/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example22
+
+
+
+
+
+
+
+
+
+ Increment
+
+
+ count: {{count}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example22/manifest.json b/1.3.0-rc.2/docs/examples/example-example22/manifest.json
new file mode 100644
index 0000000000..9b0d8c33ad
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example22/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example22",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example22/protractor.js b/1.3.0-rc.2/docs/examples/example-example22/protractor.js
new file mode 100644
index 0000000000..88afa2fdb0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example22/protractor.js
@@ -0,0 +1,5 @@
+ it('should check ng-click', function() {
+ expect(element(by.binding('count')).getText()).toMatch('0');
+ element(by.css('button')).click();
+ expect(element(by.binding('count')).getText()).toMatch('1');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example23/index-debug.html b/1.3.0-rc.2/docs/examples/example-example23/index-debug.html
new file mode 100644
index 0000000000..f964bda169
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example23/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example23-debug
+
+
+
+
+
+
+
+
+
+ Increment (on double click)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example23/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example23/index-jquery.html
new file mode 100644
index 0000000000..c1e86e7e2c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example23/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example23-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (on double click)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example23/index-production.html b/1.3.0-rc.2/docs/examples/example-example23/index-production.html
new file mode 100644
index 0000000000..0185f03116
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example23/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example23-production
+
+
+
+
+
+
+
+
+
+ Increment (on double click)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example23/index.html b/1.3.0-rc.2/docs/examples/example-example23/index.html
new file mode 100644
index 0000000000..95964ad60c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example23/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example23
+
+
+
+
+
+
+
+
+
+ Increment (on double click)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example23/manifest.json b/1.3.0-rc.2/docs/examples/example-example23/manifest.json
new file mode 100644
index 0000000000..70c520a007
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example23/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example23",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example24/index-debug.html b/1.3.0-rc.2/docs/examples/example-example24/index-debug.html
new file mode 100644
index 0000000000..b8ea8f801c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example24/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example24-debug
+
+
+
+
+
+
+
+
+
+ Increment (on mouse down)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example24/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example24/index-jquery.html
new file mode 100644
index 0000000000..23065f49ab
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example24/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example24-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (on mouse down)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example24/index-production.html b/1.3.0-rc.2/docs/examples/example-example24/index-production.html
new file mode 100644
index 0000000000..6268f8e763
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example24/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example24-production
+
+
+
+
+
+
+
+
+
+ Increment (on mouse down)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example24/index.html b/1.3.0-rc.2/docs/examples/example-example24/index.html
new file mode 100644
index 0000000000..f4e42c764f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example24/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example24
+
+
+
+
+
+
+
+
+
+ Increment (on mouse down)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example24/manifest.json b/1.3.0-rc.2/docs/examples/example-example24/manifest.json
new file mode 100644
index 0000000000..31304f2a8b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example24/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example24",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example25/index-debug.html b/1.3.0-rc.2/docs/examples/example-example25/index-debug.html
new file mode 100644
index 0000000000..e439156f41
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example25/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example25-debug
+
+
+
+
+
+
+
+
+
+ Increment (on mouse up)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example25/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example25/index-jquery.html
new file mode 100644
index 0000000000..2f07bbf528
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example25/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example25-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (on mouse up)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example25/index-production.html b/1.3.0-rc.2/docs/examples/example-example25/index-production.html
new file mode 100644
index 0000000000..989c8af8ab
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example25/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example25-production
+
+
+
+
+
+
+
+
+
+ Increment (on mouse up)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example25/index.html b/1.3.0-rc.2/docs/examples/example-example25/index.html
new file mode 100644
index 0000000000..95768439fd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example25/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example25
+
+
+
+
+
+
+
+
+
+ Increment (on mouse up)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example25/manifest.json b/1.3.0-rc.2/docs/examples/example-example25/manifest.json
new file mode 100644
index 0000000000..827bc7b0f4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example25/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example25",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example26/index-debug.html b/1.3.0-rc.2/docs/examples/example-example26/index-debug.html
new file mode 100644
index 0000000000..5af0c03f03
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example26/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example26-debug
+
+
+
+
+
+
+
+
+
+ Increment (when mouse is over)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example26/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example26/index-jquery.html
new file mode 100644
index 0000000000..f8a12512be
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example26/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example26-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (when mouse is over)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example26/index-production.html b/1.3.0-rc.2/docs/examples/example-example26/index-production.html
new file mode 100644
index 0000000000..a667a6d71b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example26/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example26-production
+
+
+
+
+
+
+
+
+
+ Increment (when mouse is over)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example26/index.html b/1.3.0-rc.2/docs/examples/example-example26/index.html
new file mode 100644
index 0000000000..a31324821e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example26/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example26
+
+
+
+
+
+
+
+
+
+ Increment (when mouse is over)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example26/manifest.json b/1.3.0-rc.2/docs/examples/example-example26/manifest.json
new file mode 100644
index 0000000000..2b3b4c0530
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example26/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example26",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example27/index-debug.html b/1.3.0-rc.2/docs/examples/example-example27/index-debug.html
new file mode 100644
index 0000000000..1bae0120a7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example27/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example27-debug
+
+
+
+
+
+
+
+
+
+ Increment (when mouse enters)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example27/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example27/index-jquery.html
new file mode 100644
index 0000000000..8f0f61b8a7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example27/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example27-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (when mouse enters)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example27/index-production.html b/1.3.0-rc.2/docs/examples/example-example27/index-production.html
new file mode 100644
index 0000000000..716f48a0bd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example27/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example27-production
+
+
+
+
+
+
+
+
+
+ Increment (when mouse enters)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example27/index.html b/1.3.0-rc.2/docs/examples/example-example27/index.html
new file mode 100644
index 0000000000..444d376443
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example27/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example27
+
+
+
+
+
+
+
+
+
+ Increment (when mouse enters)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example27/manifest.json b/1.3.0-rc.2/docs/examples/example-example27/manifest.json
new file mode 100644
index 0000000000..1c3026f9b2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example27/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example27",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example28/index-debug.html b/1.3.0-rc.2/docs/examples/example-example28/index-debug.html
new file mode 100644
index 0000000000..76357aa42a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example28/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example28-debug
+
+
+
+
+
+
+
+
+
+ Increment (when mouse leaves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example28/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example28/index-jquery.html
new file mode 100644
index 0000000000..961fd46ab1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example28/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example28-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (when mouse leaves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example28/index-production.html b/1.3.0-rc.2/docs/examples/example-example28/index-production.html
new file mode 100644
index 0000000000..1936cf6d76
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example28/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example28-production
+
+
+
+
+
+
+
+
+
+ Increment (when mouse leaves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example28/index.html b/1.3.0-rc.2/docs/examples/example-example28/index.html
new file mode 100644
index 0000000000..f4141034d9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example28/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example28
+
+
+
+
+
+
+
+
+
+ Increment (when mouse leaves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example28/manifest.json b/1.3.0-rc.2/docs/examples/example-example28/manifest.json
new file mode 100644
index 0000000000..9a80d91245
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example28/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example28",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example29/index-debug.html b/1.3.0-rc.2/docs/examples/example-example29/index-debug.html
new file mode 100644
index 0000000000..b435713b71
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example29/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example29-debug
+
+
+
+
+
+
+
+
+
+ Increment (when mouse moves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example29/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example29/index-jquery.html
new file mode 100644
index 0000000000..e50452b13c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example29/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example29-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (when mouse moves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example29/index-production.html b/1.3.0-rc.2/docs/examples/example-example29/index-production.html
new file mode 100644
index 0000000000..c497da3f88
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example29/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example29-production
+
+
+
+
+
+
+
+
+
+ Increment (when mouse moves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example29/index.html b/1.3.0-rc.2/docs/examples/example-example29/index.html
new file mode 100644
index 0000000000..3d40a9c65a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example29/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example29
+
+
+
+
+
+
+
+
+
+ Increment (when mouse moves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example29/manifest.json b/1.3.0-rc.2/docs/examples/example-example29/manifest.json
new file mode 100644
index 0000000000..48f662eda5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example29/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example29",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example3/index-debug.html b/1.3.0-rc.2/docs/examples/example-example3/index-debug.html
new file mode 100644
index 0000000000..cc63d61b9b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example3/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example3-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example3/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example3/index-jquery.html
new file mode 100644
index 0000000000..8b0eac2c75
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example3/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example3-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example3/index-production.html b/1.3.0-rc.2/docs/examples/example-example3/index-production.html
new file mode 100644
index 0000000000..49e817358f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example3/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example3-production
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example3/index.html b/1.3.0-rc.2/docs/examples/example-example3/index.html
new file mode 100644
index 0000000000..42bea4ac2d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example3/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example3
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example3/manifest.json b/1.3.0-rc.2/docs/examples/example-example3/manifest.json
new file mode 100644
index 0000000000..e1661b24e5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example3/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example3",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "style.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example3/script.js b/1.3.0-rc.2/docs/examples/example-example3/script.js
new file mode 100644
index 0000000000..7c6b1e2af7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example3/script.js
@@ -0,0 +1,12 @@
+ angular.module('anchorScrollExample', [])
+ .controller('ScrollController', ['$scope', '$location', '$anchorScroll',
+ function ($scope, $location, $anchorScroll) {
+ $scope.gotoBottom = function() {
+ // set the location.hash to the id of
+ // the element you wish to scroll to.
+ $location.hash('bottom');
+
+ // call $anchorScroll()
+ $anchorScroll();
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example3/style.css b/1.3.0-rc.2/docs/examples/example-example3/style.css
new file mode 100644
index 0000000000..a9bffdc2d9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example3/style.css
@@ -0,0 +1,9 @@
+ #scrollArea {
+ height: 350px;
+ overflow: auto;
+ }
+
+ #bottom {
+ display: block;
+ margin-top: 2000px;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example30/index-debug.html b/1.3.0-rc.2/docs/examples/example-example30/index-debug.html
new file mode 100644
index 0000000000..fd23957340
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example30/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example30-debug
+
+
+
+
+
+
+
+
+
+ key down count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example30/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example30/index-jquery.html
new file mode 100644
index 0000000000..64e71e8e8b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example30/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example30-jquery
+
+
+
+
+
+
+
+
+
+
+ key down count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example30/index-production.html b/1.3.0-rc.2/docs/examples/example-example30/index-production.html
new file mode 100644
index 0000000000..1885e0dd96
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example30/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example30-production
+
+
+
+
+
+
+
+
+
+ key down count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example30/index.html b/1.3.0-rc.2/docs/examples/example-example30/index.html
new file mode 100644
index 0000000000..c726c52649
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example30/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example30
+
+
+
+
+
+
+
+
+
+ key down count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example30/manifest.json b/1.3.0-rc.2/docs/examples/example-example30/manifest.json
new file mode 100644
index 0000000000..7e06e65605
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example30/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example30",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example31/index-debug.html b/1.3.0-rc.2/docs/examples/example-example31/index-debug.html
new file mode 100644
index 0000000000..10a6b8263a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example31/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example31-debug
+
+
+
+
+
+
+
+
+ Typing in the input box below updates the key count
+ key up count: {{count}}
+
+ Typing in the input box below updates the keycode
+
+ event keyCode: {{ event.keyCode }}
+ event altKey: {{ event.altKey }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example31/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example31/index-jquery.html
new file mode 100644
index 0000000000..df24c74a0d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example31/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example31-jquery
+
+
+
+
+
+
+
+
+
+ Typing in the input box below updates the key count
+ key up count: {{count}}
+
+ Typing in the input box below updates the keycode
+
+ event keyCode: {{ event.keyCode }}
+ event altKey: {{ event.altKey }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example31/index-production.html b/1.3.0-rc.2/docs/examples/example-example31/index-production.html
new file mode 100644
index 0000000000..c95cbb8509
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example31/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example31-production
+
+
+
+
+
+
+
+
+ Typing in the input box below updates the key count
+ key up count: {{count}}
+
+ Typing in the input box below updates the keycode
+
+ event keyCode: {{ event.keyCode }}
+ event altKey: {{ event.altKey }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example31/index.html b/1.3.0-rc.2/docs/examples/example-example31/index.html
new file mode 100644
index 0000000000..1f1b932122
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example31/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example31
+
+
+
+
+
+
+
+
+ Typing in the input box below updates the key count
+ key up count: {{count}}
+
+ Typing in the input box below updates the keycode
+
+ event keyCode: {{ event.keyCode }}
+ event altKey: {{ event.altKey }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example31/manifest.json b/1.3.0-rc.2/docs/examples/example-example31/manifest.json
new file mode 100644
index 0000000000..4890933c94
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example31/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example31",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example32/index-debug.html b/1.3.0-rc.2/docs/examples/example-example32/index-debug.html
new file mode 100644
index 0000000000..49a454600d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example32/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example32-debug
+
+
+
+
+
+
+
+
+
+ key press count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example32/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example32/index-jquery.html
new file mode 100644
index 0000000000..0678ca45b3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example32/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example32-jquery
+
+
+
+
+
+
+
+
+
+
+ key press count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example32/index-production.html b/1.3.0-rc.2/docs/examples/example-example32/index-production.html
new file mode 100644
index 0000000000..5a95dbf69b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example32/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example32-production
+
+
+
+
+
+
+
+
+
+ key press count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example32/index.html b/1.3.0-rc.2/docs/examples/example-example32/index.html
new file mode 100644
index 0000000000..bde5fda3c0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example32/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example32
+
+
+
+
+
+
+
+
+
+ key press count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example32/manifest.json b/1.3.0-rc.2/docs/examples/example-example32/manifest.json
new file mode 100644
index 0000000000..e0e567b386
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example32/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example32",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example33/index-debug.html b/1.3.0-rc.2/docs/examples/example-example33/index-debug.html
new file mode 100644
index 0000000000..67f55c2b58
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example33/index-debug.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-example33-debug
+
+
+
+
+
+
+
+
+
+
+ Enter text and hit enter:
+
+
+ list={{list}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example33/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example33/index-jquery.html
new file mode 100644
index 0000000000..558a7e84af
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example33/index-jquery.html
@@ -0,0 +1,35 @@
+
+
+
+
+ Example - example-example33-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Enter text and hit enter:
+
+
+ list={{list}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example33/index-production.html b/1.3.0-rc.2/docs/examples/example-example33/index-production.html
new file mode 100644
index 0000000000..3b6719856d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example33/index-production.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-example33-production
+
+
+
+
+
+
+
+
+
+
+ Enter text and hit enter:
+
+
+ list={{list}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example33/index.html b/1.3.0-rc.2/docs/examples/example-example33/index.html
new file mode 100644
index 0000000000..cbbd51df39
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example33/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-example33
+
+
+
+
+
+
+
+
+
+
+ Enter text and hit enter:
+
+
+ list={{list}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example33/manifest.json b/1.3.0-rc.2/docs/examples/example-example33/manifest.json
new file mode 100644
index 0000000000..1808afff42
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example33/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example33",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example33/protractor.js b/1.3.0-rc.2/docs/examples/example-example33/protractor.js
new file mode 100644
index 0000000000..6b823562e9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example33/protractor.js
@@ -0,0 +1,12 @@
+ it('should check ng-submit', function() {
+ expect(element(by.binding('list')).getText()).toBe('list=[]');
+ element(by.css('#submit')).click();
+ expect(element(by.binding('list')).getText()).toContain('hello');
+ expect(element(by.model('text')).getAttribute('value')).toBe('');
+ });
+ it('should ignore empty strings', function() {
+ expect(element(by.binding('list')).getText()).toBe('list=[]');
+ element(by.css('#submit')).click();
+ element(by.css('#submit')).click();
+ expect(element(by.binding('list')).getText()).toContain('hello');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example34/index-debug.html b/1.3.0-rc.2/docs/examples/example-example34/index-debug.html
new file mode 100644
index 0000000000..5c2c51de18
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example34/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example34-debug
+
+
+
+
+
+
+
+
+
+ copied: {{copied}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example34/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example34/index-jquery.html
new file mode 100644
index 0000000000..173cd384ff
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example34/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example34-jquery
+
+
+
+
+
+
+
+
+
+
+ copied: {{copied}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example34/index-production.html b/1.3.0-rc.2/docs/examples/example-example34/index-production.html
new file mode 100644
index 0000000000..f51fc9e06d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example34/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example34-production
+
+
+
+
+
+
+
+
+
+ copied: {{copied}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example34/index.html b/1.3.0-rc.2/docs/examples/example-example34/index.html
new file mode 100644
index 0000000000..e534d2ddf5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example34/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example34
+
+
+
+
+
+
+
+
+
+ copied: {{copied}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example34/manifest.json b/1.3.0-rc.2/docs/examples/example-example34/manifest.json
new file mode 100644
index 0000000000..cc7622aeb4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example34/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example34",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example35/index-debug.html b/1.3.0-rc.2/docs/examples/example-example35/index-debug.html
new file mode 100644
index 0000000000..aa1be93daa
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example35/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example35-debug
+
+
+
+
+
+
+
+
+
+ cut: {{cut}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example35/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example35/index-jquery.html
new file mode 100644
index 0000000000..5dafa5240d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example35/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example35-jquery
+
+
+
+
+
+
+
+
+
+
+ cut: {{cut}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example35/index-production.html b/1.3.0-rc.2/docs/examples/example-example35/index-production.html
new file mode 100644
index 0000000000..848ba54bbc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example35/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example35-production
+
+
+
+
+
+
+
+
+
+ cut: {{cut}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example35/index.html b/1.3.0-rc.2/docs/examples/example-example35/index.html
new file mode 100644
index 0000000000..2669150050
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example35/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example35
+
+
+
+
+
+
+
+
+
+ cut: {{cut}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example35/manifest.json b/1.3.0-rc.2/docs/examples/example-example35/manifest.json
new file mode 100644
index 0000000000..9705a31c98
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example35/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example35",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example36/index-debug.html b/1.3.0-rc.2/docs/examples/example-example36/index-debug.html
new file mode 100644
index 0000000000..19f92b1de7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example36/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example36-debug
+
+
+
+
+
+
+
+
+
+ pasted: {{paste}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example36/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example36/index-jquery.html
new file mode 100644
index 0000000000..c657daa5a6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example36/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example36-jquery
+
+
+
+
+
+
+
+
+
+
+ pasted: {{paste}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example36/index-production.html b/1.3.0-rc.2/docs/examples/example-example36/index-production.html
new file mode 100644
index 0000000000..5413db76fd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example36/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example36-production
+
+
+
+
+
+
+
+
+
+ pasted: {{paste}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example36/index.html b/1.3.0-rc.2/docs/examples/example-example36/index.html
new file mode 100644
index 0000000000..bc8590b806
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example36/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example36
+
+
+
+
+
+
+
+
+
+ pasted: {{paste}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example36/manifest.json b/1.3.0-rc.2/docs/examples/example-example36/manifest.json
new file mode 100644
index 0000000000..4b10a26f7e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example36/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example36",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example37/animations.css b/1.3.0-rc.2/docs/examples/example-example37/animations.css
new file mode 100644
index 0000000000..2782c1247b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example37/animations.css
@@ -0,0 +1,20 @@
+ .animate-if {
+ background:white;
+ border:1px solid black;
+ padding:10px;
+ }
+
+ .animate-if.ng-enter, .animate-if.ng-leave {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ }
+
+ .animate-if.ng-enter,
+ .animate-if.ng-leave.ng-leave-active {
+ opacity:0;
+ }
+
+ .animate-if.ng-leave,
+ .animate-if.ng-enter.ng-enter-active {
+ opacity:1;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example37/index-debug.html b/1.3.0-rc.2/docs/examples/example-example37/index-debug.html
new file mode 100644
index 0000000000..d9b6b37f10
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example37/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example37-debug
+
+
+
+
+
+
+
+
+
+
+ Click me:
+ Show when checked:
+
+ I'm removed when the checkbox is unchecked.
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example37/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example37/index-jquery.html
new file mode 100644
index 0000000000..fedbd3a12d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example37/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example37-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+ Show when checked:
+
+ I'm removed when the checkbox is unchecked.
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example37/index-production.html b/1.3.0-rc.2/docs/examples/example-example37/index-production.html
new file mode 100644
index 0000000000..1d965b1440
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example37/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example37-production
+
+
+
+
+
+
+
+
+
+
+ Click me:
+ Show when checked:
+
+ I'm removed when the checkbox is unchecked.
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example37/index.html b/1.3.0-rc.2/docs/examples/example-example37/index.html
new file mode 100644
index 0000000000..c82b8ad6c0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example37/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example37
+
+
+
+
+
+
+
+
+
+
+ Click me:
+ Show when checked:
+
+ I'm removed when the checkbox is unchecked.
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example37/manifest.json b/1.3.0-rc.2/docs/examples/example-example37/manifest.json
new file mode 100644
index 0000000000..5da987bbac
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example37/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example37",
+ "files": [
+ "index-production.html",
+ "animations.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example38/animations.css b/1.3.0-rc.2/docs/examples/example-example38/animations.css
new file mode 100644
index 0000000000..87a01ef8ec
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example38/animations.css
@@ -0,0 +1,38 @@
+ .slide-animate-container {
+ position:relative;
+ background:white;
+ border:1px solid black;
+ height:40px;
+ overflow:hidden;
+ }
+
+ .slide-animate {
+ padding:10px;
+ }
+
+ .slide-animate.ng-enter, .slide-animate.ng-leave {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+
+ position:absolute;
+ top:0;
+ left:0;
+ right:0;
+ bottom:0;
+ display:block;
+ padding:10px;
+ }
+
+ .slide-animate.ng-enter {
+ top:-50px;
+ }
+ .slide-animate.ng-enter.ng-enter-active {
+ top:0;
+ }
+
+ .slide-animate.ng-leave {
+ top:0;
+ }
+ .slide-animate.ng-leave.ng-leave-active {
+ top:50px;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example38/index-debug.html b/1.3.0-rc.2/docs/examples/example-example38/index-debug.html
new file mode 100644
index 0000000000..e1b0b70d5e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example38/index-debug.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example38-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (blank)
+
+ url of the template:
{{template.url}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example38/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example38/index-jquery.html
new file mode 100644
index 0000000000..2b4e0cbba5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example38/index-jquery.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-example38-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (blank)
+
+ url of the template:
{{template.url}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example38/index-production.html b/1.3.0-rc.2/docs/examples/example-example38/index-production.html
new file mode 100644
index 0000000000..a249738461
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example38/index-production.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example38-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (blank)
+
+ url of the template:
{{template.url}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example38/index.html b/1.3.0-rc.2/docs/examples/example-example38/index.html
new file mode 100644
index 0000000000..b43a411b34
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example38/index.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example38
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (blank)
+
+ url of the template:
{{template.url}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example38/manifest.json b/1.3.0-rc.2/docs/examples/example-example38/manifest.json
new file mode 100644
index 0000000000..4b768af40e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example38/manifest.json
@@ -0,0 +1,11 @@
+{
+ "name": "example-example38",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "template1.html",
+ "template2.html",
+ "animations.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example38/protractor.js b/1.3.0-rc.2/docs/examples/example-example38/protractor.js
new file mode 100644
index 0000000000..ae67a81037
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example38/protractor.js
@@ -0,0 +1,27 @@
+ var templateSelect = element(by.model('template'));
+ var includeElem = element(by.css('[ng-include]'));
+
+ it('should load template1.html', function() {
+ expect(includeElem.getText()).toMatch(/Content of template1.html/);
+ });
+
+ it('should load template2.html', function() {
+ if (browser.params.browser == 'firefox') {
+ // Firefox can't handle using selects
+ // See https://github.com/angular/protractor/issues/480
+ return;
+ }
+ templateSelect.click();
+ templateSelect.all(by.css('option')).get(2).click();
+ expect(includeElem.getText()).toMatch(/Content of template2.html/);
+ });
+
+ it('should change to blank', function() {
+ if (browser.params.browser == 'firefox') {
+ // Firefox can't handle using selects
+ return;
+ }
+ templateSelect.click();
+ templateSelect.all(by.css('option')).get(0).click();
+ expect(includeElem.isPresent()).toBe(false);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example38/script.js b/1.3.0-rc.2/docs/examples/example-example38/script.js
new file mode 100644
index 0000000000..92680ca9f2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example38/script.js
@@ -0,0 +1,7 @@
+ angular.module('includeExample', ['ngAnimate'])
+ .controller('ExampleController', ['$scope', function($scope) {
+ $scope.templates =
+ [ { name: 'template1.html', url: 'template1.html'},
+ { name: 'template2.html', url: 'template2.html'} ];
+ $scope.template = $scope.templates[0];
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example38/template1.html b/1.3.0-rc.2/docs/examples/example-example38/template1.html
new file mode 100644
index 0000000000..e2ce5ca854
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example38/template1.html
@@ -0,0 +1 @@
+ Content of template1.html
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example38/template2.html b/1.3.0-rc.2/docs/examples/example-example38/template2.html
new file mode 100644
index 0000000000..bc2c751a70
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example38/template2.html
@@ -0,0 +1 @@
+ Content of template2.html
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example39/index-debug.html b/1.3.0-rc.2/docs/examples/example-example39/index-debug.html
new file mode 100644
index 0000000000..b057fa0ccb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example39/index-debug.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example39-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example39/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example39/index-jquery.html
new file mode 100644
index 0000000000..9e345f0c0f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example39/index-jquery.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-example39-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example39/index-production.html b/1.3.0-rc.2/docs/examples/example-example39/index-production.html
new file mode 100644
index 0000000000..86639c0223
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example39/index-production.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example39-production
+
+
+
+
+
+
+
+
+
+
+
+
+ list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example39/index.html b/1.3.0-rc.2/docs/examples/example-example39/index.html
new file mode 100644
index 0000000000..21611bf43a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example39/index.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example39
+
+
+
+
+
+
+
+
+
+
+
+
+ list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example39/manifest.json b/1.3.0-rc.2/docs/examples/example-example39/manifest.json
new file mode 100644
index 0000000000..4562c86bc2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example39/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example39",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example39/protractor.js b/1.3.0-rc.2/docs/examples/example-example39/protractor.js
new file mode 100644
index 0000000000..b1bc72d1d7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example39/protractor.js
@@ -0,0 +1,7 @@
+ it('should alias index positions', function() {
+ var elements = element.all(by.css('.example-init'));
+ expect(elements.get(0).getText()).toBe('list[ 0 ][ 0 ] = a;');
+ expect(elements.get(1).getText()).toBe('list[ 0 ][ 1 ] = b;');
+ expect(elements.get(2).getText()).toBe('list[ 1 ][ 0 ] = c;');
+ expect(elements.get(3).getText()).toBe('list[ 1 ][ 1 ] = d;');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example4/index-debug.html b/1.3.0-rc.2/docs/examples/example-example4/index-debug.html
new file mode 100644
index 0000000000..d4d03f7557
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example4/index-debug.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example4-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Cache
+
+
Cached Values
+
+
+ :
+
+
+
+
Cache Info
+
+
+ :
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example4/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example4/index-jquery.html
new file mode 100644
index 0000000000..1ca1b5aea6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example4/index-jquery.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-example4-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Cache
+
+
Cached Values
+
+
+ :
+
+
+
+
Cache Info
+
+
+ :
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example4/index-production.html b/1.3.0-rc.2/docs/examples/example-example4/index-production.html
new file mode 100644
index 0000000000..badbc05e40
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example4/index-production.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example4-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Cache
+
+
Cached Values
+
+
+ :
+
+
+
+
Cache Info
+
+
+ :
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example4/index.html b/1.3.0-rc.2/docs/examples/example-example4/index.html
new file mode 100644
index 0000000000..4fbde95f27
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example4/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Cache
+
+
Cached Values
+
+
+ :
+
+
+
+
Cache Info
+
+
+ :
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example4/manifest.json b/1.3.0-rc.2/docs/examples/example-example4/manifest.json
new file mode 100644
index 0000000000..a050738b51
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example4/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example4",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "style.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example4/script.js b/1.3.0-rc.2/docs/examples/example-example4/script.js
new file mode 100644
index 0000000000..2a682cdc7d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example4/script.js
@@ -0,0 +1,11 @@
+ angular.module('cacheExampleApp', []).
+ controller('CacheController', ['$scope', '$cacheFactory', function($scope, $cacheFactory) {
+ $scope.keys = [];
+ $scope.cache = $cacheFactory('cacheId');
+ $scope.put = function(key, value) {
+ if ($scope.cache.get(key) === undefined) {
+ $scope.keys.push(key);
+ }
+ $scope.cache.put(key, value === undefined ? null : value);
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example4/style.css b/1.3.0-rc.2/docs/examples/example-example4/style.css
new file mode 100644
index 0000000000..301a3b0a5c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example4/style.css
@@ -0,0 +1,3 @@
+ p {
+ margin: 10px 0 3px;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example40/index-debug.html b/1.3.0-rc.2/docs/examples/example-example40/index-debug.html
new file mode 100644
index 0000000000..c9fd209f4b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example40/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example40-debug
+
+
+
+
+
+
+
+
+ Normal: {{1 + 2}}
+ Ignored: {{1 + 2}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example40/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example40/index-jquery.html
new file mode 100644
index 0000000000..28cac633c7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example40/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example40-jquery
+
+
+
+
+
+
+
+
+
+ Normal: {{1 + 2}}
+ Ignored: {{1 + 2}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example40/index-production.html b/1.3.0-rc.2/docs/examples/example-example40/index-production.html
new file mode 100644
index 0000000000..acb4c8e86c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example40/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example40-production
+
+
+
+
+
+
+
+
+ Normal: {{1 + 2}}
+ Ignored: {{1 + 2}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example40/index.html b/1.3.0-rc.2/docs/examples/example-example40/index.html
new file mode 100644
index 0000000000..62bee67f0f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example40/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example40
+
+
+
+
+
+
+
+
+ Normal: {{1 + 2}}
+ Ignored: {{1 + 2}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example40/manifest.json b/1.3.0-rc.2/docs/examples/example-example40/manifest.json
new file mode 100644
index 0000000000..c3a60d52e5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example40/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example40",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example40/protractor.js b/1.3.0-rc.2/docs/examples/example-example40/protractor.js
new file mode 100644
index 0000000000..92e76aeb1f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example40/protractor.js
@@ -0,0 +1,4 @@
+ it('should check ng-non-bindable', function() {
+ expect(element(by.binding('1 + 2')).getText()).toContain('3');
+ expect(element.all(by.css('div')).last().getText()).toMatch(/1 \+ 2/);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example41/index-debug.html b/1.3.0-rc.2/docs/examples/example-example41/index-debug.html
new file mode 100644
index 0000000000..b82774412f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example41/index-debug.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Example - example-example41-debug
+
+
+
+
+
+
+
+
+
+
+ Person 1:
+ Person 2:
+ Number of People:
+
+
+ Without Offset:
+
+
+
+
+ With Offset(2):
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example41/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example41/index-jquery.html
new file mode 100644
index 0000000000..7caf4c3a9e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example41/index-jquery.html
@@ -0,0 +1,47 @@
+
+
+
+
+ Example - example-example41-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Person 1:
+ Person 2:
+ Number of People:
+
+
+ Without Offset:
+
+
+
+
+ With Offset(2):
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example41/index-production.html b/1.3.0-rc.2/docs/examples/example-example41/index-production.html
new file mode 100644
index 0000000000..c2d5a62bd0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example41/index-production.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Example - example-example41-production
+
+
+
+
+
+
+
+
+
+
+ Person 1:
+ Person 2:
+ Number of People:
+
+
+ Without Offset:
+
+
+
+
+ With Offset(2):
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example41/index.html b/1.3.0-rc.2/docs/examples/example-example41/index.html
new file mode 100644
index 0000000000..4ae75d2a5d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example41/index.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Example - example-example41
+
+
+
+
+
+
+
+
+
+
+ Person 1:
+ Person 2:
+ Number of People:
+
+
+ Without Offset:
+
+
+
+
+ With Offset(2):
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example41/manifest.json b/1.3.0-rc.2/docs/examples/example-example41/manifest.json
new file mode 100644
index 0000000000..1657c20cf2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example41/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example41",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example41/protractor.js b/1.3.0-rc.2/docs/examples/example-example41/protractor.js
new file mode 100644
index 0000000000..65fe79ff37
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example41/protractor.js
@@ -0,0 +1,45 @@
+ it('should show correct pluralized string', function() {
+ var withoutOffset = element.all(by.css('ng-pluralize')).get(0);
+ var withOffset = element.all(by.css('ng-pluralize')).get(1);
+ var countInput = element(by.model('personCount'));
+
+ expect(withoutOffset.getText()).toEqual('1 person is viewing.');
+ expect(withOffset.getText()).toEqual('Igor is viewing.');
+
+ countInput.clear();
+ countInput.sendKeys('0');
+
+ expect(withoutOffset.getText()).toEqual('Nobody is viewing.');
+ expect(withOffset.getText()).toEqual('Nobody is viewing.');
+
+ countInput.clear();
+ countInput.sendKeys('2');
+
+ expect(withoutOffset.getText()).toEqual('2 people are viewing.');
+ expect(withOffset.getText()).toEqual('Igor and Misko are viewing.');
+
+ countInput.clear();
+ countInput.sendKeys('3');
+
+ expect(withoutOffset.getText()).toEqual('3 people are viewing.');
+ expect(withOffset.getText()).toEqual('Igor, Misko and one other person are viewing.');
+
+ countInput.clear();
+ countInput.sendKeys('4');
+
+ expect(withoutOffset.getText()).toEqual('4 people are viewing.');
+ expect(withOffset.getText()).toEqual('Igor, Misko and 2 other people are viewing.');
+ });
+ it('should show data-bound names', function() {
+ var withOffset = element.all(by.css('ng-pluralize')).get(1);
+ var personCount = element(by.model('personCount'));
+ var person1 = element(by.model('person1'));
+ var person2 = element(by.model('person2'));
+ personCount.clear();
+ personCount.sendKeys('4');
+ person1.clear();
+ person1.sendKeys('Di');
+ person2.clear();
+ person2.sendKeys('Vojta');
+ expect(withOffset.getText()).toEqual('Di, Vojta and 2 other people are viewing.');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example42/animations.css b/1.3.0-rc.2/docs/examples/example-example42/animations.css
new file mode 100644
index 0000000000..5d21c71bba
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example42/animations.css
@@ -0,0 +1,34 @@
+ .example-animate-container {
+ background:white;
+ border:1px solid black;
+ list-style:none;
+ margin:0;
+ padding:0 10px;
+ }
+
+ .animate-repeat {
+ line-height:40px;
+ list-style:none;
+ box-sizing:border-box;
+ }
+
+ .animate-repeat.ng-move,
+ .animate-repeat.ng-enter,
+ .animate-repeat.ng-leave {
+ -webkit-transition:all linear 0.5s;
+ transition:all linear 0.5s;
+ }
+
+ .animate-repeat.ng-leave.ng-leave-active,
+ .animate-repeat.ng-move,
+ .animate-repeat.ng-enter {
+ opacity:0;
+ max-height:0;
+ }
+
+ .animate-repeat.ng-leave,
+ .animate-repeat.ng-move.ng-move-active,
+ .animate-repeat.ng-enter.ng-enter-active {
+ opacity:1;
+ max-height:40px;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example42/index-debug.html b/1.3.0-rc.2/docs/examples/example-example42/index-debug.html
new file mode 100644
index 0000000000..1650c3f82e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example42/index-debug.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example42-debug
+
+
+
+
+
+
+
+
+
+
+
+ I have {{friends.length}} friends. They are:
+
+
+
+ [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.
+
+
+ No results found...
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example42/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example42/index-jquery.html
new file mode 100644
index 0000000000..1c6c002987
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example42/index-jquery.html
@@ -0,0 +1,41 @@
+
+
+
+
+ Example - example-example42-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ I have {{friends.length}} friends. They are:
+
+
+
+ [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.
+
+
+ No results found...
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example42/index-production.html b/1.3.0-rc.2/docs/examples/example-example42/index-production.html
new file mode 100644
index 0000000000..c3acc500d7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example42/index-production.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example42-production
+
+
+
+
+
+
+
+
+
+
+
+ I have {{friends.length}} friends. They are:
+
+
+
+ [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.
+
+
+ No results found...
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example42/index.html b/1.3.0-rc.2/docs/examples/example-example42/index.html
new file mode 100644
index 0000000000..4091646f73
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example42/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example42
+
+
+
+
+
+
+
+
+
+
+
+ I have {{friends.length}} friends. They are:
+
+
+
+ [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.
+
+
+ No results found...
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example42/manifest.json b/1.3.0-rc.2/docs/examples/example-example42/manifest.json
new file mode 100644
index 0000000000..3eb748b72a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example42/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example42",
+ "files": [
+ "index-production.html",
+ "animations.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example42/protractor.js b/1.3.0-rc.2/docs/examples/example-example42/protractor.js
new file mode 100644
index 0000000000..b90d6fb61a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example42/protractor.js
@@ -0,0 +1,20 @@
+var friends = element.all(by.repeater('friend in friends'));
+
+it('should render initial data set', function() {
+ expect(friends.count()).toBe(10);
+ expect(friends.get(0).getText()).toEqual('[1] John who is 25 years old.');
+ expect(friends.get(1).getText()).toEqual('[2] Jessie who is 30 years old.');
+ expect(friends.last().getText()).toEqual('[10] Samantha who is 60 years old.');
+ expect(element(by.binding('friends.length')).getText())
+ .toMatch("I have 10 friends. They are:");
+});
+
+ it('should update repeater when filter predicate changes', function() {
+ expect(friends.count()).toBe(10);
+
+ element(by.model('q')).sendKeys('ma');
+
+ expect(friends.count()).toBe(2);
+ expect(friends.get(0).getText()).toEqual('[1] Mary who is 28 years old.');
+ expect(friends.last().getText()).toEqual('[2] Samantha who is 60 years old.');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example43/animations.css b/1.3.0-rc.2/docs/examples/example-example43/animations.css
new file mode 100644
index 0000000000..4c538506a7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example43/animations.css
@@ -0,0 +1,25 @@
+ .animate-show {
+ line-height:20px;
+ opacity:1;
+ padding:10px;
+ border:1px solid black;
+ background:white;
+ }
+
+ .animate-show.ng-hide-add.ng-hide-add-active,
+ .animate-show.ng-hide-remove.ng-hide-remove-active {
+ -webkit-transition:all linear 0.5s;
+ transition:all linear 0.5s;
+ }
+
+ .animate-show.ng-hide {
+ line-height:0;
+ opacity:0;
+ padding:0 10px;
+ }
+
+ .check-element {
+ padding:10px;
+ border:1px solid black;
+ background:white;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example43/glyphicons.css b/1.3.0-rc.2/docs/examples/example-example43/glyphicons.css
new file mode 100644
index 0000000000..e81b05ec1e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example43/glyphicons.css
@@ -0,0 +1 @@
+ @import url(//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example43/index-debug.html b/1.3.0-rc.2/docs/examples/example-example43/index-debug.html
new file mode 100644
index 0000000000..369635e065
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example43/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example43-debug
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example43/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example43/index-jquery.html
new file mode 100644
index 0000000000..0bad1aef27
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example43/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example43-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example43/index-production.html b/1.3.0-rc.2/docs/examples/example-example43/index-production.html
new file mode 100644
index 0000000000..f85e902c53
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example43/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example43-production
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example43/index.html b/1.3.0-rc.2/docs/examples/example-example43/index.html
new file mode 100644
index 0000000000..8b7aadd91d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example43/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example43
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example43/manifest.json b/1.3.0-rc.2/docs/examples/example-example43/manifest.json
new file mode 100644
index 0000000000..86faa930c0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example43/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example43",
+ "files": [
+ "index-production.html",
+ "glyphicons.css",
+ "animations.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example43/protractor.js b/1.3.0-rc.2/docs/examples/example-example43/protractor.js
new file mode 100644
index 0000000000..a0c35c8644
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example43/protractor.js
@@ -0,0 +1,12 @@
+ var thumbsUp = element(by.css('span.glyphicon-thumbs-up'));
+ var thumbsDown = element(by.css('span.glyphicon-thumbs-down'));
+
+ it('should check ng-show / ng-hide', function() {
+ expect(thumbsUp.isDisplayed()).toBeFalsy();
+ expect(thumbsDown.isDisplayed()).toBeTruthy();
+
+ element(by.model('checked')).click();
+
+ expect(thumbsUp.isDisplayed()).toBeTruthy();
+ expect(thumbsDown.isDisplayed()).toBeFalsy();
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example44/animations.css b/1.3.0-rc.2/docs/examples/example-example44/animations.css
new file mode 100644
index 0000000000..a755d7b690
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example44/animations.css
@@ -0,0 +1,21 @@
+ .animate-hide {
+ -webkit-transition:all linear 0.5s;
+ transition:all linear 0.5s;
+ line-height:20px;
+ opacity:1;
+ padding:10px;
+ border:1px solid black;
+ background:white;
+ }
+
+ .animate-hide.ng-hide {
+ line-height:0;
+ opacity:0;
+ padding:0 10px;
+ }
+
+ .check-element {
+ padding:10px;
+ border:1px solid black;
+ background:white;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example44/glyphicons.css b/1.3.0-rc.2/docs/examples/example-example44/glyphicons.css
new file mode 100644
index 0000000000..e81b05ec1e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example44/glyphicons.css
@@ -0,0 +1 @@
+ @import url(//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example44/index-debug.html b/1.3.0-rc.2/docs/examples/example-example44/index-debug.html
new file mode 100644
index 0000000000..92e95f4ddf
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example44/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example44-debug
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example44/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example44/index-jquery.html
new file mode 100644
index 0000000000..9e75c99d84
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example44/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example44-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example44/index-production.html b/1.3.0-rc.2/docs/examples/example-example44/index-production.html
new file mode 100644
index 0000000000..ef685f9a13
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example44/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example44-production
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example44/index.html b/1.3.0-rc.2/docs/examples/example-example44/index.html
new file mode 100644
index 0000000000..456dc58194
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example44/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example44
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example44/manifest.json b/1.3.0-rc.2/docs/examples/example-example44/manifest.json
new file mode 100644
index 0000000000..7915b297f4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example44/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example44",
+ "files": [
+ "index-production.html",
+ "glyphicons.css",
+ "animations.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example44/protractor.js b/1.3.0-rc.2/docs/examples/example-example44/protractor.js
new file mode 100644
index 0000000000..a0c35c8644
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example44/protractor.js
@@ -0,0 +1,12 @@
+ var thumbsUp = element(by.css('span.glyphicon-thumbs-up'));
+ var thumbsDown = element(by.css('span.glyphicon-thumbs-down'));
+
+ it('should check ng-show / ng-hide', function() {
+ expect(thumbsUp.isDisplayed()).toBeFalsy();
+ expect(thumbsDown.isDisplayed()).toBeTruthy();
+
+ element(by.model('checked')).click();
+
+ expect(thumbsUp.isDisplayed()).toBeTruthy();
+ expect(thumbsDown.isDisplayed()).toBeFalsy();
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example45/index-debug.html b/1.3.0-rc.2/docs/examples/example-example45/index-debug.html
new file mode 100644
index 0000000000..87ea0c4177
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example45/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example45-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+ myStyle={{myStyle}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example45/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example45/index-jquery.html
new file mode 100644
index 0000000000..c74fafd104
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example45/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example45-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+ myStyle={{myStyle}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example45/index-production.html b/1.3.0-rc.2/docs/examples/example-example45/index-production.html
new file mode 100644
index 0000000000..795cf0628b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example45/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example45-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+ myStyle={{myStyle}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example45/index.html b/1.3.0-rc.2/docs/examples/example-example45/index.html
new file mode 100644
index 0000000000..06283458b0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example45/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example45
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+ myStyle={{myStyle}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example45/manifest.json b/1.3.0-rc.2/docs/examples/example-example45/manifest.json
new file mode 100644
index 0000000000..afab623670
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example45/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example45",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example45/protractor.js b/1.3.0-rc.2/docs/examples/example-example45/protractor.js
new file mode 100644
index 0000000000..5520cd4b01
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example45/protractor.js
@@ -0,0 +1,9 @@
+ var colorSpan = element(by.css('span'));
+
+ it('should check ng-style', function() {
+ expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)');
+ element(by.css('input[value=\'set color\']')).click();
+ expect(colorSpan.getCssValue('color')).toBe('rgba(255, 0, 0, 1)');
+ element(by.css('input[value=clear]')).click();
+ expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example45/style.css b/1.3.0-rc.2/docs/examples/example-example45/style.css
new file mode 100644
index 0000000000..3813c5ab68
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example45/style.css
@@ -0,0 +1,3 @@
+ span {
+ color: black;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example46/animations.css b/1.3.0-rc.2/docs/examples/example-example46/animations.css
new file mode 100644
index 0000000000..029267121d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example46/animations.css
@@ -0,0 +1,31 @@
+ .animate-switch-container {
+ position:relative;
+ background:white;
+ border:1px solid black;
+ height:40px;
+ overflow:hidden;
+ }
+
+ .animate-switch {
+ padding:10px;
+ }
+
+ .animate-switch.ng-animate {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+
+ position:absolute;
+ top:0;
+ left:0;
+ right:0;
+ bottom:0;
+ }
+
+ .animate-switch.ng-leave.ng-leave-active,
+ .animate-switch.ng-enter {
+ top:-50px;
+ }
+ .animate-switch.ng-leave,
+ .animate-switch.ng-enter.ng-enter-active {
+ top:0;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example46/index-debug.html b/1.3.0-rc.2/docs/examples/example-example46/index-debug.html
new file mode 100644
index 0000000000..28ee6685a0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example46/index-debug.html
@@ -0,0 +1,30 @@
+
+
+
+
+ Example - example-example46-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
selection={{selection}}
+
+
+
Settings Div
+
Home Span
+
default
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example46/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example46/index-jquery.html
new file mode 100644
index 0000000000..67830fb20f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example46/index-jquery.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example46-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
selection={{selection}}
+
+
+
Settings Div
+
Home Span
+
default
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example46/index-production.html b/1.3.0-rc.2/docs/examples/example-example46/index-production.html
new file mode 100644
index 0000000000..1d6f144a3e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example46/index-production.html
@@ -0,0 +1,30 @@
+
+
+
+
+ Example - example-example46-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
selection={{selection}}
+
+
+
Settings Div
+
Home Span
+
default
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example46/index.html b/1.3.0-rc.2/docs/examples/example-example46/index.html
new file mode 100644
index 0000000000..693e627fab
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example46/index.html
@@ -0,0 +1,30 @@
+
+
+
+
+ Example - example-example46
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
selection={{selection}}
+
+
+
Settings Div
+
Home Span
+
default
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example46/manifest.json b/1.3.0-rc.2/docs/examples/example-example46/manifest.json
new file mode 100644
index 0000000000..3206375bf9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example46/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example46",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "animations.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example46/protractor.js b/1.3.0-rc.2/docs/examples/example-example46/protractor.js
new file mode 100644
index 0000000000..13428b5d9d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example46/protractor.js
@@ -0,0 +1,14 @@
+ var switchElem = element(by.css('[ng-switch]'));
+ var select = element(by.model('selection'));
+
+ it('should start in settings', function() {
+ expect(switchElem.getText()).toMatch(/Settings Div/);
+ });
+ it('should change to home', function() {
+ select.all(by.css('option')).get(1).click();
+ expect(switchElem.getText()).toMatch(/Home Span/);
+ });
+ it('should select default', function() {
+ select.all(by.css('option')).get(2).click();
+ expect(switchElem.getText()).toMatch(/default/);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example46/script.js b/1.3.0-rc.2/docs/examples/example-example46/script.js
new file mode 100644
index 0000000000..eeb7d5ab4e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example46/script.js
@@ -0,0 +1,5 @@
+ angular.module('switchExample', ['ngAnimate'])
+ .controller('ExampleController', ['$scope', function($scope) {
+ $scope.items = ['settings', 'home', 'other'];
+ $scope.selection = $scope.items[0];
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example47/index-debug.html b/1.3.0-rc.2/docs/examples/example-example47/index-debug.html
new file mode 100644
index 0000000000..50579072bc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example47/index-debug.html
@@ -0,0 +1,38 @@
+
+
+
+
+ Example - example-example47-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example47/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example47/index-jquery.html
new file mode 100644
index 0000000000..0096220503
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example47/index-jquery.html
@@ -0,0 +1,39 @@
+
+
+
+
+ Example - example-example47-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example47/index-production.html b/1.3.0-rc.2/docs/examples/example-example47/index-production.html
new file mode 100644
index 0000000000..3e4c64a854
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example47/index-production.html
@@ -0,0 +1,38 @@
+
+
+
+
+ Example - example-example47-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example47/index.html b/1.3.0-rc.2/docs/examples/example-example47/index.html
new file mode 100644
index 0000000000..ccc6fccc69
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example47/index.html
@@ -0,0 +1,38 @@
+
+
+
+
+ Example - example-example47
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example47/manifest.json b/1.3.0-rc.2/docs/examples/example-example47/manifest.json
new file mode 100644
index 0000000000..16357cf50d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example47/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example47",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example47/protractor.js b/1.3.0-rc.2/docs/examples/example-example47/protractor.js
new file mode 100644
index 0000000000..cede5558e4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example47/protractor.js
@@ -0,0 +1,10 @@
+ it('should have transcluded', function() {
+ var titleElement = element(by.model('title'));
+ titleElement.clear();
+ titleElement.sendKeys('TITLE');
+ var textElement = element(by.model('text'));
+ textElement.clear();
+ textElement.sendKeys('TEXT');
+ expect(element(by.binding('title')).getText()).toEqual('TITLE');
+ expect(element(by.binding('text')).getText()).toEqual('TEXT');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example48/index-debug.html b/1.3.0-rc.2/docs/examples/example-example48/index-debug.html
new file mode 100644
index 0000000000..15202ed914
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example48/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example48-debug
+
+
+
+
+
+
+
+
+
+
+ Load inlined template
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example48/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example48/index-jquery.html
new file mode 100644
index 0000000000..5f8c20ce02
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example48/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example48-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Load inlined template
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example48/index-production.html b/1.3.0-rc.2/docs/examples/example-example48/index-production.html
new file mode 100644
index 0000000000..a7241a6647
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example48/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example48-production
+
+
+
+
+
+
+
+
+
+
+ Load inlined template
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example48/index.html b/1.3.0-rc.2/docs/examples/example-example48/index.html
new file mode 100644
index 0000000000..5d5add5955
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example48/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example48
+
+
+
+
+
+
+
+
+
+
+ Load inlined template
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example48/manifest.json b/1.3.0-rc.2/docs/examples/example-example48/manifest.json
new file mode 100644
index 0000000000..eb0528a18a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example48/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example48",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example48/protractor.js b/1.3.0-rc.2/docs/examples/example-example48/protractor.js
new file mode 100644
index 0000000000..a42438787a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example48/protractor.js
@@ -0,0 +1,4 @@
+ it('should load template defined inside script tag', function() {
+ element(by.css('#tpl-link')).click();
+ expect(element(by.css('#tpl-content')).getText()).toMatch(/Content of the template/);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example49/index-debug.html b/1.3.0-rc.2/docs/examples/example-example49/index-debug.html
new file mode 100644
index 0000000000..a7255e340b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example49/index-debug.html
@@ -0,0 +1,61 @@
+
+
+
+
+ Example - example-example49-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ Color (null not allowed):
+
+
+ Color (null allowed):
+
+
+ -- choose color --
+
+
+
+ Color grouped by shade:
+
+
+
+
+ Select
bogus .
+
+ Currently selected: {{ {selected_color:myColor} }}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example49/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example49/index-jquery.html
new file mode 100644
index 0000000000..8e24061e4a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example49/index-jquery.html
@@ -0,0 +1,62 @@
+
+
+
+
+ Example - example-example49-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Color (null not allowed):
+
+
+ Color (null allowed):
+
+
+ -- choose color --
+
+
+
+ Color grouped by shade:
+
+
+
+
+ Select
bogus .
+
+ Currently selected: {{ {selected_color:myColor} }}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example49/index-production.html b/1.3.0-rc.2/docs/examples/example-example49/index-production.html
new file mode 100644
index 0000000000..9cc9ff7682
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example49/index-production.html
@@ -0,0 +1,61 @@
+
+
+
+
+ Example - example-example49-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Color (null not allowed):
+
+
+ Color (null allowed):
+
+
+ -- choose color --
+
+
+
+ Color grouped by shade:
+
+
+
+
+ Select
bogus .
+
+ Currently selected: {{ {selected_color:myColor} }}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example49/index.html b/1.3.0-rc.2/docs/examples/example-example49/index.html
new file mode 100644
index 0000000000..b9e9f67d18
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example49/index.html
@@ -0,0 +1,61 @@
+
+
+
+
+ Example - example-example49
+
+
+
+
+
+
+
+
+
+
+
+
+ Color (null not allowed):
+
+
+ Color (null allowed):
+
+
+ -- choose color --
+
+
+
+ Color grouped by shade:
+
+
+
+
+ Select
bogus .
+
+ Currently selected: {{ {selected_color:myColor} }}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example49/manifest.json b/1.3.0-rc.2/docs/examples/example-example49/manifest.json
new file mode 100644
index 0000000000..9f665c34aa
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example49/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example49",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example49/protractor.js b/1.3.0-rc.2/docs/examples/example-example49/protractor.js
new file mode 100644
index 0000000000..f5d74334f0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example49/protractor.js
@@ -0,0 +1,9 @@
+ it('should check ng-options', function() {
+ expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('red');
+ element.all(by.model('myColor')).first().click();
+ element.all(by.css('select[ng-model="myColor"] option')).first().click();
+ expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('black');
+ element(by.css('.nullable select[ng-model="myColor"]')).click();
+ element.all(by.css('.nullable select[ng-model="myColor"] option')).first().click();
+ expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('null');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example5/index-debug.html b/1.3.0-rc.2/docs/examples/example-example5/index-debug.html
new file mode 100644
index 0000000000..9fe211ac17
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example5/index-debug.html
@@ -0,0 +1,52 @@
+
+
+
+
+ Example - example-example5-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example5/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example5/index-jquery.html
new file mode 100644
index 0000000000..8e5366bc3a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example5/index-jquery.html
@@ -0,0 +1,53 @@
+
+
+
+
+ Example - example-example5-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example5/index-production.html b/1.3.0-rc.2/docs/examples/example-example5/index-production.html
new file mode 100644
index 0000000000..91f13c48f2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example5/index-production.html
@@ -0,0 +1,52 @@
+
+
+
+
+ Example - example-example5-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example5/index.html b/1.3.0-rc.2/docs/examples/example-example5/index.html
new file mode 100644
index 0000000000..ed0189f03b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example5/index.html
@@ -0,0 +1,52 @@
+
+
+
+
+ Example - example-example5
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example5/manifest.json b/1.3.0-rc.2/docs/examples/example-example5/manifest.json
new file mode 100644
index 0000000000..7939d7bd71
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example5/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example5",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example5/protractor.js b/1.3.0-rc.2/docs/examples/example-example5/protractor.js
new file mode 100644
index 0000000000..f04c931a99
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example5/protractor.js
@@ -0,0 +1,9 @@
+ it('should auto compile', function() {
+ var textarea = $('textarea');
+ var output = $('div[compile]');
+ // The initial state reads 'Hello Angular'.
+ expect(output.getText()).toBe('Hello Angular');
+ textarea.clear();
+ textarea.sendKeys('{{name}}!');
+ expect(output.getText()).toBe('Angular!');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example50/index-debug.html b/1.3.0-rc.2/docs/examples/example-example50/index-debug.html
new file mode 100644
index 0000000000..b4e9d1ed98
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example50/index-debug.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example50-debug
+
+
+
+
+
+
+
+
+
+
+
$document title:
+
window.document title:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example50/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example50/index-jquery.html
new file mode 100644
index 0000000000..929f8308a0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example50/index-jquery.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example50-jquery
+
+
+
+
+
+
+
+
+
+
+
+
$document title:
+
window.document title:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example50/index-production.html b/1.3.0-rc.2/docs/examples/example-example50/index-production.html
new file mode 100644
index 0000000000..788352f766
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example50/index-production.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example50-production
+
+
+
+
+
+
+
+
+
+
+
$document title:
+
window.document title:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example50/index.html b/1.3.0-rc.2/docs/examples/example-example50/index.html
new file mode 100644
index 0000000000..5951a8ef39
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example50/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example50
+
+
+
+
+
+
+
+
+
+
+
$document title:
+
window.document title:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example50/manifest.json b/1.3.0-rc.2/docs/examples/example-example50/manifest.json
new file mode 100644
index 0000000000..4dd117a347
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example50/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example50",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example50/script.js b/1.3.0-rc.2/docs/examples/example-example50/script.js
new file mode 100644
index 0000000000..7764817122
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example50/script.js
@@ -0,0 +1,5 @@
+ angular.module('documentExample', [])
+ .controller('ExampleController', ['$scope', '$document', function($scope, $document) {
+ $scope.title = $document[0].title;
+ $scope.windowTitle = angular.element(window.document)[0].title;
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example51/index-debug.html b/1.3.0-rc.2/docs/examples/example-example51/index-debug.html
new file mode 100644
index 0000000000..810372b909
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example51/index-debug.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Example - example-example51-debug
+
+
+
+
+
+
+
+
+
+
+ Search:
+
+ Name Phone
+
+ {{friend.name}}
+ {{friend.phone}}
+
+
+
+ Any:
+ Name only
+ Phone only
+ Equality
+
+ Name Phone
+
+ {{friendObj.name}}
+ {{friendObj.phone}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example51/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example51/index-jquery.html
new file mode 100644
index 0000000000..a23920415f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example51/index-jquery.html
@@ -0,0 +1,43 @@
+
+
+
+
+ Example - example-example51-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Search:
+
+ Name Phone
+
+ {{friend.name}}
+ {{friend.phone}}
+
+
+
+ Any:
+ Name only
+ Phone only
+ Equality
+
+ Name Phone
+
+ {{friendObj.name}}
+ {{friendObj.phone}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example51/index-production.html b/1.3.0-rc.2/docs/examples/example-example51/index-production.html
new file mode 100644
index 0000000000..9c765da8e6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example51/index-production.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Example - example-example51-production
+
+
+
+
+
+
+
+
+
+
+ Search:
+
+ Name Phone
+
+ {{friend.name}}
+ {{friend.phone}}
+
+
+
+ Any:
+ Name only
+ Phone only
+ Equality
+
+ Name Phone
+
+ {{friendObj.name}}
+ {{friendObj.phone}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example51/index.html b/1.3.0-rc.2/docs/examples/example-example51/index.html
new file mode 100644
index 0000000000..29a6020057
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example51/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Example - example-example51
+
+
+
+
+
+
+
+
+
+
+ Search:
+
+ Name Phone
+
+ {{friend.name}}
+ {{friend.phone}}
+
+
+
+ Any:
+ Name only
+ Phone only
+ Equality
+
+ Name Phone
+
+ {{friendObj.name}}
+ {{friendObj.phone}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example51/manifest.json b/1.3.0-rc.2/docs/examples/example-example51/manifest.json
new file mode 100644
index 0000000000..d1edf9cf3c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example51/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example51",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example51/protractor.js b/1.3.0-rc.2/docs/examples/example-example51/protractor.js
new file mode 100644
index 0000000000..6dcd056616
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example51/protractor.js
@@ -0,0 +1,33 @@
+ var expectFriendNames = function(expectedNames, key) {
+ element.all(by.repeater(key + ' in friends').column(key + '.name')).then(function(arr) {
+ arr.forEach(function(wd, i) {
+ expect(wd.getText()).toMatch(expectedNames[i]);
+ });
+ });
+ };
+
+ it('should search across all fields when filtering with a string', function() {
+ var searchText = element(by.model('searchText'));
+ searchText.clear();
+ searchText.sendKeys('m');
+ expectFriendNames(['Mary', 'Mike', 'Adam'], 'friend');
+
+ searchText.clear();
+ searchText.sendKeys('76');
+ expectFriendNames(['John', 'Julie'], 'friend');
+ });
+
+ it('should search in specific fields when filtering with a predicate object', function() {
+ var searchAny = element(by.model('search.$'));
+ searchAny.clear();
+ searchAny.sendKeys('i');
+ expectFriendNames(['Mary', 'Mike', 'Julie', 'Juliette'], 'friendObj');
+ });
+ it('should use a equal comparison when comparator is true', function() {
+ var searchName = element(by.model('search.name'));
+ var strict = element(by.model('strict'));
+ searchName.clear();
+ searchName.sendKeys('Julie');
+ strict.click();
+ expectFriendNames(['Julie'], 'friendObj');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example52/index-debug.html b/1.3.0-rc.2/docs/examples/example-example52/index-debug.html
new file mode 100644
index 0000000000..5753cdad38
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example52/index-debug.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example52-debug
+
+
+
+
+
+
+
+
+
+
+
+ default currency symbol ($): {{amount | currency}}
+ custom currency identifier (USD$): {{amount | currency:"USD$"}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example52/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example52/index-jquery.html
new file mode 100644
index 0000000000..a41117fdb9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example52/index-jquery.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example52-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ default currency symbol ($): {{amount | currency}}
+ custom currency identifier (USD$): {{amount | currency:"USD$"}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example52/index-production.html b/1.3.0-rc.2/docs/examples/example-example52/index-production.html
new file mode 100644
index 0000000000..1d00adb5ac
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example52/index-production.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example52-production
+
+
+
+
+
+
+
+
+
+
+
+ default currency symbol ($): {{amount | currency}}
+ custom currency identifier (USD$): {{amount | currency:"USD$"}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example52/index.html b/1.3.0-rc.2/docs/examples/example-example52/index.html
new file mode 100644
index 0000000000..bd8dae2e0d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example52/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example52
+
+
+
+
+
+
+
+
+
+
+
+ default currency symbol ($): {{amount | currency}}
+ custom currency identifier (USD$): {{amount | currency:"USD$"}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example52/manifest.json b/1.3.0-rc.2/docs/examples/example-example52/manifest.json
new file mode 100644
index 0000000000..b63d0c84e6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example52/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example52",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example52/protractor.js b/1.3.0-rc.2/docs/examples/example-example52/protractor.js
new file mode 100644
index 0000000000..f5be614890
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example52/protractor.js
@@ -0,0 +1,15 @@
+ it('should init with 1234.56', function() {
+ expect(element(by.id('currency-default')).getText()).toBe('$1,234.56');
+ expect(element(by.binding('amount | currency:"USD$"')).getText()).toBe('USD$1,234.56');
+ });
+ it('should update', function() {
+ if (browser.params.browser == 'safari') {
+ // Safari does not understand the minus key. See
+ // https://github.com/angular/protractor/issues/481
+ return;
+ }
+ element(by.model('amount')).clear();
+ element(by.model('amount')).sendKeys('-1234');
+ expect(element(by.id('currency-default')).getText()).toBe('($1,234.00)');
+ expect(element(by.binding('amount | currency:"USD$"')).getText()).toBe('(USD$1,234.00)');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example53/index-debug.html b/1.3.0-rc.2/docs/examples/example-example53/index-debug.html
new file mode 100644
index 0000000000..29e8eecd05
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example53/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example53-debug
+
+
+
+
+
+
+
+
+
+
+ Enter number:
+ Default formatting: {{val | number}}
+ No fractions: {{val | number:0}}
+ Negative number: {{-val | number:4}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example53/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example53/index-jquery.html
new file mode 100644
index 0000000000..03802ed1de
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example53/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example53-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Enter number:
+ Default formatting: {{val | number}}
+ No fractions: {{val | number:0}}
+ Negative number: {{-val | number:4}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example53/index-production.html b/1.3.0-rc.2/docs/examples/example-example53/index-production.html
new file mode 100644
index 0000000000..408daba627
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example53/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example53-production
+
+
+
+
+
+
+
+
+
+
+ Enter number:
+ Default formatting: {{val | number}}
+ No fractions: {{val | number:0}}
+ Negative number: {{-val | number:4}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example53/index.html b/1.3.0-rc.2/docs/examples/example-example53/index.html
new file mode 100644
index 0000000000..f2197af00e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example53/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example53
+
+
+
+
+
+
+
+
+
+
+ Enter number:
+ Default formatting: {{val | number}}
+ No fractions: {{val | number:0}}
+ Negative number: {{-val | number:4}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example53/manifest.json b/1.3.0-rc.2/docs/examples/example-example53/manifest.json
new file mode 100644
index 0000000000..f8f469763c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example53/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example53",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example53/protractor.js b/1.3.0-rc.2/docs/examples/example-example53/protractor.js
new file mode 100644
index 0000000000..167435649d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example53/protractor.js
@@ -0,0 +1,13 @@
+ it('should format numbers', function() {
+ expect(element(by.id('number-default')).getText()).toBe('1,234.568');
+ expect(element(by.binding('val | number:0')).getText()).toBe('1,235');
+ expect(element(by.binding('-val | number:4')).getText()).toBe('-1,234.5679');
+ });
+
+ it('should update', function() {
+ element(by.model('val')).clear();
+ element(by.model('val')).sendKeys('3374.333');
+ expect(element(by.id('number-default')).getText()).toBe('3,374.333');
+ expect(element(by.binding('val | number:0')).getText()).toBe('3,374');
+ expect(element(by.binding('-val | number:4')).getText()).toBe('-3,374.3330');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example54/index-debug.html b/1.3.0-rc.2/docs/examples/example-example54/index-debug.html
new file mode 100644
index 0000000000..2b121d25d1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example54/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example54-debug
+
+
+
+
+
+
+
+
+ {{1288323623006 | date:'medium'}} :
+ {{1288323623006 | date:'medium'}}
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}} :
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}
+ {{1288323623006 | date:'MM/dd/yyyy @ h:mma'}} :
+ {{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}
+ {{1288323623006 | date:"MM/dd/yyyy 'at' h:mma"}} :
+ {{'1288323623006' | date:"MM/dd/yyyy 'at' h:mma"}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example54/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example54/index-jquery.html
new file mode 100644
index 0000000000..9d84518e7f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example54/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example54-jquery
+
+
+
+
+
+
+
+
+
+ {{1288323623006 | date:'medium'}} :
+ {{1288323623006 | date:'medium'}}
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}} :
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}
+ {{1288323623006 | date:'MM/dd/yyyy @ h:mma'}} :
+ {{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}
+ {{1288323623006 | date:"MM/dd/yyyy 'at' h:mma"}} :
+ {{'1288323623006' | date:"MM/dd/yyyy 'at' h:mma"}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example54/index-production.html b/1.3.0-rc.2/docs/examples/example-example54/index-production.html
new file mode 100644
index 0000000000..7ea17181cb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example54/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example54-production
+
+
+
+
+
+
+
+
+ {{1288323623006 | date:'medium'}} :
+ {{1288323623006 | date:'medium'}}
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}} :
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}
+ {{1288323623006 | date:'MM/dd/yyyy @ h:mma'}} :
+ {{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}
+ {{1288323623006 | date:"MM/dd/yyyy 'at' h:mma"}} :
+ {{'1288323623006' | date:"MM/dd/yyyy 'at' h:mma"}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example54/index.html b/1.3.0-rc.2/docs/examples/example-example54/index.html
new file mode 100644
index 0000000000..4285326839
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example54/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example54
+
+
+
+
+
+
+
+
+ {{1288323623006 | date:'medium'}} :
+ {{1288323623006 | date:'medium'}}
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}} :
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}
+ {{1288323623006 | date:'MM/dd/yyyy @ h:mma'}} :
+ {{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}
+ {{1288323623006 | date:"MM/dd/yyyy 'at' h:mma"}} :
+ {{'1288323623006' | date:"MM/dd/yyyy 'at' h:mma"}}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example54/manifest.json b/1.3.0-rc.2/docs/examples/example-example54/manifest.json
new file mode 100644
index 0000000000..622adc4325
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example54/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example54",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example54/protractor.js b/1.3.0-rc.2/docs/examples/example-example54/protractor.js
new file mode 100644
index 0000000000..4d2d2a2cca
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example54/protractor.js
@@ -0,0 +1,10 @@
+ it('should format date', function() {
+ expect(element(by.binding("1288323623006 | date:'medium'")).getText()).
+ toMatch(/Oct 2\d, 2010 \d{1,2}:\d{2}:\d{2} (AM|PM)/);
+ expect(element(by.binding("1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'")).getText()).
+ toMatch(/2010\-10\-2\d \d{2}:\d{2}:\d{2} (\-|\+)?\d{4}/);
+ expect(element(by.binding("'1288323623006' | date:'MM/dd/yyyy @ h:mma'")).getText()).
+ toMatch(/10\/2\d\/2010 @ \d{1,2}:\d{2}(AM|PM)/);
+ expect(element(by.binding("'1288323623006' | date:\"MM/dd/yyyy 'at' h:mma\"")).getText()).
+ toMatch(/10\/2\d\/2010 at \d{1,2}:\d{2}(AM|PM)/);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example55/index-debug.html b/1.3.0-rc.2/docs/examples/example-example55/index-debug.html
new file mode 100644
index 0000000000..239353f807
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example55/index-debug.html
@@ -0,0 +1,16 @@
+
+
+
+
+ Example - example-example55-debug
+
+
+
+
+
+
+
+
+ {{ {'name':'value'} | json }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example55/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example55/index-jquery.html
new file mode 100644
index 0000000000..dfef4d56c7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example55/index-jquery.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example55-jquery
+
+
+
+
+
+
+
+
+
+ {{ {'name':'value'} | json }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example55/index-production.html b/1.3.0-rc.2/docs/examples/example-example55/index-production.html
new file mode 100644
index 0000000000..036b6750b3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example55/index-production.html
@@ -0,0 +1,16 @@
+
+
+
+
+ Example - example-example55-production
+
+
+
+
+
+
+
+
+ {{ {'name':'value'} | json }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example55/index.html b/1.3.0-rc.2/docs/examples/example-example55/index.html
new file mode 100644
index 0000000000..e889bbb5db
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example55/index.html
@@ -0,0 +1,16 @@
+
+
+
+
+ Example - example-example55
+
+
+
+
+
+
+
+
+ {{ {'name':'value'} | json }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example55/manifest.json b/1.3.0-rc.2/docs/examples/example-example55/manifest.json
new file mode 100644
index 0000000000..faf2f32099
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example55/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example55",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example55/protractor.js b/1.3.0-rc.2/docs/examples/example-example55/protractor.js
new file mode 100644
index 0000000000..b4f5b33fda
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example55/protractor.js
@@ -0,0 +1,3 @@
+ it('should jsonify filtered objects', function() {
+ expect(element(by.binding("{'name':'value'}")).getText()).toMatch(/\{\n "name": ?"value"\n}/);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example56/index-debug.html b/1.3.0-rc.2/docs/examples/example-example56/index-debug.html
new file mode 100644
index 0000000000..e9b7031cb2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example56/index-debug.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-example56-debug
+
+
+
+
+
+
+
+
+
+
+ Limit {{numbers}} to:
+
Output numbers: {{ numbers | limitTo:numLimit }}
+ Limit {{letters}} to:
+
Output letters: {{ letters | limitTo:letterLimit }}
+ Limit {{longNumber}} to:
+
Output long number: {{ longNumber | limitTo:longNumberLimit }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example56/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example56/index-jquery.html
new file mode 100644
index 0000000000..06e1c66caf
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example56/index-jquery.html
@@ -0,0 +1,35 @@
+
+
+
+
+ Example - example-example56-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Limit {{numbers}} to:
+
Output numbers: {{ numbers | limitTo:numLimit }}
+ Limit {{letters}} to:
+
Output letters: {{ letters | limitTo:letterLimit }}
+ Limit {{longNumber}} to:
+
Output long number: {{ longNumber | limitTo:longNumberLimit }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example56/index-production.html b/1.3.0-rc.2/docs/examples/example-example56/index-production.html
new file mode 100644
index 0000000000..4b15bc0f11
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example56/index-production.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-example56-production
+
+
+
+
+
+
+
+
+
+
+ Limit {{numbers}} to:
+
Output numbers: {{ numbers | limitTo:numLimit }}
+ Limit {{letters}} to:
+
Output letters: {{ letters | limitTo:letterLimit }}
+ Limit {{longNumber}} to:
+
Output long number: {{ longNumber | limitTo:longNumberLimit }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example56/index.html b/1.3.0-rc.2/docs/examples/example-example56/index.html
new file mode 100644
index 0000000000..a054890be6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example56/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-example56
+
+
+
+
+
+
+
+
+
+
+ Limit {{numbers}} to:
+
Output numbers: {{ numbers | limitTo:numLimit }}
+ Limit {{letters}} to:
+
Output letters: {{ letters | limitTo:letterLimit }}
+ Limit {{longNumber}} to:
+
Output long number: {{ longNumber | limitTo:longNumberLimit }}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example56/manifest.json b/1.3.0-rc.2/docs/examples/example-example56/manifest.json
new file mode 100644
index 0000000000..883ac7d8f3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example56/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example56",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example56/protractor.js b/1.3.0-rc.2/docs/examples/example-example56/protractor.js
new file mode 100644
index 0000000000..41fcff425b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example56/protractor.js
@@ -0,0 +1,39 @@
+ var numLimitInput = element(by.model('numLimit'));
+ var letterLimitInput = element(by.model('letterLimit'));
+ var longNumberLimitInput = element(by.model('longNumberLimit'));
+ var limitedNumbers = element(by.binding('numbers | limitTo:numLimit'));
+ var limitedLetters = element(by.binding('letters | limitTo:letterLimit'));
+ var limitedLongNumber = element(by.binding('longNumber | limitTo:longNumberLimit'));
+
+ it('should limit the number array to first three items', function() {
+ expect(numLimitInput.getAttribute('value')).toBe('3');
+ expect(letterLimitInput.getAttribute('value')).toBe('3');
+ expect(longNumberLimitInput.getAttribute('value')).toBe('3');
+ expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3]');
+ expect(limitedLetters.getText()).toEqual('Output letters: abc');
+ expect(limitedLongNumber.getText()).toEqual('Output long number: 234');
+ });
+
+ it('should update the output when -3 is entered', function() {
+ numLimitInput.clear();
+ numLimitInput.sendKeys('-3');
+ letterLimitInput.clear();
+ letterLimitInput.sendKeys('-3');
+ longNumberLimitInput.clear();
+ longNumberLimitInput.sendKeys('-3');
+ expect(limitedNumbers.getText()).toEqual('Output numbers: [7,8,9]');
+ expect(limitedLetters.getText()).toEqual('Output letters: ghi');
+ expect(limitedLongNumber.getText()).toEqual('Output long number: 342');
+ });
+
+ it('should not exceed the maximum size of input array', function() {
+ numLimitInput.clear();
+ numLimitInput.sendKeys('100');
+ letterLimitInput.clear();
+ letterLimitInput.sendKeys('100');
+ longNumberLimitInput.clear();
+ longNumberLimitInput.sendKeys('100');
+ expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3,4,5,6,7,8,9]');
+ expect(limitedLetters.getText()).toEqual('Output letters: abcdefghi');
+ expect(limitedLongNumber.getText()).toEqual('Output long number: 2345432342');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example57/index-debug.html b/1.3.0-rc.2/docs/examples/example-example57/index-debug.html
new file mode 100644
index 0000000000..9cff5257e2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example57/index-debug.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Example - example-example57-debug
+
+
+
+
+
+
+
+
+
+
+
Sorting predicate = {{predicate}}; reverse = {{reverse}}
+
+ [
unsorted ]
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example57/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example57/index-jquery.html
new file mode 100644
index 0000000000..fcf19fbd19
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example57/index-jquery.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Example - example-example57-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Sorting predicate = {{predicate}}; reverse = {{reverse}}
+
+ [
unsorted ]
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example57/index-production.html b/1.3.0-rc.2/docs/examples/example-example57/index-production.html
new file mode 100644
index 0000000000..d10c679f93
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example57/index-production.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Example - example-example57-production
+
+
+
+
+
+
+
+
+
+
+
Sorting predicate = {{predicate}}; reverse = {{reverse}}
+
+ [
unsorted ]
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example57/index.html b/1.3.0-rc.2/docs/examples/example-example57/index.html
new file mode 100644
index 0000000000..3fd7ca5d1c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example57/index.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Example - example-example57
+
+
+
+
+
+
+
+
+
+
+
Sorting predicate = {{predicate}}; reverse = {{reverse}}
+
+ [
unsorted ]
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example57/manifest.json b/1.3.0-rc.2/docs/examples/example-example57/manifest.json
new file mode 100644
index 0000000000..d3b7b0e61e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example57/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example57",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example58/index-debug.html b/1.3.0-rc.2/docs/examples/example-example58/index-debug.html
new file mode 100644
index 0000000000..5b02e54b44
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example58/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example58-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example58/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example58/index-jquery.html
new file mode 100644
index 0000000000..a2b45398dd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example58/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example58-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example58/index-production.html b/1.3.0-rc.2/docs/examples/example-example58/index-production.html
new file mode 100644
index 0000000000..6ded19c563
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example58/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example58-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example58/index.html b/1.3.0-rc.2/docs/examples/example-example58/index.html
new file mode 100644
index 0000000000..faf84fcc25
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example58/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example58
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example58/manifest.json b/1.3.0-rc.2/docs/examples/example-example58/manifest.json
new file mode 100644
index 0000000000..d9f3c170af
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example58/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example58",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example58/script.js b/1.3.0-rc.2/docs/examples/example-example58/script.js
new file mode 100644
index 0000000000..697fab5052
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example58/script.js
@@ -0,0 +1,15 @@
+ angular.module('orderByExample', [])
+ .controller('ExampleController', ['$scope', '$filter', function($scope, $filter) {
+ var orderBy = $filter('orderBy');
+ $scope.friends = [
+ { name: 'John', phone: '555-1212', age: 10 },
+ { name: 'Mary', phone: '555-9876', age: 19 },
+ { name: 'Mike', phone: '555-4321', age: 21 },
+ { name: 'Adam', phone: '555-5678', age: 35 },
+ { name: 'Julie', phone: '555-8765', age: 29 }
+ ];
+ $scope.order = function(predicate, reverse) {
+ $scope.friends = orderBy($scope.friends, predicate, reverse);
+ };
+ $scope.order('-age',false);
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example59/http-hello.html b/1.3.0-rc.2/docs/examples/example-example59/http-hello.html
new file mode 100644
index 0000000000..7b24164aa1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example59/http-hello.html
@@ -0,0 +1 @@
+Hello, $http!
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example59/index-debug.html b/1.3.0-rc.2/docs/examples/example-example59/index-debug.html
new file mode 100644
index 0000000000..cf3d5cbd68
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example59/index-debug.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example59-debug
+
+
+
+
+
+
+
+
+
+
+
+ GET
+ JSONP
+
+
+
fetch
+
Sample GET
+
+ Sample JSONP
+
+
+ Invalid JSONP
+
+
http status code: {{status}}
+
http response data: {{data}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example59/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example59/index-jquery.html
new file mode 100644
index 0000000000..de42034bc4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example59/index-jquery.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-example59-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ GET
+ JSONP
+
+
+
fetch
+
Sample GET
+
+ Sample JSONP
+
+
+ Invalid JSONP
+
+
http status code: {{status}}
+
http response data: {{data}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example59/index-production.html b/1.3.0-rc.2/docs/examples/example-example59/index-production.html
new file mode 100644
index 0000000000..1ac229ca7d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example59/index-production.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example59-production
+
+
+
+
+
+
+
+
+
+
+
+ GET
+ JSONP
+
+
+
fetch
+
Sample GET
+
+ Sample JSONP
+
+
+ Invalid JSONP
+
+
http status code: {{status}}
+
http response data: {{data}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example59/index.html b/1.3.0-rc.2/docs/examples/example-example59/index.html
new file mode 100644
index 0000000000..bf6892cb47
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example59/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example59
+
+
+
+
+
+
+
+
+
+
+
+ GET
+ JSONP
+
+
+
fetch
+
Sample GET
+
+ Sample JSONP
+
+
+ Invalid JSONP
+
+
http status code: {{status}}
+
http response data: {{data}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example59/manifest.json b/1.3.0-rc.2/docs/examples/example-example59/manifest.json
new file mode 100644
index 0000000000..b1f9c2c21a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example59/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example59",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "http-hello.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example59/protractor.js b/1.3.0-rc.2/docs/examples/example-example59/protractor.js
new file mode 100644
index 0000000000..60aa1f5a31
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example59/protractor.js
@@ -0,0 +1,28 @@
+var status = element(by.binding('status'));
+var data = element(by.binding('data'));
+var fetchBtn = element(by.id('fetchbtn'));
+var sampleGetBtn = element(by.id('samplegetbtn'));
+var sampleJsonpBtn = element(by.id('samplejsonpbtn'));
+var invalidJsonpBtn = element(by.id('invalidjsonpbtn'));
+
+it('should make an xhr GET request', function() {
+ sampleGetBtn.click();
+ fetchBtn.click();
+ expect(status.getText()).toMatch('200');
+ expect(data.getText()).toMatch(/Hello, \$http!/);
+});
+
+it('should make a JSONP request to angularjs.org', function() {
+ sampleJsonpBtn.click();
+ fetchBtn.click();
+ expect(status.getText()).toMatch('200');
+ expect(data.getText()).toMatch(/Super Hero!/);
+});
+
+it('should make JSONP request to invalid URL and invoke the error handler',
+ function() {
+ invalidJsonpBtn.click();
+ fetchBtn.click();
+ expect(status.getText()).toMatch('0');
+ expect(data.getText()).toMatch('Request failed');
+});
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example59/script.js b/1.3.0-rc.2/docs/examples/example-example59/script.js
new file mode 100644
index 0000000000..7194e6e5ea
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example59/script.js
@@ -0,0 +1,26 @@
+angular.module('httpExample', [])
+ .controller('FetchController', ['$scope', '$http', '$templateCache',
+ function($scope, $http, $templateCache) {
+ $scope.method = 'GET';
+ $scope.url = 'http-hello.html';
+
+ $scope.fetch = function() {
+ $scope.code = null;
+ $scope.response = null;
+
+ $http({method: $scope.method, url: $scope.url, cache: $templateCache}).
+ success(function(data, status) {
+ $scope.status = status;
+ $scope.data = data;
+ }).
+ error(function(data, status) {
+ $scope.data = data || "Request failed";
+ $scope.status = status;
+ });
+ };
+
+ $scope.updateModel = function(method, url) {
+ $scope.method = method;
+ $scope.url = url;
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example6/index-debug.html b/1.3.0-rc.2/docs/examples/example-example6/index-debug.html
new file mode 100644
index 0000000000..8f88289cb3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example6/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example6-debug
+
+
+
+
+
+
+
+
+
+ link 1 (link, don't reload)
+ link 2 (link, don't reload)
+ link 3 (link, reload!)
+ anchor (link, don't reload)
+ anchor (no link)
+ link (link, change location)
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example6/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example6/index-jquery.html
new file mode 100644
index 0000000000..95852f76e2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example6/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example6-jquery
+
+
+
+
+
+
+
+
+
+
+ link 1 (link, don't reload)
+ link 2 (link, don't reload)
+ link 3 (link, reload!)
+ anchor (link, don't reload)
+ anchor (no link)
+ link (link, change location)
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example6/index-production.html b/1.3.0-rc.2/docs/examples/example-example6/index-production.html
new file mode 100644
index 0000000000..39ddaf423a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example6/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example6-production
+
+
+
+
+
+
+
+
+
+ link 1 (link, don't reload)
+ link 2 (link, don't reload)
+ link 3 (link, reload!)
+ anchor (link, don't reload)
+ anchor (no link)
+ link (link, change location)
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example6/index.html b/1.3.0-rc.2/docs/examples/example-example6/index.html
new file mode 100644
index 0000000000..1d526128c0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example6/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example6
+
+
+
+
+
+
+
+
+
+ link 1 (link, don't reload)
+ link 2 (link, don't reload)
+ link 3 (link, reload!)
+ anchor (link, don't reload)
+ anchor (no link)
+ link (link, change location)
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example6/manifest.json b/1.3.0-rc.2/docs/examples/example-example6/manifest.json
new file mode 100644
index 0000000000..a341d49f13
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example6/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example6",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example6/protractor.js b/1.3.0-rc.2/docs/examples/example-example6/protractor.js
new file mode 100644
index 0000000000..bc0baf6ec3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example6/protractor.js
@@ -0,0 +1,54 @@
+ it('should execute ng-click but not reload when href without value', function() {
+ element(by.id('link-1')).click();
+ expect(element(by.model('value')).getAttribute('value')).toEqual('1');
+ expect(element(by.id('link-1')).getAttribute('href')).toBe('');
+ });
+
+ it('should execute ng-click but not reload when href empty string', function() {
+ element(by.id('link-2')).click();
+ expect(element(by.model('value')).getAttribute('value')).toEqual('2');
+ expect(element(by.id('link-2')).getAttribute('href')).toBe('');
+ });
+
+ it('should execute ng-click and change url when ng-href specified', function() {
+ expect(element(by.id('link-3')).getAttribute('href')).toMatch(/\/123$/);
+
+ element(by.id('link-3')).click();
+
+ // At this point, we navigate away from an Angular page, so we need
+ // to use browser.driver to get the base webdriver.
+
+ browser.wait(function() {
+ return browser.driver.getCurrentUrl().then(function(url) {
+ return url.match(/\/123$/);
+ });
+ }, 5000, 'page should navigate to /123');
+ });
+
+ xit('should execute ng-click but not reload when href empty string and name specified', function() {
+ element(by.id('link-4')).click();
+ expect(element(by.model('value')).getAttribute('value')).toEqual('4');
+ expect(element(by.id('link-4')).getAttribute('href')).toBe('');
+ });
+
+ it('should execute ng-click but not reload when no href but name specified', function() {
+ element(by.id('link-5')).click();
+ expect(element(by.model('value')).getAttribute('value')).toEqual('5');
+ expect(element(by.id('link-5')).getAttribute('href')).toBe(null);
+ });
+
+ it('should only change url when only ng-href', function() {
+ element(by.model('value')).clear();
+ element(by.model('value')).sendKeys('6');
+ expect(element(by.id('link-6')).getAttribute('href')).toMatch(/\/6$/);
+
+ element(by.id('link-6')).click();
+
+ // At this point, we navigate away from an Angular page, so we need
+ // to use browser.driver to get the base webdriver.
+ browser.wait(function() {
+ return browser.driver.getCurrentUrl().then(function(url) {
+ return url.match(/\/6$/);
+ });
+ }, 5000, 'page should navigate to /6');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example60/index-debug.html b/1.3.0-rc.2/docs/examples/example-example60/index-debug.html
new file mode 100644
index 0000000000..430567487a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example60/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example60-debug
+
+
+
+
+
+
+
+
+
+
+ //demo.label//
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example60/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example60/index-jquery.html
new file mode 100644
index 0000000000..f4dc77d6a4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example60/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example60-jquery
+
+
+
+
+
+
+
+
+
+
+
+ //demo.label//
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example60/index-production.html b/1.3.0-rc.2/docs/examples/example-example60/index-production.html
new file mode 100644
index 0000000000..8ad484e0a8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example60/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example60-production
+
+
+
+
+
+
+
+
+
+
+ //demo.label//
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example60/index.html b/1.3.0-rc.2/docs/examples/example-example60/index.html
new file mode 100644
index 0000000000..fd2c180a78
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example60/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example60
+
+
+
+
+
+
+
+
+
+
+ //demo.label//
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example60/manifest.json b/1.3.0-rc.2/docs/examples/example-example60/manifest.json
new file mode 100644
index 0000000000..c41e550b73
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example60/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example60",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example60/protractor.js b/1.3.0-rc.2/docs/examples/example-example60/protractor.js
new file mode 100644
index 0000000000..088c6693da
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example60/protractor.js
@@ -0,0 +1,3 @@
+it('should interpolate binding with custom symbols', function() {
+ expect(element(by.binding('demo.label')).getText()).toBe('This binding is brought you by // interpolation symbols.');
+});
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example61/index-debug.html b/1.3.0-rc.2/docs/examples/example-example61/index-debug.html
new file mode 100644
index 0000000000..27f4549c42
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example61/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example61-debug
+
+
+
+
+
+
+
+
+
+
{{apptitle}}: \{\{ username = "defaced value"; \}\}
+
+
{{username}} attempts to inject code which will deface the
+ application, but fails to accomplish their task, because the server has correctly
+ escaped the interpolation start/end markers with REVERSE SOLIDUS U+005C (backslash)
+ characters.
+
Instead, the result of the attempted script injection is visible, and can be removed
+ from the database by an administrator.
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example61/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example61/index-jquery.html
new file mode 100644
index 0000000000..34c1e765a0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example61/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example61-jquery
+
+
+
+
+
+
+
+
+
+
+
{{apptitle}}: \{\{ username = "defaced value"; \}\}
+
+
{{username}} attempts to inject code which will deface the
+ application, but fails to accomplish their task, because the server has correctly
+ escaped the interpolation start/end markers with REVERSE SOLIDUS U+005C (backslash)
+ characters.
+
Instead, the result of the attempted script injection is visible, and can be removed
+ from the database by an administrator.
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example61/index-production.html b/1.3.0-rc.2/docs/examples/example-example61/index-production.html
new file mode 100644
index 0000000000..6a3a236a68
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example61/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example61-production
+
+
+
+
+
+
+
+
+
+
{{apptitle}}: \{\{ username = "defaced value"; \}\}
+
+
{{username}} attempts to inject code which will deface the
+ application, but fails to accomplish their task, because the server has correctly
+ escaped the interpolation start/end markers with REVERSE SOLIDUS U+005C (backslash)
+ characters.
+
Instead, the result of the attempted script injection is visible, and can be removed
+ from the database by an administrator.
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example61/index.html b/1.3.0-rc.2/docs/examples/example-example61/index.html
new file mode 100644
index 0000000000..ec37807298
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example61/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example61
+
+
+
+
+
+
+
+
+
+
{{apptitle}}: \{\{ username = "defaced value"; \}\}
+
+
{{username}} attempts to inject code which will deface the
+ application, but fails to accomplish their task, because the server has correctly
+ escaped the interpolation start/end markers with REVERSE SOLIDUS U+005C (backslash)
+ characters.
+
Instead, the result of the attempted script injection is visible, and can be removed
+ from the database by an administrator.
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example61/manifest.json b/1.3.0-rc.2/docs/examples/example-example61/manifest.json
new file mode 100644
index 0000000000..e453dc5ede
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example61/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example61",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example62/index-debug.html b/1.3.0-rc.2/docs/examples/example-example62/index-debug.html
new file mode 100644
index 0000000000..c6e44d3eb6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example62/index-debug.html
@@ -0,0 +1,98 @@
+
+
+
+
+ Example - example-example62-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+ Blood 1 : {{blood_1}}
+ Blood 2 : {{blood_2}}
+ Fight
+ StopFight
+ resetFight
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example62/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example62/index-jquery.html
new file mode 100644
index 0000000000..c7148014b4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example62/index-jquery.html
@@ -0,0 +1,99 @@
+
+
+
+
+ Example - example-example62-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+ Blood 1 : {{blood_1}}
+ Blood 2 : {{blood_2}}
+ Fight
+ StopFight
+ resetFight
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example62/index-production.html b/1.3.0-rc.2/docs/examples/example-example62/index-production.html
new file mode 100644
index 0000000000..f86f817b66
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example62/index-production.html
@@ -0,0 +1,98 @@
+
+
+
+
+ Example - example-example62-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+ Blood 1 : {{blood_1}}
+ Blood 2 : {{blood_2}}
+ Fight
+ StopFight
+ resetFight
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example62/index.html b/1.3.0-rc.2/docs/examples/example-example62/index.html
new file mode 100644
index 0000000000..e50b436e70
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example62/index.html
@@ -0,0 +1,98 @@
+
+
+
+
+ Example - example-example62
+
+
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+ Blood 1 : {{blood_1}}
+ Blood 2 : {{blood_2}}
+ Fight
+ StopFight
+ resetFight
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example62/manifest.json b/1.3.0-rc.2/docs/examples/example-example62/manifest.json
new file mode 100644
index 0000000000..8e491fc3cd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example62/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example62",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example63/index-debug.html b/1.3.0-rc.2/docs/examples/example-example63/index-debug.html
new file mode 100644
index 0000000000..6e3c2d1236
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example63/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example63-debug
+
+
+
+
+
+
+
+
+
+
+
Reload this page with open console, enter text and hit the log button...
+ Message:
+
+
log
+
warn
+
info
+
error
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example63/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example63/index-jquery.html
new file mode 100644
index 0000000000..c87c260095
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example63/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example63-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Reload this page with open console, enter text and hit the log button...
+ Message:
+
+
log
+
warn
+
info
+
error
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example63/index-production.html b/1.3.0-rc.2/docs/examples/example-example63/index-production.html
new file mode 100644
index 0000000000..62deea0695
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example63/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example63-production
+
+
+
+
+
+
+
+
+
+
+
Reload this page with open console, enter text and hit the log button...
+ Message:
+
+
log
+
warn
+
info
+
error
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example63/index.html b/1.3.0-rc.2/docs/examples/example-example63/index.html
new file mode 100644
index 0000000000..f0b1332413
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example63/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example63
+
+
+
+
+
+
+
+
+
+
+
Reload this page with open console, enter text and hit the log button...
+ Message:
+
+
log
+
warn
+
info
+
error
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example63/manifest.json b/1.3.0-rc.2/docs/examples/example-example63/manifest.json
new file mode 100644
index 0000000000..17fa2ea97f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example63/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example63",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example63/script.js b/1.3.0-rc.2/docs/examples/example-example63/script.js
new file mode 100644
index 0000000000..10d06307c4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example63/script.js
@@ -0,0 +1,5 @@
+ angular.module('logExample', [])
+ .controller('LogController', ['$scope', '$log', function($scope, $log) {
+ $scope.$log = $log;
+ $scope.message = 'Hello World!';
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example64/index-debug.html b/1.3.0-rc.2/docs/examples/example-example64/index-debug.html
new file mode 100644
index 0000000000..6e1786cbed
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example64/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example64-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
User comments
+ By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when
+ $sanitize is available. If $sanitize isn't available, this results in an error instead of an
+ exploit.
+
+
+ {{userComment.name}} :
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example64/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example64/index-jquery.html
new file mode 100644
index 0000000000..741d19fe5b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example64/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example64-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
User comments
+ By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when
+ $sanitize is available. If $sanitize isn't available, this results in an error instead of an
+ exploit.
+
+
+ {{userComment.name}} :
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example64/index-production.html b/1.3.0-rc.2/docs/examples/example-example64/index-production.html
new file mode 100644
index 0000000000..3c6a8ad188
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example64/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example64-production
+
+
+
+
+
+
+
+
+
+
+
+
+
User comments
+ By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when
+ $sanitize is available. If $sanitize isn't available, this results in an error instead of an
+ exploit.
+
+
+ {{userComment.name}} :
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example64/index.html b/1.3.0-rc.2/docs/examples/example-example64/index.html
new file mode 100644
index 0000000000..e9013ffafc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example64/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example64
+
+
+
+
+
+
+
+
+
+
+
+
+
User comments
+ By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when
+ $sanitize is available. If $sanitize isn't available, this results in an error instead of an
+ exploit.
+
+
+ {{userComment.name}} :
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example64/manifest.json b/1.3.0-rc.2/docs/examples/example-example64/manifest.json
new file mode 100644
index 0000000000..738c3be308
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example64/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example64",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "test_data.json",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example64/protractor.js b/1.3.0-rc.2/docs/examples/example-example64/protractor.js
new file mode 100644
index 0000000000..2fea13e447
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example64/protractor.js
@@ -0,0 +1,12 @@
+describe('SCE doc demo', function() {
+ it('should sanitize untrusted values', function() {
+ expect(element.all(by.css('.htmlComment')).first().getInnerHtml())
+ .toBe('Is anyone reading this? ');
+ });
+
+ it('should NOT sanitize explicitly trusted values', function() {
+ expect(element(by.id('explicitlyTrustedHtml')).getInnerHtml()).toBe(
+ 'Hover over this text. ');
+ });
+});
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example64/script.js b/1.3.0-rc.2/docs/examples/example-example64/script.js
new file mode 100644
index 0000000000..df4d91062b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example64/script.js
@@ -0,0 +1,11 @@
+angular.module('mySceApp', ['ngSanitize'])
+ .controller('AppController', ['$http', '$templateCache', '$sce',
+ function($http, $templateCache, $sce) {
+ var self = this;
+ $http.get("test_data.json", {cache: $templateCache}).success(function(userComments) {
+ self.userComments = userComments;
+ });
+ self.explicitlyTrustedHtml = $sce.trustAsHtml(
+ 'Hover over this text. ');
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example64/test_data.json b/1.3.0-rc.2/docs/examples/example-example64/test_data.json
new file mode 100644
index 0000000000..e086b707e3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example64/test_data.json
@@ -0,0 +1,9 @@
+[
+ { "name": "Alice",
+ "htmlComment":
+ "Is anyone reading this? "
+ },
+ { "name": "Bob",
+ "htmlComment": "Yes! Am I the only other one?"
+ }
+]
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example65/index-debug.html b/1.3.0-rc.2/docs/examples/example-example65/index-debug.html
new file mode 100644
index 0000000000..770e4de5f0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example65/index-debug.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example65-debug
+
+
+
+
+
+
+
+
+
+
+
+ ALERT
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example65/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example65/index-jquery.html
new file mode 100644
index 0000000000..f9ca07f6c0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example65/index-jquery.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-example65-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ ALERT
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example65/index-production.html b/1.3.0-rc.2/docs/examples/example-example65/index-production.html
new file mode 100644
index 0000000000..bf68465606
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example65/index-production.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example65-production
+
+
+
+
+
+
+
+
+
+
+
+ ALERT
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example65/index.html b/1.3.0-rc.2/docs/examples/example-example65/index.html
new file mode 100644
index 0000000000..357f726eaa
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example65/index.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example65
+
+
+
+
+
+
+
+
+
+
+
+ ALERT
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example65/manifest.json b/1.3.0-rc.2/docs/examples/example-example65/manifest.json
new file mode 100644
index 0000000000..9211e06155
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example65/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example65",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example65/protractor.js b/1.3.0-rc.2/docs/examples/example-example65/protractor.js
new file mode 100644
index 0000000000..112232d7cf
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example65/protractor.js
@@ -0,0 +1,5 @@
+ it('should display the greeting in the input box', function() {
+ element(by.model('greeting')).sendKeys('Hello, E2E Tests');
+ // If we click the button it will block the test runner
+ // element(':button').click();
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example66/index-debug.html b/1.3.0-rc.2/docs/examples/example-example66/index-debug.html
new file mode 100644
index 0000000000..850b12d16e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example66/index-debug.html
@@ -0,0 +1,60 @@
+
+
+
+
+ Example - example-example66-debug
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Filter
+ Source
+ Rendered
+
+
+ linky filter
+
+ <div ng-bind-html="snippet | linky"> </div>
+
+
+
+
+
+
+ linky target
+
+ <div ng-bind-html="snippetWithTarget | linky:'_blank'"> </div>
+
+
+
+
+
+
+ no filter
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example66/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example66/index-jquery.html
new file mode 100644
index 0000000000..4a66af8210
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example66/index-jquery.html
@@ -0,0 +1,61 @@
+
+
+
+
+
Example - example-example66-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Filter
+ Source
+ Rendered
+
+
+ linky filter
+
+ <div ng-bind-html="snippet | linky"> </div>
+
+
+
+
+
+
+ linky target
+
+ <div ng-bind-html="snippetWithTarget | linky:'_blank'"> </div>
+
+
+
+
+
+
+ no filter
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example66/index-production.html b/1.3.0-rc.2/docs/examples/example-example66/index-production.html
new file mode 100644
index 0000000000..4e4dfb535b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example66/index-production.html
@@ -0,0 +1,60 @@
+
+
+
+
+
Example - example-example66-production
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Filter
+ Source
+ Rendered
+
+
+ linky filter
+
+ <div ng-bind-html="snippet | linky"> </div>
+
+
+
+
+
+
+ linky target
+
+ <div ng-bind-html="snippetWithTarget | linky:'_blank'"> </div>
+
+
+
+
+
+
+ no filter
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example66/index.html b/1.3.0-rc.2/docs/examples/example-example66/index.html
new file mode 100644
index 0000000000..3c91dc219b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example66/index.html
@@ -0,0 +1,60 @@
+
+
+
+
+
Example - example-example66
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Filter
+ Source
+ Rendered
+
+
+ linky filter
+
+ <div ng-bind-html="snippet | linky"> </div>
+
+
+
+
+
+
+ linky target
+
+ <div ng-bind-html="snippetWithTarget | linky:'_blank'"> </div>
+
+
+
+
+
+
+ no filter
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example66/manifest.json b/1.3.0-rc.2/docs/examples/example-example66/manifest.json
new file mode 100644
index 0000000000..e9f018641d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example66/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example66",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example66/protractor.js b/1.3.0-rc.2/docs/examples/example-example66/protractor.js
new file mode 100644
index 0000000000..c6e5a68926
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example66/protractor.js
@@ -0,0 +1,30 @@
+ it('should linkify the snippet with urls', function() {
+ expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()).
+ toBe('Pretty text with some links: http://angularjs.org/, us@somewhere.org, ' +
+ 'another@somewhere.org, and one more: ftp://127.0.0.1/.');
+ expect(element.all(by.css('#linky-filter a')).count()).toEqual(4);
+ });
+
+ it('should not linkify snippet without the linky filter', function() {
+ expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText()).
+ toBe('Pretty text with some links: http://angularjs.org/, mailto:us@somewhere.org, ' +
+ 'another@somewhere.org, and one more: ftp://127.0.0.1/.');
+ expect(element.all(by.css('#escaped-html a')).count()).toEqual(0);
+ });
+
+ it('should update', function() {
+ element(by.model('snippet')).clear();
+ element(by.model('snippet')).sendKeys('new http://link.');
+ expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()).
+ toBe('new http://link.');
+ expect(element.all(by.css('#linky-filter a')).count()).toEqual(1);
+ expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText())
+ .toBe('new http://link.');
+ });
+
+ it('should work with the target property', function() {
+ expect(element(by.id('linky-target')).
+ element(by.binding("snippetWithTarget | linky:'_blank'")).getText()).
+ toBe('http://angularjs.org/');
+ expect(element(by.css('#linky-target a')).getAttribute('target')).toEqual('_blank');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example67/index-debug.html b/1.3.0-rc.2/docs/examples/example-example67/index-debug.html
new file mode 100644
index 0000000000..630f354708
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example67/index-debug.html
@@ -0,0 +1,60 @@
+
+
+
+
+
Example - example-example67-debug
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Directive
+ How
+ Source
+ Rendered
+
+
+ ng-bind-html
+ Automatically uses $sanitize
+ <div ng-bind-html="snippet"> </div>
+
+
+
+ ng-bind-html
+ Bypass $sanitize by explicitly trusting the dangerous value
+
+ <div ng-bind-html="deliberatelyTrustDangerousSnippet()">
+</div>
+
+
+
+
+ ng-bind
+ Automatically escapes
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example67/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example67/index-jquery.html
new file mode 100644
index 0000000000..5f06163597
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example67/index-jquery.html
@@ -0,0 +1,61 @@
+
+
+
+
+
Example - example-example67-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Directive
+ How
+ Source
+ Rendered
+
+
+ ng-bind-html
+ Automatically uses $sanitize
+ <div ng-bind-html="snippet"> </div>
+
+
+
+ ng-bind-html
+ Bypass $sanitize by explicitly trusting the dangerous value
+
+ <div ng-bind-html="deliberatelyTrustDangerousSnippet()">
+</div>
+
+
+
+
+ ng-bind
+ Automatically escapes
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example67/index-production.html b/1.3.0-rc.2/docs/examples/example-example67/index-production.html
new file mode 100644
index 0000000000..17a6c06cf8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example67/index-production.html
@@ -0,0 +1,60 @@
+
+
+
+
+
Example - example-example67-production
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Directive
+ How
+ Source
+ Rendered
+
+
+ ng-bind-html
+ Automatically uses $sanitize
+ <div ng-bind-html="snippet"> </div>
+
+
+
+ ng-bind-html
+ Bypass $sanitize by explicitly trusting the dangerous value
+
+ <div ng-bind-html="deliberatelyTrustDangerousSnippet()">
+</div>
+
+
+
+
+ ng-bind
+ Automatically escapes
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example67/index.html b/1.3.0-rc.2/docs/examples/example-example67/index.html
new file mode 100644
index 0000000000..78d8f2923a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example67/index.html
@@ -0,0 +1,60 @@
+
+
+
+
+
Example - example-example67
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Directive
+ How
+ Source
+ Rendered
+
+
+ ng-bind-html
+ Automatically uses $sanitize
+ <div ng-bind-html="snippet"> </div>
+
+
+
+ ng-bind-html
+ Bypass $sanitize by explicitly trusting the dangerous value
+
+ <div ng-bind-html="deliberatelyTrustDangerousSnippet()">
+</div>
+
+
+
+
+ ng-bind
+ Automatically escapes
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example67/manifest.json b/1.3.0-rc.2/docs/examples/example-example67/manifest.json
new file mode 100644
index 0000000000..0ded652b12
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example67/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example67",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example67/protractor.js b/1.3.0-rc.2/docs/examples/example-example67/protractor.js
new file mode 100644
index 0000000000..b7c6ff71f8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example67/protractor.js
@@ -0,0 +1,29 @@
+ it('should sanitize the html snippet by default', function() {
+ expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()).
+ toBe('
an html\nclick here \nsnippet
');
+ });
+
+ it('should inline raw snippet if bound to a trusted value', function() {
+ expect(element(by.css('#bind-html-with-trust div')).getInnerHtml()).
+ toBe("
an html\n" +
+ "click here \n" +
+ "snippet
");
+ });
+
+ it('should escape snippet without any filter', function() {
+ expect(element(by.css('#bind-default div')).getInnerHtml()).
+ toBe("<p style=\"color:blue\">an html\n" +
+ "<em onmouseover=\"this.textContent='PWN3D!'\">click here</em>\n" +
+ "snippet</p>");
+ });
+
+ it('should update', function() {
+ element(by.model('snippet')).clear();
+ element(by.model('snippet')).sendKeys('new
text ');
+ expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()).
+ toBe('new
text ');
+ expect(element(by.css('#bind-html-with-trust div')).getInnerHtml()).toBe(
+ 'new
text ');
+ expect(element(by.css('#bind-default div')).getInnerHtml()).toBe(
+ "new <b onclick=\"alert(1)\">text</b>");
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example68/index-debug.html b/1.3.0-rc.2/docs/examples/example-example68/index-debug.html
new file mode 100644
index 0000000000..a841c62da5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example68/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example68-debug
+
+
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{ count }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example68/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example68/index-jquery.html
new file mode 100644
index 0000000000..a8384a79cb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example68/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example68-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{ count }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example68/index-production.html b/1.3.0-rc.2/docs/examples/example-example68/index-production.html
new file mode 100644
index 0000000000..b6c77e3b48
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example68/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example68-production
+
+
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{ count }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example68/index.html b/1.3.0-rc.2/docs/examples/example-example68/index.html
new file mode 100644
index 0000000000..f363beda3a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example68/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example68
+
+
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{ count }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example68/manifest.json b/1.3.0-rc.2/docs/examples/example-example68/manifest.json
new file mode 100644
index 0000000000..e93facd577
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example68/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example68",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example68/script.js b/1.3.0-rc.2/docs/examples/example-example68/script.js
new file mode 100644
index 0000000000..7d2b294632
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example68/script.js
@@ -0,0 +1 @@
+ angular.module('ngClickExample', ['ngTouch']);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example69/index-debug.html b/1.3.0-rc.2/docs/examples/example-example69/index-debug.html
new file mode 100644
index 0000000000..a17cec3c2f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example69/index-debug.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example69-debug
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example69/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example69/index-jquery.html
new file mode 100644
index 0000000000..f74cf8008d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example69/index-jquery.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example69-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example69/index-production.html b/1.3.0-rc.2/docs/examples/example-example69/index-production.html
new file mode 100644
index 0000000000..805b5feac7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example69/index-production.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example69-production
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example69/index.html b/1.3.0-rc.2/docs/examples/example-example69/index.html
new file mode 100644
index 0000000000..d446d978a1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example69/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example69
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example69/manifest.json b/1.3.0-rc.2/docs/examples/example-example69/manifest.json
new file mode 100644
index 0000000000..c0a85bfab4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example69/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example69",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example69/script.js b/1.3.0-rc.2/docs/examples/example-example69/script.js
new file mode 100644
index 0000000000..520623ff8b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example69/script.js
@@ -0,0 +1 @@
+ angular.module('ngSwipeLeftExample', ['ngTouch']);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example7/index-debug.html b/1.3.0-rc.2/docs/examples/example-example7/index-debug.html
new file mode 100644
index 0000000000..b1fe76e7b5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example7/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example7-debug
+
+
+
+
+
+
+
+
+ Click me to toggle:
+
Button
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example7/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example7/index-jquery.html
new file mode 100644
index 0000000000..3c46528abb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example7/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example7-jquery
+
+
+
+
+
+
+
+
+
+ Click me to toggle:
+
Button
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example7/index-production.html b/1.3.0-rc.2/docs/examples/example-example7/index-production.html
new file mode 100644
index 0000000000..cb26a1c1cf
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example7/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example7-production
+
+
+
+
+
+
+
+
+ Click me to toggle:
+
Button
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example7/index.html b/1.3.0-rc.2/docs/examples/example-example7/index.html
new file mode 100644
index 0000000000..f0a7c66d70
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example7/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example7
+
+
+
+
+
+
+
+
+ Click me to toggle:
+
Button
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example7/manifest.json b/1.3.0-rc.2/docs/examples/example-example7/manifest.json
new file mode 100644
index 0000000000..7829614265
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example7/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example7",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example7/protractor.js b/1.3.0-rc.2/docs/examples/example-example7/protractor.js
new file mode 100644
index 0000000000..30944fc732
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example7/protractor.js
@@ -0,0 +1,5 @@
+ it('should toggle button', function() {
+ expect(element(by.css('button')).getAttribute('disabled')).toBeFalsy();
+ element(by.model('checked')).click();
+ expect(element(by.css('button')).getAttribute('disabled')).toBeTruthy();
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example70/index-debug.html b/1.3.0-rc.2/docs/examples/example-example70/index-debug.html
new file mode 100644
index 0000000000..e4368466ec
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example70/index-debug.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example70-debug
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example70/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example70/index-jquery.html
new file mode 100644
index 0000000000..8eaa3cd7c6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example70/index-jquery.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example70-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example70/index-production.html b/1.3.0-rc.2/docs/examples/example-example70/index-production.html
new file mode 100644
index 0000000000..6e79ef102c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example70/index-production.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example70-production
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example70/index.html b/1.3.0-rc.2/docs/examples/example-example70/index.html
new file mode 100644
index 0000000000..ea54bbb373
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example70/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example70
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example70/manifest.json b/1.3.0-rc.2/docs/examples/example-example70/manifest.json
new file mode 100644
index 0000000000..243c407a07
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example70/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example70",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example70/script.js b/1.3.0-rc.2/docs/examples/example-example70/script.js
new file mode 100644
index 0000000000..f60025a7ea
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example70/script.js
@@ -0,0 +1 @@
+ angular.module('ngSwipeRightExample', ['ngTouch']);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example71/index-debug.html b/1.3.0-rc.2/docs/examples/example-example71/index-debug.html
new file mode 100644
index 0000000000..8d967e0d41
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example71/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example71-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example71/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example71/index-jquery.html
new file mode 100644
index 0000000000..f34a9be6b1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example71/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example71-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example71/index-production.html b/1.3.0-rc.2/docs/examples/example-example71/index-production.html
new file mode 100644
index 0000000000..75b70dd489
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example71/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example71-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example71/index.html b/1.3.0-rc.2/docs/examples/example-example71/index.html
new file mode 100644
index 0000000000..4a0def4d3e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example71/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example71
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example71/manifest.json b/1.3.0-rc.2/docs/examples/example-example71/manifest.json
new file mode 100644
index 0000000000..e5dc91ccc0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example71/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example71",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example71/script.js b/1.3.0-rc.2/docs/examples/example-example71/script.js
new file mode 100644
index 0000000000..829f430d80
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example71/script.js
@@ -0,0 +1,6 @@
+angular.module('locationExample', [])
+ .controller('LocationController', ['$scope', '$location', function($scope, $location) {
+ $scope.locationPath = function (newLocation) {
+ return $location.path(newLocation);
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example72/animations.css b/1.3.0-rc.2/docs/examples/example-example72/animations.css
new file mode 100644
index 0000000000..dfd330e06a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example72/animations.css
@@ -0,0 +1,14 @@
+ .sample-show-hide {
+ padding:10px;
+ border:1px solid black;
+ background:white;
+ }
+
+ .sample-show-hide {
+ -webkit-transition:all linear 0.5s;
+ transition:all linear 0.5s;
+ }
+
+ .sample-show-hide.ng-hide {
+ opacity:0;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example72/index-debug.html b/1.3.0-rc.2/docs/examples/example-example72/index-debug.html
new file mode 100644
index 0000000000..4e82e70a7d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example72/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example72-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ Is Visible...
+
+
+ Visible...
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example72/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example72/index-jquery.html
new file mode 100644
index 0000000000..be4c7b7fca
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example72/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-example72-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Is Visible...
+
+
+ Visible...
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example72/index-production.html b/1.3.0-rc.2/docs/examples/example-example72/index-production.html
new file mode 100644
index 0000000000..1c2551383d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example72/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example72-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Is Visible...
+
+
+ Visible...
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example72/index.html b/1.3.0-rc.2/docs/examples/example-example72/index.html
new file mode 100644
index 0000000000..e1fff5d042
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example72/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example72
+
+
+
+
+
+
+
+
+
+
+
+
+ Is Visible...
+
+
+ Visible...
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example72/manifest.json b/1.3.0-rc.2/docs/examples/example-example72/manifest.json
new file mode 100644
index 0000000000..815e454413
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example72/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example72",
+ "files": [
+ "index-production.html",
+ "animations.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example73/index-debug.html b/1.3.0-rc.2/docs/examples/example-example73/index-debug.html
new file mode 100644
index 0000000000..4afd312c6d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example73/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example73-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CSS-Animated Text
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example73/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example73/index-jquery.html
new file mode 100644
index 0000000000..05fbbce222
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example73/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example73-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CSS-Animated Text
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example73/index-production.html b/1.3.0-rc.2/docs/examples/example-example73/index-production.html
new file mode 100644
index 0000000000..d7eae4620c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example73/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example73-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CSS-Animated Text
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example73/index.html b/1.3.0-rc.2/docs/examples/example-example73/index.html
new file mode 100644
index 0000000000..af566b72a3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example73/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example73
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CSS-Animated Text
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example73/manifest.json b/1.3.0-rc.2/docs/examples/example-example73/manifest.json
new file mode 100644
index 0000000000..388b18a972
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example73/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example73",
+ "files": [
+ "index-production.html",
+ "style.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example73/style.css b/1.3.0-rc.2/docs/examples/example-example73/style.css
new file mode 100644
index 0000000000..f2edcab030
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example73/style.css
@@ -0,0 +1,17 @@
+ .css-class-add, .css-class-remove {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ -moz-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ -o-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ }
+
+ .css-class,
+ .css-class-add.css-class-add-active {
+ color: red;
+ font-size:3em;
+ }
+
+ .css-class-remove.css-class-remove-active {
+ font-size:1.0em;
+ color:black;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example74/index-debug.html b/1.3.0-rc.2/docs/examples/example-example74/index-debug.html
new file mode 100644
index 0000000000..56f57f0465
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example74/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example74-debug
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example74/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example74/index-jquery.html
new file mode 100644
index 0000000000..746235674d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example74/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example74-jquery
+
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example74/index-production.html b/1.3.0-rc.2/docs/examples/example-example74/index-production.html
new file mode 100644
index 0000000000..cd585ffc94
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example74/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example74-production
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example74/index.html b/1.3.0-rc.2/docs/examples/example-example74/index.html
new file mode 100644
index 0000000000..63a8deb0df
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example74/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example74
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example74/manifest.json b/1.3.0-rc.2/docs/examples/example-example74/manifest.json
new file mode 100644
index 0000000000..19f9d39d90
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example74/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example74",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example74/script.js b/1.3.0-rc.2/docs/examples/example-example74/script.js
new file mode 100644
index 0000000000..73b02f3071
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example74/script.js
@@ -0,0 +1,34 @@
+ angular.module('drag', []).
+ directive('draggable', function($document) {
+ return function(scope, element, attr) {
+ var startX = 0, startY = 0, x = 0, y = 0;
+ element.css({
+ position: 'relative',
+ border: '1px solid red',
+ backgroundColor: 'lightgrey',
+ cursor: 'pointer'
+ });
+ element.on('mousedown', function(event) {
+ // Prevent default dragging of selected content
+ event.preventDefault();
+ startX = event.screenX - x;
+ startY = event.screenY - y;
+ $document.on('mousemove', mousemove);
+ $document.on('mouseup', mouseup);
+ });
+
+ function mousemove(event) {
+ y = event.screenY - startY;
+ x = event.screenX - startX;
+ element.css({
+ top: y + 'px',
+ left: x + 'px'
+ });
+ }
+
+ function mouseup() {
+ $document.off('mousemove', mousemove);
+ $document.off('mouseup', mouseup);
+ }
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example75/app.js b/1.3.0-rc.2/docs/examples/example-example75/app.js
new file mode 100644
index 0000000000..02a28d9a32
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example75/app.js
@@ -0,0 +1,13 @@
+ var myApp = angular.module('spicyApp1', []);
+
+ myApp.controller('SpicyController', ['$scope', function($scope) {
+ $scope.spice = 'very';
+
+ $scope.chiliSpicy = function() {
+ $scope.spice = 'chili';
+ };
+
+ $scope.jalapenoSpicy = function() {
+ $scope.spice = 'jalapeño';
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example75/index-debug.html b/1.3.0-rc.2/docs/examples/example-example75/index-debug.html
new file mode 100644
index 0000000000..10775e330f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example75/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example75-debug
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Jalapeño
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example75/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example75/index-jquery.html
new file mode 100644
index 0000000000..b5313299ac
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example75/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example75-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Jalapeño
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example75/index-production.html b/1.3.0-rc.2/docs/examples/example-example75/index-production.html
new file mode 100644
index 0000000000..cad66ebaad
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example75/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example75-production
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Jalapeño
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example75/index.html b/1.3.0-rc.2/docs/examples/example-example75/index.html
new file mode 100644
index 0000000000..213913ec1a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example75/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example75
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Jalapeño
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example75/manifest.json b/1.3.0-rc.2/docs/examples/example-example75/manifest.json
new file mode 100644
index 0000000000..c987b51b9f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example75/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example75",
+ "files": [
+ "index-production.html",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example76/app.js b/1.3.0-rc.2/docs/examples/example-example76/app.js
new file mode 100644
index 0000000000..7f190a715a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example76/app.js
@@ -0,0 +1,10 @@
+ var myApp = angular.module('spicyApp2', []);
+
+ myApp.controller('SpicyController', ['$scope', function($scope) {
+ $scope.customSpice = "wasabi";
+ $scope.spice = 'very';
+
+ $scope.spicy = function(spice) {
+ $scope.spice = spice;
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example76/index-debug.html b/1.3.0-rc.2/docs/examples/example-example76/index-debug.html
new file mode 100644
index 0000000000..8daf0d1209
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example76/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example76-debug
+
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Custom spice
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example76/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example76/index-jquery.html
new file mode 100644
index 0000000000..8536c9346d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example76/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example76-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Custom spice
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example76/index-production.html b/1.3.0-rc.2/docs/examples/example-example76/index-production.html
new file mode 100644
index 0000000000..50327b5f37
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example76/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example76-production
+
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Custom spice
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example76/index.html b/1.3.0-rc.2/docs/examples/example-example76/index.html
new file mode 100644
index 0000000000..0645806281
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example76/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example76
+
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Custom spice
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example76/manifest.json b/1.3.0-rc.2/docs/examples/example-example76/manifest.json
new file mode 100644
index 0000000000..92c3546b6a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example76/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example76",
+ "files": [
+ "index-production.html",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example77/app.css b/1.3.0-rc.2/docs/examples/example-example77/app.css
new file mode 100644
index 0000000000..a0b18351dc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example77/app.css
@@ -0,0 +1,4 @@
+ div.spicy div {
+ padding: 10px;
+ border: solid 2px blue;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example77/app.js b/1.3.0-rc.2/docs/examples/example-example77/app.js
new file mode 100644
index 0000000000..4ed3297e38
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example77/app.js
@@ -0,0 +1,12 @@
+ var myApp = angular.module('scopeInheritance', []);
+ myApp.controller('MainController', ['$scope', function($scope) {
+ $scope.timeOfDay = 'morning';
+ $scope.name = 'Nikki';
+ }]);
+ myApp.controller('ChildController', ['$scope', function($scope) {
+ $scope.name = 'Mattie';
+ }]);
+ myApp.controller('GrandChildController', ['$scope', function($scope) {
+ $scope.timeOfDay = 'evening';
+ $scope.name = 'Gingerbread Baby';
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example77/index-debug.html b/1.3.0-rc.2/docs/examples/example-example77/index-debug.html
new file mode 100644
index 0000000000..23bb06746e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example77/index-debug.html
@@ -0,0 +1,30 @@
+
+
+
+
+
Example - example-example77-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example77/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example77/index-jquery.html
new file mode 100644
index 0000000000..186ffffe93
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example77/index-jquery.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-example77-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example77/index-production.html b/1.3.0-rc.2/docs/examples/example-example77/index-production.html
new file mode 100644
index 0000000000..a3b0ec5200
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example77/index-production.html
@@ -0,0 +1,30 @@
+
+
+
+
+
Example - example-example77-production
+
+
+
+
+
+
+
+
+
+
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example77/index.html b/1.3.0-rc.2/docs/examples/example-example77/index.html
new file mode 100644
index 0000000000..bcfc6d01b7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example77/index.html
@@ -0,0 +1,30 @@
+
+
+
+
+
Example - example-example77
+
+
+
+
+
+
+
+
+
+
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example77/manifest.json b/1.3.0-rc.2/docs/examples/example-example77/manifest.json
new file mode 100644
index 0000000000..6e4b533122
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example77/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example77",
+ "files": [
+ "index-production.html",
+ "app.css",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example78/index-debug.html b/1.3.0-rc.2/docs/examples/example-example78/index-debug.html
new file mode 100644
index 0000000000..0364f0782a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example78/index-debug.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example78-debug
+
+
+
+
+
+
+
+
+
+
+ Hello
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example78/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example78/index-jquery.html
new file mode 100644
index 0000000000..0ae4a071d6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example78/index-jquery.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example78-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example78/index-production.html b/1.3.0-rc.2/docs/examples/example-example78/index-production.html
new file mode 100644
index 0000000000..a7c36d17d8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example78/index-production.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example78-production
+
+
+
+
+
+
+
+
+
+
+ Hello
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example78/index.html b/1.3.0-rc.2/docs/examples/example-example78/index.html
new file mode 100644
index 0000000000..ecc76a44a2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example78/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example78
+
+
+
+
+
+
+
+
+
+
+ Hello
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example78/manifest.json b/1.3.0-rc.2/docs/examples/example-example78/manifest.json
new file mode 100644
index 0000000000..54a2f2c1df
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example78/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example78",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example78/protractor.js b/1.3.0-rc.2/docs/examples/example-example78/protractor.js
new file mode 100644
index 0000000000..21ddb4594a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example78/protractor.js
@@ -0,0 +1,4 @@
+ it('should show off bindings', function() {
+ expect(element(by.css('div[ng-controller="Controller"] span[ng-bind]')).getText())
+ .toBe('Max Karl Ernst Ludwig Planck (April 23, 1858 – October 4, 1947)');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example78/script.js b/1.3.0-rc.2/docs/examples/example-example78/script.js
new file mode 100644
index 0000000000..5e18c6c932
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example78/script.js
@@ -0,0 +1,4 @@
+ angular.module('docsBindExample', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.name = 'Max Karl Ernst Ludwig Planck (April 23, 1858 – October 4, 1947)';
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example79/index-debug.html b/1.3.0-rc.2/docs/examples/example-example79/index-debug.html
new file mode 100644
index 0000000000..fb946a2583
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example79/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example79-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example79/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example79/index-jquery.html
new file mode 100644
index 0000000000..1048b917fd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example79/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example79-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example79/index-production.html b/1.3.0-rc.2/docs/examples/example-example79/index-production.html
new file mode 100644
index 0000000000..69afda8c05
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example79/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example79-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example79/index.html b/1.3.0-rc.2/docs/examples/example-example79/index.html
new file mode 100644
index 0000000000..0b21bd35f1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example79/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example79
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example79/manifest.json b/1.3.0-rc.2/docs/examples/example-example79/manifest.json
new file mode 100644
index 0000000000..2db54edf27
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example79/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example79",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example79/script.js b/1.3.0-rc.2/docs/examples/example-example79/script.js
new file mode 100644
index 0000000000..79becdf4d1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example79/script.js
@@ -0,0 +1,12 @@
+ angular.module('docsSimpleDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.customer = {
+ name: 'Naomi',
+ address: '1600 Amphitheatre'
+ };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ template: 'Name: {{customer.name}} Address: {{customer.address}}'
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example8/index-debug.html b/1.3.0-rc.2/docs/examples/example-example8/index-debug.html
new file mode 100644
index 0000000000..b00350c865
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example8/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example8-debug
+
+
+
+
+
+
+
+
+ Check me to check both:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example8/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example8/index-jquery.html
new file mode 100644
index 0000000000..cc87f46305
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example8/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example8-jquery
+
+
+
+
+
+
+
+
+
+ Check me to check both:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example8/index-production.html b/1.3.0-rc.2/docs/examples/example-example8/index-production.html
new file mode 100644
index 0000000000..0b075383b9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example8/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example8-production
+
+
+
+
+
+
+
+
+ Check me to check both:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example8/index.html b/1.3.0-rc.2/docs/examples/example-example8/index.html
new file mode 100644
index 0000000000..1e0f5562d8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example8/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example8
+
+
+
+
+
+
+
+
+ Check me to check both:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example8/manifest.json b/1.3.0-rc.2/docs/examples/example-example8/manifest.json
new file mode 100644
index 0000000000..5bef30fecc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example8/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example8",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example8/protractor.js b/1.3.0-rc.2/docs/examples/example-example8/protractor.js
new file mode 100644
index 0000000000..eb76243835
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example8/protractor.js
@@ -0,0 +1,5 @@
+ it('should check both checkBoxes', function() {
+ expect(element(by.id('checkSlave')).getAttribute('checked')).toBeFalsy();
+ element(by.model('master')).click();
+ expect(element(by.id('checkSlave')).getAttribute('checked')).toBeTruthy();
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example80/index-debug.html b/1.3.0-rc.2/docs/examples/example-example80/index-debug.html
new file mode 100644
index 0000000000..9690c07cb8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example80/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example80-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example80/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example80/index-jquery.html
new file mode 100644
index 0000000000..10416d2ddb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example80/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example80-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example80/index-production.html b/1.3.0-rc.2/docs/examples/example-example80/index-production.html
new file mode 100644
index 0000000000..13742a354a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example80/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example80-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example80/index.html b/1.3.0-rc.2/docs/examples/example-example80/index.html
new file mode 100644
index 0000000000..1c00f16766
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example80/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example80
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example80/manifest.json b/1.3.0-rc.2/docs/examples/example-example80/manifest.json
new file mode 100644
index 0000000000..8f8f6db1bd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example80/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example80",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-customer.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example80/my-customer.html b/1.3.0-rc.2/docs/examples/example-example80/my-customer.html
new file mode 100644
index 0000000000..82930dca78
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example80/my-customer.html
@@ -0,0 +1 @@
+ Name: {{customer.name}} Address: {{customer.address}}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example80/script.js b/1.3.0-rc.2/docs/examples/example-example80/script.js
new file mode 100644
index 0000000000..75e0299e50
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example80/script.js
@@ -0,0 +1,12 @@
+ angular.module('docsTemplateUrlDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.customer = {
+ name: 'Naomi',
+ address: '1600 Amphitheatre'
+ };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ templateUrl: 'my-customer.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example81/index-debug.html b/1.3.0-rc.2/docs/examples/example-example81/index-debug.html
new file mode 100644
index 0000000000..426dbd2a5a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example81/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example81-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example81/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example81/index-jquery.html
new file mode 100644
index 0000000000..904201a045
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example81/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example81-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example81/index-production.html b/1.3.0-rc.2/docs/examples/example-example81/index-production.html
new file mode 100644
index 0000000000..84fb3d3778
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example81/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example81-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example81/index.html b/1.3.0-rc.2/docs/examples/example-example81/index.html
new file mode 100644
index 0000000000..43a559433b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example81/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example81
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example81/manifest.json b/1.3.0-rc.2/docs/examples/example-example81/manifest.json
new file mode 100644
index 0000000000..4df54b6ddf
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example81/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example81",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-customer.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example81/my-customer.html b/1.3.0-rc.2/docs/examples/example-example81/my-customer.html
new file mode 100644
index 0000000000..82930dca78
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example81/my-customer.html
@@ -0,0 +1 @@
+ Name: {{customer.name}} Address: {{customer.address}}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example81/script.js b/1.3.0-rc.2/docs/examples/example-example81/script.js
new file mode 100644
index 0000000000..255a1d2fea
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example81/script.js
@@ -0,0 +1,13 @@
+ angular.module('docsRestrictDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.customer = {
+ name: 'Naomi',
+ address: '1600 Amphitheatre'
+ };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ restrict: 'E',
+ templateUrl: 'my-customer.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example82/index-debug.html b/1.3.0-rc.2/docs/examples/example-example82/index-debug.html
new file mode 100644
index 0000000000..ada682a585
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example82/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example82-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example82/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example82/index-jquery.html
new file mode 100644
index 0000000000..5473c7a6e3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example82/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example82-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example82/index-production.html b/1.3.0-rc.2/docs/examples/example-example82/index-production.html
new file mode 100644
index 0000000000..80d379267b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example82/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example82-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example82/index.html b/1.3.0-rc.2/docs/examples/example-example82/index.html
new file mode 100644
index 0000000000..b8ed4a7eb2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example82/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example82
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example82/manifest.json b/1.3.0-rc.2/docs/examples/example-example82/manifest.json
new file mode 100644
index 0000000000..e22bf0a7d3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example82/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example82",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-customer.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example82/my-customer.html b/1.3.0-rc.2/docs/examples/example-example82/my-customer.html
new file mode 100644
index 0000000000..82930dca78
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example82/my-customer.html
@@ -0,0 +1 @@
+ Name: {{customer.name}} Address: {{customer.address}}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example82/script.js b/1.3.0-rc.2/docs/examples/example-example82/script.js
new file mode 100644
index 0000000000..80c41e79da
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example82/script.js
@@ -0,0 +1,19 @@
+ angular.module('docsScopeProblemExample', [])
+ .controller('NaomiController', ['$scope', function($scope) {
+ $scope.customer = {
+ name: 'Naomi',
+ address: '1600 Amphitheatre'
+ };
+ }])
+ .controller('IgorController', ['$scope', function($scope) {
+ $scope.customer = {
+ name: 'Igor',
+ address: '123 Somewhere'
+ };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ restrict: 'E',
+ templateUrl: 'my-customer.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example83/index-debug.html b/1.3.0-rc.2/docs/examples/example-example83/index-debug.html
new file mode 100644
index 0000000000..651600eb82
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example83/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example83-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example83/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example83/index-jquery.html
new file mode 100644
index 0000000000..1eb2a5c3d7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example83/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example83-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example83/index-production.html b/1.3.0-rc.2/docs/examples/example-example83/index-production.html
new file mode 100644
index 0000000000..74310e7f47
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example83/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example83-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example83/index.html b/1.3.0-rc.2/docs/examples/example-example83/index.html
new file mode 100644
index 0000000000..b9fc1a3d4f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example83/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example83
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example83/manifest.json b/1.3.0-rc.2/docs/examples/example-example83/manifest.json
new file mode 100644
index 0000000000..96f033b29c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example83/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example83",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-customer-iso.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example83/my-customer-iso.html b/1.3.0-rc.2/docs/examples/example-example83/my-customer-iso.html
new file mode 100644
index 0000000000..2b0eedf2b2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example83/my-customer-iso.html
@@ -0,0 +1 @@
+ Name: {{customerInfo.name}} Address: {{customerInfo.address}}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example83/script.js b/1.3.0-rc.2/docs/examples/example-example83/script.js
new file mode 100644
index 0000000000..e9d0706f31
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example83/script.js
@@ -0,0 +1,14 @@
+ angular.module('docsIsolateScopeDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.naomi = { name: 'Naomi', address: '1600 Amphitheatre' };
+ $scope.igor = { name: 'Igor', address: '123 Somewhere' };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ restrict: 'E',
+ scope: {
+ customerInfo: '=info'
+ },
+ templateUrl: 'my-customer-iso.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example84/index-debug.html b/1.3.0-rc.2/docs/examples/example-example84/index-debug.html
new file mode 100644
index 0000000000..c9f0da1534
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example84/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example84-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example84/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example84/index-jquery.html
new file mode 100644
index 0000000000..2fa15a3ab2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example84/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example84-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example84/index-production.html b/1.3.0-rc.2/docs/examples/example-example84/index-production.html
new file mode 100644
index 0000000000..a9f6725e33
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example84/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example84-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example84/index.html b/1.3.0-rc.2/docs/examples/example-example84/index.html
new file mode 100644
index 0000000000..8e4c31fc01
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example84/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example84
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example84/manifest.json b/1.3.0-rc.2/docs/examples/example-example84/manifest.json
new file mode 100644
index 0000000000..defe805aa8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example84/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example84",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-customer-plus-vojta.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example84/my-customer-plus-vojta.html b/1.3.0-rc.2/docs/examples/example-example84/my-customer-plus-vojta.html
new file mode 100644
index 0000000000..51a938b478
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example84/my-customer-plus-vojta.html
@@ -0,0 +1,3 @@
+ Name: {{customerInfo.name}} Address: {{customerInfo.address}}
+
+ Name: {{vojta.name}} Address: {{vojta.address}}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example84/script.js b/1.3.0-rc.2/docs/examples/example-example84/script.js
new file mode 100644
index 0000000000..f9c88a51bd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example84/script.js
@@ -0,0 +1,14 @@
+ angular.module('docsIsolationExample', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.naomi = { name: 'Naomi', address: '1600 Amphitheatre' };
+ $scope.vojta = { name: 'Vojta', address: '3456 Somewhere Else' };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ restrict: 'E',
+ scope: {
+ customerInfo: '=info'
+ },
+ templateUrl: 'my-customer-plus-vojta.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example85/index-debug.html b/1.3.0-rc.2/docs/examples/example-example85/index-debug.html
new file mode 100644
index 0000000000..eeda93bdd7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example85/index-debug.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example85-debug
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example85/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example85/index-jquery.html
new file mode 100644
index 0000000000..9eba1f1dab
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example85/index-jquery.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example85-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example85/index-production.html b/1.3.0-rc.2/docs/examples/example-example85/index-production.html
new file mode 100644
index 0000000000..7ecd9965ef
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example85/index-production.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example85-production
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example85/index.html b/1.3.0-rc.2/docs/examples/example-example85/index.html
new file mode 100644
index 0000000000..9a0015be23
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example85/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example85
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example85/manifest.json b/1.3.0-rc.2/docs/examples/example-example85/manifest.json
new file mode 100644
index 0000000000..d28a0ae28a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example85/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example85",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example85/script.js b/1.3.0-rc.2/docs/examples/example-example85/script.js
new file mode 100644
index 0000000000..3408c950bb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example85/script.js
@@ -0,0 +1,33 @@
+ angular.module('docsTimeDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.format = 'M/d/yy h:mm:ss a';
+ }])
+ .directive('myCurrentTime', ['$interval', 'dateFilter', function($interval, dateFilter) {
+
+ function link(scope, element, attrs) {
+ var format,
+ timeoutId;
+
+ function updateTime() {
+ element.text(dateFilter(new Date(), format));
+ }
+
+ scope.$watch(attrs.myCurrentTime, function(value) {
+ format = value;
+ updateTime();
+ });
+
+ element.on('$destroy', function() {
+ $interval.cancel(timeoutId);
+ });
+
+ // start the UI update process; save the timeoutId for canceling
+ timeoutId = $interval(function() {
+ updateTime(); // update DOM
+ }, 1000);
+ }
+
+ return {
+ link: link
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example86/index-debug.html b/1.3.0-rc.2/docs/examples/example-example86/index-debug.html
new file mode 100644
index 0000000000..55cde082a5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example86/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example86-debug
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example86/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example86/index-jquery.html
new file mode 100644
index 0000000000..ff5dd3b511
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example86/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example86-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example86/index-production.html b/1.3.0-rc.2/docs/examples/example-example86/index-production.html
new file mode 100644
index 0000000000..de06e1ede5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example86/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example86-production
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example86/index.html b/1.3.0-rc.2/docs/examples/example-example86/index.html
new file mode 100644
index 0000000000..a89a8de0a8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example86/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example86
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example86/manifest.json b/1.3.0-rc.2/docs/examples/example-example86/manifest.json
new file mode 100644
index 0000000000..5e67a3e0eb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example86/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example86",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-dialog.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example86/my-dialog.html b/1.3.0-rc.2/docs/examples/example-example86/my-dialog.html
new file mode 100644
index 0000000000..58c4f39c28
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example86/my-dialog.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example86/script.js b/1.3.0-rc.2/docs/examples/example-example86/script.js
new file mode 100644
index 0000000000..966f97a434
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example86/script.js
@@ -0,0 +1,11 @@
+ angular.module('docsTransclusionDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.name = 'Tobias';
+ }])
+ .directive('myDialog', function() {
+ return {
+ restrict: 'E',
+ transclude: true,
+ templateUrl: 'my-dialog.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example87/index-debug.html b/1.3.0-rc.2/docs/examples/example-example87/index-debug.html
new file mode 100644
index 0000000000..ebbbcaa25d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example87/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example87-debug
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example87/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example87/index-jquery.html
new file mode 100644
index 0000000000..be4d6a3ab6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example87/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example87-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example87/index-production.html b/1.3.0-rc.2/docs/examples/example-example87/index-production.html
new file mode 100644
index 0000000000..2e6694318b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example87/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example87-production
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example87/index.html b/1.3.0-rc.2/docs/examples/example-example87/index.html
new file mode 100644
index 0000000000..61fec18624
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example87/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example87
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example87/manifest.json b/1.3.0-rc.2/docs/examples/example-example87/manifest.json
new file mode 100644
index 0000000000..4411aea038
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example87/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example87",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-dialog.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example87/my-dialog.html b/1.3.0-rc.2/docs/examples/example-example87/my-dialog.html
new file mode 100644
index 0000000000..58c4f39c28
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example87/my-dialog.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example87/script.js b/1.3.0-rc.2/docs/examples/example-example87/script.js
new file mode 100644
index 0000000000..a73ba663be
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example87/script.js
@@ -0,0 +1,15 @@
+ angular.module('docsTransclusionExample', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.name = 'Tobias';
+ }])
+ .directive('myDialog', function() {
+ return {
+ restrict: 'E',
+ transclude: true,
+ scope: {},
+ templateUrl: 'my-dialog.html',
+ link: function (scope, element) {
+ scope.name = 'Jeff';
+ }
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example88/index-debug.html b/1.3.0-rc.2/docs/examples/example-example88/index-debug.html
new file mode 100644
index 0000000000..2449c85c2a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example88/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example88-debug
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example88/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example88/index-jquery.html
new file mode 100644
index 0000000000..a41ad848ab
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example88/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example88-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example88/index-production.html b/1.3.0-rc.2/docs/examples/example-example88/index-production.html
new file mode 100644
index 0000000000..27ae941f5c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example88/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example88-production
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example88/index.html b/1.3.0-rc.2/docs/examples/example-example88/index.html
new file mode 100644
index 0000000000..2462110ef6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example88/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example88
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example88/manifest.json b/1.3.0-rc.2/docs/examples/example-example88/manifest.json
new file mode 100644
index 0000000000..73393efd69
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example88/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example88",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-dialog-close.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example88/my-dialog-close.html b/1.3.0-rc.2/docs/examples/example-example88/my-dialog-close.html
new file mode 100644
index 0000000000..1d12ba2b8d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example88/my-dialog-close.html
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example88/script.js b/1.3.0-rc.2/docs/examples/example-example88/script.js
new file mode 100644
index 0000000000..df71bddfd5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example88/script.js
@@ -0,0 +1,20 @@
+ angular.module('docsIsoFnBindExample', [])
+ .controller('Controller', ['$scope', '$timeout', function($scope, $timeout) {
+ $scope.name = 'Tobias';
+ $scope.hideDialog = function () {
+ $scope.dialogIsHidden = true;
+ $timeout(function () {
+ $scope.dialogIsHidden = false;
+ }, 2000);
+ };
+ }])
+ .directive('myDialog', function() {
+ return {
+ restrict: 'E',
+ transclude: true,
+ scope: {
+ 'close': '&onClose'
+ },
+ templateUrl: 'my-dialog-close.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example89/index-debug.html b/1.3.0-rc.2/docs/examples/example-example89/index-debug.html
new file mode 100644
index 0000000000..ebd349d7eb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example89/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example89-debug
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example89/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example89/index-jquery.html
new file mode 100644
index 0000000000..d07642ff02
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example89/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example89-jquery
+
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example89/index-production.html b/1.3.0-rc.2/docs/examples/example-example89/index-production.html
new file mode 100644
index 0000000000..97d6fe7043
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example89/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example89-production
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example89/index.html b/1.3.0-rc.2/docs/examples/example-example89/index.html
new file mode 100644
index 0000000000..b5f46dca68
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example89/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example89
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example89/manifest.json b/1.3.0-rc.2/docs/examples/example-example89/manifest.json
new file mode 100644
index 0000000000..fe7f812e32
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example89/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example89",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example89/script.js b/1.3.0-rc.2/docs/examples/example-example89/script.js
new file mode 100644
index 0000000000..c6169d9af0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example89/script.js
@@ -0,0 +1,36 @@
+ angular.module('dragModule', [])
+ .directive('myDraggable', ['$document', function($document) {
+ return function(scope, element, attr) {
+ var startX = 0, startY = 0, x = 0, y = 0;
+
+ element.css({
+ position: 'relative',
+ border: '1px solid red',
+ backgroundColor: 'lightgrey',
+ cursor: 'pointer'
+ });
+
+ element.on('mousedown', function(event) {
+ // Prevent default dragging of selected content
+ event.preventDefault();
+ startX = event.pageX - x;
+ startY = event.pageY - y;
+ $document.on('mousemove', mousemove);
+ $document.on('mouseup', mouseup);
+ });
+
+ function mousemove(event) {
+ y = event.pageY - startY;
+ x = event.pageX - startX;
+ element.css({
+ top: y + 'px',
+ left: x + 'px'
+ });
+ }
+
+ function mouseup() {
+ $document.off('mousemove', mousemove);
+ $document.off('mouseup', mouseup);
+ }
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example9/index-debug.html b/1.3.0-rc.2/docs/examples/example-example9/index-debug.html
new file mode 100644
index 0000000000..3900b0c23b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example9/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example9-debug
+
+
+
+
+
+
+
+
+ Check me to make text readonly:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example9/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example9/index-jquery.html
new file mode 100644
index 0000000000..369e7a3e00
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example9/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example9-jquery
+
+
+
+
+
+
+
+
+
+ Check me to make text readonly:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example9/index-production.html b/1.3.0-rc.2/docs/examples/example-example9/index-production.html
new file mode 100644
index 0000000000..e4c01176b5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example9/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example9-production
+
+
+
+
+
+
+
+
+ Check me to make text readonly:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example9/index.html b/1.3.0-rc.2/docs/examples/example-example9/index.html
new file mode 100644
index 0000000000..db327b65e0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example9/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example9
+
+
+
+
+
+
+
+
+ Check me to make text readonly:
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example9/manifest.json b/1.3.0-rc.2/docs/examples/example-example9/manifest.json
new file mode 100644
index 0000000000..3cb447e2b1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example9/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example9",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example9/protractor.js b/1.3.0-rc.2/docs/examples/example-example9/protractor.js
new file mode 100644
index 0000000000..0f91387342
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example9/protractor.js
@@ -0,0 +1,5 @@
+ it('should toggle readonly attr', function() {
+ expect(element(by.css('[type="text"]')).getAttribute('readonly')).toBeFalsy();
+ element(by.model('checked')).click();
+ expect(element(by.css('[type="text"]')).getAttribute('readonly')).toBeTruthy();
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example90/index-debug.html b/1.3.0-rc.2/docs/examples/example-example90/index-debug.html
new file mode 100644
index 0000000000..361a9e725d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example90/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example90-debug
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+ Lorem ipsum dolor sit amet
+
+
+ World
+ Mauris elementum elementum enim at suscipit.
+ counter: {{i || 0}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example90/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example90/index-jquery.html
new file mode 100644
index 0000000000..b204a010c4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example90/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+
Example - example-example90-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+ Lorem ipsum dolor sit amet
+
+
+ World
+ Mauris elementum elementum enim at suscipit.
+ counter: {{i || 0}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example90/index-production.html b/1.3.0-rc.2/docs/examples/example-example90/index-production.html
new file mode 100644
index 0000000000..d987fa5a6a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example90/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example90-production
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+ Lorem ipsum dolor sit amet
+
+
+ World
+ Mauris elementum elementum enim at suscipit.
+ counter: {{i || 0}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example90/index.html b/1.3.0-rc.2/docs/examples/example-example90/index.html
new file mode 100644
index 0000000000..91b8eb8d0c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example90/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example90
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+ Lorem ipsum dolor sit amet
+
+
+ World
+ Mauris elementum elementum enim at suscipit.
+ counter: {{i || 0}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example90/manifest.json b/1.3.0-rc.2/docs/examples/example-example90/manifest.json
new file mode 100644
index 0000000000..3298bf3613
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example90/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example90",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-tabs.html",
+ "my-pane.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example90/my-pane.html b/1.3.0-rc.2/docs/examples/example-example90/my-pane.html
new file mode 100644
index 0000000000..1e74f5dc12
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example90/my-pane.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example90/my-tabs.html b/1.3.0-rc.2/docs/examples/example-example90/my-tabs.html
new file mode 100644
index 0000000000..d14f733e64
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example90/my-tabs.html
@@ -0,0 +1,8 @@
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example90/script.js b/1.3.0-rc.2/docs/examples/example-example90/script.js
new file mode 100644
index 0000000000..8c959bbfc8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example90/script.js
@@ -0,0 +1,40 @@
+ angular.module('docsTabsExample', [])
+ .directive('myTabs', function() {
+ return {
+ restrict: 'E',
+ transclude: true,
+ scope: {},
+ controller: function($scope) {
+ var panes = $scope.panes = [];
+
+ $scope.select = function(pane) {
+ angular.forEach(panes, function(pane) {
+ pane.selected = false;
+ });
+ pane.selected = true;
+ };
+
+ this.addPane = function(pane) {
+ if (panes.length === 0) {
+ $scope.select(pane);
+ }
+ panes.push(pane);
+ };
+ },
+ templateUrl: 'my-tabs.html'
+ };
+ })
+ .directive('myPane', function() {
+ return {
+ require: '^myTabs',
+ restrict: 'E',
+ transclude: true,
+ scope: {
+ title: '@'
+ },
+ link: function(scope, element, attrs, tabsCtrl) {
+ tabsCtrl.addPane(scope);
+ },
+ templateUrl: 'my-pane.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example91/index-debug.html b/1.3.0-rc.2/docs/examples/example-example91/index-debug.html
new file mode 100644
index 0000000000..52dd590d98
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example91/index-debug.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example91-debug
+
+
+
+
+
+
+
+
+
+ 1+2={{1+2}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example91/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example91/index-jquery.html
new file mode 100644
index 0000000000..cf373a6d32
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example91/index-jquery.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example91-jquery
+
+
+
+
+
+
+
+
+
+
+ 1+2={{1+2}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example91/index-production.html b/1.3.0-rc.2/docs/examples/example-example91/index-production.html
new file mode 100644
index 0000000000..9eeb0903f9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example91/index-production.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example91-production
+
+
+
+
+
+
+
+
+
+ 1+2={{1+2}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example91/index.html b/1.3.0-rc.2/docs/examples/example-example91/index.html
new file mode 100644
index 0000000000..dd23f44479
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example91/index.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example91
+
+
+
+
+
+
+
+
+
+ 1+2={{1+2}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example91/manifest.json b/1.3.0-rc.2/docs/examples/example-example91/manifest.json
new file mode 100644
index 0000000000..2f231d02ae
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example91/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example91",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example91/protractor.js b/1.3.0-rc.2/docs/examples/example-example91/protractor.js
new file mode 100644
index 0000000000..3e639c677f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example91/protractor.js
@@ -0,0 +1,3 @@
+ it('should calculate expression in binding', function() {
+ expect(element(by.binding('1+2')).getText()).toEqual('1+2=3');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example92/index-debug.html b/1.3.0-rc.2/docs/examples/example-example92/index-debug.html
new file mode 100644
index 0000000000..1fc6b102ab
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example92/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example92-debug
+
+
+
+
+
+
+
+
+
+
+ Expression:
+
+
Evaluate
+
+
+ [ X ]
+ {{expr}} =>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example92/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example92/index-jquery.html
new file mode 100644
index 0000000000..3aa474e9d9
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example92/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+
Example - example-example92-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Expression:
+
+
Evaluate
+
+
+ [ X ]
+ {{expr}} =>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example92/index-production.html b/1.3.0-rc.2/docs/examples/example-example92/index-production.html
new file mode 100644
index 0000000000..e3658f77da
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example92/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example92-production
+
+
+
+
+
+
+
+
+
+
+ Expression:
+
+
Evaluate
+
+
+ [ X ]
+ {{expr}} =>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example92/index.html b/1.3.0-rc.2/docs/examples/example-example92/index.html
new file mode 100644
index 0000000000..b365c25a99
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example92/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example92
+
+
+
+
+
+
+
+
+
+
+ Expression:
+
+
Evaluate
+
+
+ [ X ]
+ {{expr}} =>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example92/manifest.json b/1.3.0-rc.2/docs/examples/example-example92/manifest.json
new file mode 100644
index 0000000000..4d4a94b196
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example92/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example92",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example92/protractor.js b/1.3.0-rc.2/docs/examples/example-example92/protractor.js
new file mode 100644
index 0000000000..1f4b38d161
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example92/protractor.js
@@ -0,0 +1,6 @@
+ it('should allow user expression testing', function() {
+ element(by.css('.expressions button')).click();
+ var lis = element(by.css('.expressions ul')).all(by.repeater('expr in exprs'));
+ expect(lis.count()).toBe(1);
+ expect(lis.get(0).getText()).toEqual('[ X ] 3*10|currency => $30.00');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example92/script.js b/1.3.0-rc.2/docs/examples/example-example92/script.js
new file mode 100644
index 0000000000..aa781ae87a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example92/script.js
@@ -0,0 +1,12 @@
+ angular.module('expressionExample', [])
+ .controller('ExampleController', ['$scope', function($scope) {
+ var exprs = $scope.exprs = [];
+ $scope.expr = '3*10|currency';
+ $scope.addExp = function(expr) {
+ exprs.push(expr);
+ };
+
+ $scope.removeExp = function(index) {
+ exprs.splice(index, 1);
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example93/index-debug.html b/1.3.0-rc.2/docs/examples/example-example93/index-debug.html
new file mode 100644
index 0000000000..7ed5f6f4c8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example93/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example93-debug
+
+
+
+
+
+
+
+
+
+
+ Name:
+ Greet
+ Won't greet
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example93/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example93/index-jquery.html
new file mode 100644
index 0000000000..eb14179148
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example93/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example93-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+ Greet
+ Won't greet
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example93/index-production.html b/1.3.0-rc.2/docs/examples/example-example93/index-production.html
new file mode 100644
index 0000000000..1be8e5c069
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example93/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example93-production
+
+
+
+
+
+
+
+
+
+
+ Name:
+ Greet
+ Won't greet
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example93/index.html b/1.3.0-rc.2/docs/examples/example-example93/index.html
new file mode 100644
index 0000000000..3a87f76c10
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example93/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example93
+
+
+
+
+
+
+
+
+
+
+ Name:
+ Greet
+ Won't greet
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example93/manifest.json b/1.3.0-rc.2/docs/examples/example-example93/manifest.json
new file mode 100644
index 0000000000..dee9c55234
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example93/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example93",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example93/protractor.js b/1.3.0-rc.2/docs/examples/example-example93/protractor.js
new file mode 100644
index 0000000000..8c58cbe69f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example93/protractor.js
@@ -0,0 +1,13 @@
+ it('should calculate expression in binding', function() {
+ if (browser.params.browser == 'safari') {
+ // Safari can't handle dialogs.
+ return;
+ }
+ element(by.css('[ng-click="greet()"]')).click();
+
+ var alertDialog = browser.switchTo().alert();
+
+ expect(alertDialog.getText()).toEqual('Hello World');
+
+ alertDialog.accept();
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example93/script.js b/1.3.0-rc.2/docs/examples/example-example93/script.js
new file mode 100644
index 0000000000..26d074c730
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example93/script.js
@@ -0,0 +1,8 @@
+ angular.module('expressionExample', [])
+ .controller('ExampleController', ['$window', '$scope', function($window, $scope) {
+ $scope.name = 'World';
+
+ $scope.greet = function() {
+ $window.alert('Hello ' + $scope.name);
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example94/index-debug.html b/1.3.0-rc.2/docs/examples/example-example94/index-debug.html
new file mode 100644
index 0000000000..f0d3681ea5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example94/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example94-debug
+
+
+
+
+
+
+
+
+
+
+
Event
+
$event
:
{{$event | json}}
+
clickEvent
:
{{clickEvent | json}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example94/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example94/index-jquery.html
new file mode 100644
index 0000000000..84f817502e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example94/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example94-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Event
+
$event
:
{{$event | json}}
+
clickEvent
:
{{clickEvent | json}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example94/index-production.html b/1.3.0-rc.2/docs/examples/example-example94/index-production.html
new file mode 100644
index 0000000000..41ebcb0444
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example94/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example94-production
+
+
+
+
+
+
+
+
+
+
+
Event
+
$event
:
{{$event | json}}
+
clickEvent
:
{{clickEvent | json}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example94/index.html b/1.3.0-rc.2/docs/examples/example-example94/index.html
new file mode 100644
index 0000000000..bf1ddb551d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example94/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example94
+
+
+
+
+
+
+
+
+
+
+
Event
+
$event
:
{{$event | json}}
+
clickEvent
:
{{clickEvent | json}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example94/manifest.json b/1.3.0-rc.2/docs/examples/example-example94/manifest.json
new file mode 100644
index 0000000000..606492f417
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example94/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example94",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example94/script.js b/1.3.0-rc.2/docs/examples/example-example94/script.js
new file mode 100644
index 0000000000..62a9590de2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example94/script.js
@@ -0,0 +1,21 @@
+ angular.module('eventExampleApp', []).
+ controller('EventController', ['$scope', function($scope) {
+ /*
+ * expose the event object to the scope
+ */
+ $scope.clickMe = function(clickEvent) {
+ $scope.clickEvent = simpleKeys(clickEvent);
+ console.log(clickEvent);
+ };
+
+ /*
+ * return a copy of an object with only non-object keys
+ * we need this to avoid circular references
+ */
+ function simpleKeys (original) {
+ return Object.keys(original).reduce(function (obj, key) {
+ obj[key] = typeof original[key] === 'object' ? '{ ... }' : original[key];
+ return obj;
+ }, {});
+ }
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example95/index-debug.html b/1.3.0-rc.2/docs/examples/example-example95/index-debug.html
new file mode 100644
index 0000000000..579b0c215a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example95/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example95-debug
+
+
+
+
+
+
+
+
+
+
+
Click Me
+
One time binding: {{::name}}
+
Normal binding: {{name}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example95/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example95/index-jquery.html
new file mode 100644
index 0000000000..78b3208e2a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example95/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example95-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Click Me
+
One time binding: {{::name}}
+
Normal binding: {{name}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example95/index-production.html b/1.3.0-rc.2/docs/examples/example-example95/index-production.html
new file mode 100644
index 0000000000..ae52f3f109
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example95/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example95-production
+
+
+
+
+
+
+
+
+
+
+
Click Me
+
One time binding: {{::name}}
+
Normal binding: {{name}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example95/index.html b/1.3.0-rc.2/docs/examples/example-example95/index.html
new file mode 100644
index 0000000000..b683b60e3e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example95/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example95
+
+
+
+
+
+
+
+
+
+
+
Click Me
+
One time binding: {{::name}}
+
Normal binding: {{name}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example95/manifest.json b/1.3.0-rc.2/docs/examples/example-example95/manifest.json
new file mode 100644
index 0000000000..5656293161
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example95/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example95",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example95/protractor.js b/1.3.0-rc.2/docs/examples/example-example95/protractor.js
new file mode 100644
index 0000000000..01a0759cb4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example95/protractor.js
@@ -0,0 +1,21 @@
+ it('should freeze binding after its value has stabilized', function() {
+ var oneTimeBiding = element(by.id('one-time-binding-example'));
+ var normalBinding = element(by.id('normal-binding-example'));
+
+ expect(oneTimeBiding.getText()).toEqual('One time binding:');
+ expect(normalBinding.getText()).toEqual('Normal binding:');
+ element(by.buttonText('Click Me')).click();
+
+ expect(oneTimeBiding.getText()).toEqual('One time binding: Igor');
+ expect(normalBinding.getText()).toEqual('Normal binding: Igor');
+ element(by.buttonText('Click Me')).click();
+
+ expect(oneTimeBiding.getText()).toEqual('One time binding: Igor');
+ expect(normalBinding.getText()).toEqual('Normal binding: Misko');
+
+ element(by.buttonText('Click Me')).click();
+ element(by.buttonText('Click Me')).click();
+
+ expect(oneTimeBiding.getText()).toEqual('One time binding: Igor');
+ expect(normalBinding.getText()).toEqual('Normal binding: Lucas');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example95/script.js b/1.3.0-rc.2/docs/examples/example-example95/script.js
new file mode 100644
index 0000000000..9cc252e10d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example95/script.js
@@ -0,0 +1,12 @@
+ angular.module('oneTimeBidingExampleApp', []).
+ controller('EventController', ['$scope', function($scope) {
+ var counter = 0;
+ var names = ['Igor', 'Misko', 'Chirayu', 'Lucas'];
+ /*
+ * expose the event object to the scope
+ */
+ $scope.clickMe = function(clickEvent) {
+ $scope.name = names[counter % names.length];
+ counter++;
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example96/index-debug.html b/1.3.0-rc.2/docs/examples/example-example96/index-debug.html
new file mode 100644
index 0000000000..18bd7991ad
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example96/index-debug.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-example96-debug
+
+
+
+
+
+
+
+
+
+
+
+ All entries:
+ {{entry.name}}
+
+
+ Entries that contain an "a":
+ {{entry.name}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example96/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example96/index-jquery.html
new file mode 100644
index 0000000000..78488f5680
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example96/index-jquery.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example96-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ All entries:
+ {{entry.name}}
+
+
+ Entries that contain an "a":
+ {{entry.name}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example96/index-production.html b/1.3.0-rc.2/docs/examples/example-example96/index-production.html
new file mode 100644
index 0000000000..808e97c779
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example96/index-production.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-example96-production
+
+
+
+
+
+
+
+
+
+
+
+ All entries:
+ {{entry.name}}
+
+
+ Entries that contain an "a":
+ {{entry.name}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example96/index.html b/1.3.0-rc.2/docs/examples/example-example96/index.html
new file mode 100644
index 0000000000..6701052412
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example96/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-example96
+
+
+
+
+
+
+
+
+
+
+
+ All entries:
+ {{entry.name}}
+
+
+ Entries that contain an "a":
+ {{entry.name}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example96/manifest.json b/1.3.0-rc.2/docs/examples/example-example96/manifest.json
new file mode 100644
index 0000000000..678da01494
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example96/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example96",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example96/script.js b/1.3.0-rc.2/docs/examples/example-example96/script.js
new file mode 100644
index 0000000000..7a28c9b184
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example96/script.js
@@ -0,0 +1,12 @@
+ angular.module('FilterInControllerModule', []).
+ controller('FilterController', ['filterFilter', function(filterFilter) {
+ this.array = [
+ {name: 'Tobias'},
+ {name: 'Jeff'},
+ {name: 'Brian'},
+ {name: 'Igor'},
+ {name: 'James'},
+ {name: 'Brad'}
+ ];
+ this.filteredArray = filterFilter(this.array, 'a');
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example97/index-debug.html b/1.3.0-rc.2/docs/examples/example-example97/index-debug.html
new file mode 100644
index 0000000000..6275df3ae5
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example97/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example97-debug
+
+
+
+
+
+
+
+
+
+
+
+ No filter: {{greeting}}
+ Reverse: {{greeting|reverse}}
+ Reverse + uppercase: {{greeting|reverse:true}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example97/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example97/index-jquery.html
new file mode 100644
index 0000000000..322f9e4c92
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example97/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example97-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ No filter: {{greeting}}
+ Reverse: {{greeting|reverse}}
+ Reverse + uppercase: {{greeting|reverse:true}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example97/index-production.html b/1.3.0-rc.2/docs/examples/example-example97/index-production.html
new file mode 100644
index 0000000000..84f54a125c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example97/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example97-production
+
+
+
+
+
+
+
+
+
+
+
+ No filter: {{greeting}}
+ Reverse: {{greeting|reverse}}
+ Reverse + uppercase: {{greeting|reverse:true}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example97/index.html b/1.3.0-rc.2/docs/examples/example-example97/index.html
new file mode 100644
index 0000000000..09c850af57
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example97/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example97
+
+
+
+
+
+
+
+
+
+
+
+ No filter: {{greeting}}
+ Reverse: {{greeting|reverse}}
+ Reverse + uppercase: {{greeting|reverse:true}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example97/manifest.json b/1.3.0-rc.2/docs/examples/example-example97/manifest.json
new file mode 100644
index 0000000000..e546d0bb42
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example97/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example97",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example97/script.js b/1.3.0-rc.2/docs/examples/example-example97/script.js
new file mode 100644
index 0000000000..6b746ca9b2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example97/script.js
@@ -0,0 +1,18 @@
+ angular.module('myReverseFilterApp', [])
+ .filter('reverse', function() {
+ return function(input, uppercase) {
+ input = input || '';
+ var out = "";
+ for (var i = 0; i < input.length; i++) {
+ out = input.charAt(i) + out;
+ }
+ // conditional based on optional argument
+ if (uppercase) {
+ out = out.toUpperCase();
+ }
+ return out;
+ };
+ })
+ .controller('MyController', ['$scope', function($scope) {
+ $scope.greeting = 'hello';
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example98/index-debug.html b/1.3.0-rc.2/docs/examples/example-example98/index-debug.html
new file mode 100644
index 0000000000..b62a569bc4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example98/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example98-debug
+
+
+
+
+
+
+
+
+
+
+ Input:
+ Decoration:
+ No filter: {{greeting}}
+ Reverse: {{greeting | decorate}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example98/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example98/index-jquery.html
new file mode 100644
index 0000000000..b1f37f3a5c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example98/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example98-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Input:
+ Decoration:
+ No filter: {{greeting}}
+ Reverse: {{greeting | decorate}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example98/index-production.html b/1.3.0-rc.2/docs/examples/example-example98/index-production.html
new file mode 100644
index 0000000000..029cffb152
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example98/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example98-production
+
+
+
+
+
+
+
+
+
+
+ Input:
+ Decoration:
+ No filter: {{greeting}}
+ Reverse: {{greeting | decorate}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example98/index.html b/1.3.0-rc.2/docs/examples/example-example98/index.html
new file mode 100644
index 0000000000..d8edca6be8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example98/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example98
+
+
+
+
+
+
+
+
+
+
+ Input:
+ Decoration:
+ No filter: {{greeting}}
+ Reverse: {{greeting | decorate}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example98/manifest.json b/1.3.0-rc.2/docs/examples/example-example98/manifest.json
new file mode 100644
index 0000000000..dc90892fd3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example98/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example98",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example98/script.js b/1.3.0-rc.2/docs/examples/example-example98/script.js
new file mode 100644
index 0000000000..7ecced753f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example98/script.js
@@ -0,0 +1,15 @@
+ angular.module('myStatefulFilterApp', [])
+ .filter('decorate', ['decoration', function(decoration) {
+
+ function decorateFilter(input) {
+ return decoration.symbol + input + decoration.symbol;
+ }
+ decorateFilter.$stateful = true;
+
+ return decorateFilter;
+ }])
+ .controller('MyController', ['$scope', 'decoration', function($scope, decoration) {
+ $scope.greeting = 'hello';
+ $scope.decoration = decoration;
+ }])
+ .value('decoration', {symbol: '*'});
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example99/index-debug.html b/1.3.0-rc.2/docs/examples/example-example99/index-debug.html
new file mode 100644
index 0000000000..3aefc5fc5a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example99/index-debug.html
@@ -0,0 +1,44 @@
+
+
+
+
+
Example - example-example99-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example99/index-jquery.html b/1.3.0-rc.2/docs/examples/example-example99/index-jquery.html
new file mode 100644
index 0000000000..d9eabe04a8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example99/index-jquery.html
@@ -0,0 +1,45 @@
+
+
+
+
+
Example - example-example99-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example99/index-production.html b/1.3.0-rc.2/docs/examples/example-example99/index-production.html
new file mode 100644
index 0000000000..9328ab6846
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example99/index-production.html
@@ -0,0 +1,44 @@
+
+
+
+
+
Example - example-example99-production
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example99/index.html b/1.3.0-rc.2/docs/examples/example-example99/index.html
new file mode 100644
index 0000000000..5900bd937d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example99/index.html
@@ -0,0 +1,44 @@
+
+
+
+
+
Example - example-example99
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-example99/manifest.json b/1.3.0-rc.2/docs/examples/example-example99/manifest.json
new file mode 100644
index 0000000000..f14d04ca1c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-example99/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example99",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index-debug.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index-debug.html
new file mode 100644
index 0000000000..ef2e362032
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-guide-concepts-1-debug
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+
+ Total: {{qty * cost | currency}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index-jquery.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index-jquery.html
new file mode 100644
index 0000000000..2059182899
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+
Example - example-guide-concepts-1-jquery
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+
+ Total: {{qty * cost | currency}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index-production.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index-production.html
new file mode 100644
index 0000000000..15358a8f7a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-guide-concepts-1-production
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+
+ Total: {{qty * cost | currency}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index.html
new file mode 100644
index 0000000000..52f982663a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-1/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-guide-concepts-1
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+
+ Total: {{qty * cost | currency}}
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-1/manifest.json b/1.3.0-rc.2/docs/examples/example-guide-concepts-1/manifest.json
new file mode 100644
index 0000000000..f4c83905a1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-1/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-guide-concepts-1",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index-debug.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index-debug.html
new file mode 100644
index 0000000000..e654e392a6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index-debug.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-guide-concepts-2-debug
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index-jquery.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index-jquery.html
new file mode 100644
index 0000000000..2b72cd1562
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index-jquery.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-2-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index-production.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index-production.html
new file mode 100644
index 0000000000..1d87174d1f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index-production.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-guide-concepts-2-production
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index.html
new file mode 100644
index 0000000000..07dd1decd7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-guide-concepts-2
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-2/invoice1.js b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/invoice1.js
new file mode 100644
index 0000000000..4d65f22276
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/invoice1.js
@@ -0,0 +1,22 @@
+ angular.module('invoice1', [])
+ .controller('InvoiceController', function() {
+ this.qty = 1;
+ this.cost = 2;
+ this.inCurr = 'EUR';
+ this.currencies = ['USD', 'EUR', 'CNY'];
+ this.usdToForeignRates = {
+ USD: 1,
+ EUR: 0.74,
+ CNY: 6.09
+ };
+
+ this.total = function total(outCurr) {
+ return this.convertCurrency(this.qty * this.cost, this.inCurr, outCurr);
+ };
+ this.convertCurrency = function convertCurrency(amount, inCurr, outCurr) {
+ return amount * this.usdToForeignRates[outCurr] / this.usdToForeignRates[inCurr];
+ };
+ this.pay = function pay() {
+ window.alert("Thanks!");
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-2/manifest.json b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/manifest.json
new file mode 100644
index 0000000000..9c6af114cc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-2/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-guide-concepts-2",
+ "files": [
+ "index-production.html",
+ "invoice1.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-21/finance2.js b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/finance2.js
new file mode 100644
index 0000000000..270108aedb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/finance2.js
@@ -0,0 +1,17 @@
+ angular.module('finance2', [])
+ .factory('currencyConverter', function() {
+ var currencies = ['USD', 'EUR', 'CNY'];
+ var usdToForeignRates = {
+ USD: 1,
+ EUR: 0.74,
+ CNY: 6.09
+ };
+ var convert = function (amount, inCurr, outCurr) {
+ return amount * usdToForeignRates[outCurr] / usdToForeignRates[inCurr];
+ };
+
+ return {
+ currencies: currencies,
+ convert: convert
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index-debug.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index-debug.html
new file mode 100644
index 0000000000..9cf4b21977
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index-debug.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-21-debug
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index-jquery.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index-jquery.html
new file mode 100644
index 0000000000..7e217839c6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index-jquery.html
@@ -0,0 +1,37 @@
+
+
+
+
+
Example - example-guide-concepts-21-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index-production.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index-production.html
new file mode 100644
index 0000000000..94f2ef9f34
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index-production.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-21-production
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index.html
new file mode 100644
index 0000000000..6db7750472
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-21
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-21/invoice2.js b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/invoice2.js
new file mode 100644
index 0000000000..77caa7ebf0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/invoice2.js
@@ -0,0 +1,14 @@
+ angular.module('invoice2', ['finance2'])
+ .controller('InvoiceController', ['currencyConverter', function(currencyConverter) {
+ this.qty = 1;
+ this.cost = 2;
+ this.inCurr = 'EUR';
+ this.currencies = currencyConverter.currencies;
+
+ this.total = function total(outCurr) {
+ return currencyConverter.convert(this.qty * this.cost, this.inCurr, outCurr);
+ };
+ this.pay = function pay() {
+ window.alert("Thanks!");
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-21/manifest.json b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/manifest.json
new file mode 100644
index 0000000000..036dcd520a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-21/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-guide-concepts-21",
+ "files": [
+ "index-production.html",
+ "finance2.js",
+ "invoice2.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-3/finance3.js b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/finance3.js
new file mode 100644
index 0000000000..c768dd1893
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/finance3.js
@@ -0,0 +1,34 @@
+ angular.module('finance3', [])
+ .factory('currencyConverter', ['$http', function($http) {
+ var YAHOO_FINANCE_URL_PATTERN =
+ '//query.yahooapis.com/v1/public/yql?q=select * from '+
+ 'yahoo.finance.xchange where pair in ("PAIRS")&format=json&'+
+ 'env=store://datatables.org/alltableswithkeys&callback=JSON_CALLBACK';
+ var currencies = ['USD', 'EUR', 'CNY'];
+ var usdToForeignRates = {};
+
+ var convert = function (amount, inCurr, outCurr) {
+ return amount * usdToForeignRates[outCurr] / usdToForeignRates[inCurr];
+ };
+
+ var refresh = function() {
+ var url = YAHOO_FINANCE_URL_PATTERN.
+ replace('PAIRS', 'USD' + currencies.join('","USD'));
+ return $http.jsonp(url).success(function(data) {
+ var newUsdToForeignRates = {};
+ angular.forEach(data.query.results.rate, function(rate) {
+ var currency = rate.id.substring(3,6);
+ newUsdToForeignRates[currency] = window.parseFloat(rate.Rate);
+ });
+ usdToForeignRates = newUsdToForeignRates;
+ });
+ };
+
+ refresh();
+
+ return {
+ currencies: currencies,
+ convert: convert,
+ refresh: refresh
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index-debug.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index-debug.html
new file mode 100644
index 0000000000..95583dfdac
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index-debug.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-3-debug
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index-jquery.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index-jquery.html
new file mode 100644
index 0000000000..bd925e92aa
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index-jquery.html
@@ -0,0 +1,37 @@
+
+
+
+
+
Example - example-guide-concepts-3-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index-production.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index-production.html
new file mode 100644
index 0000000000..763a80c72b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index-production.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-3-production
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index.html b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index.html
new file mode 100644
index 0000000000..9480e5c379
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-3
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-3/invoice3.js b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/invoice3.js
new file mode 100644
index 0000000000..d9b1640be0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/invoice3.js
@@ -0,0 +1,14 @@
+ angular.module('invoice3', ['finance3'])
+ .controller('InvoiceController', ['currencyConverter', function(currencyConverter) {
+ this.qty = 1;
+ this.cost = 2;
+ this.inCurr = 'EUR';
+ this.currencies = currencyConverter.currencies;
+
+ this.total = function total(outCurr) {
+ return currencyConverter.convert(this.qty * this.cost, this.inCurr, outCurr);
+ };
+ this.pay = function pay() {
+ window.alert("Thanks!");
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-guide-concepts-3/manifest.json b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/manifest.json
new file mode 100644
index 0000000000..4581d36108
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-guide-concepts-3/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-guide-concepts-3",
+ "files": [
+ "index-production.html",
+ "invoice3.js",
+ "finance3.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-input-directive/index-debug.html
new file mode 100644
index 0000000000..9a2fd647bd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-input-directive/index-debug.html
@@ -0,0 +1,44 @@
+
+
+
+
+
Example - example-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+
+ User name:
+
+ Required!
+ Last name:
+
+ Too short!
+
+ Too long!
+
+
+ user = {{user}}
+ myForm.userName.$valid = {{myForm.userName.$valid}}
+ myForm.userName.$error = {{myForm.userName.$error}}
+ myForm.lastName.$valid = {{myForm.lastName.$valid}}
+ myForm.lastName.$error = {{myForm.lastName.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.minlength = {{!!myForm.$error.minlength}}
+ myForm.$error.maxlength = {{!!myForm.$error.maxlength}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-input-directive/index-jquery.html
new file mode 100644
index 0000000000..ff49180caa
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-input-directive/index-jquery.html
@@ -0,0 +1,45 @@
+
+
+
+
+
Example - example-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ User name:
+
+ Required!
+ Last name:
+
+ Too short!
+
+ Too long!
+
+
+ user = {{user}}
+ myForm.userName.$valid = {{myForm.userName.$valid}}
+ myForm.userName.$error = {{myForm.userName.$error}}
+ myForm.lastName.$valid = {{myForm.lastName.$valid}}
+ myForm.lastName.$error = {{myForm.lastName.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.minlength = {{!!myForm.$error.minlength}}
+ myForm.$error.maxlength = {{!!myForm.$error.maxlength}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-input-directive/index-production.html
new file mode 100644
index 0000000000..009873d40b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-input-directive/index-production.html
@@ -0,0 +1,44 @@
+
+
+
+
+
Example - example-input-directive-production
+
+
+
+
+
+
+
+
+
+
+
+ User name:
+
+ Required!
+ Last name:
+
+ Too short!
+
+ Too long!
+
+
+ user = {{user}}
+ myForm.userName.$valid = {{myForm.userName.$valid}}
+ myForm.userName.$error = {{myForm.userName.$error}}
+ myForm.lastName.$valid = {{myForm.lastName.$valid}}
+ myForm.lastName.$error = {{myForm.lastName.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.minlength = {{!!myForm.$error.minlength}}
+ myForm.$error.maxlength = {{!!myForm.$error.maxlength}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-input-directive/index.html
new file mode 100644
index 0000000000..bf756c240d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-input-directive/index.html
@@ -0,0 +1,44 @@
+
+
+
+
+
Example - example-input-directive
+
+
+
+
+
+
+
+
+
+
+
+ User name:
+
+ Required!
+ Last name:
+
+ Too short!
+
+ Too long!
+
+
+ user = {{user}}
+ myForm.userName.$valid = {{myForm.userName.$valid}}
+ myForm.userName.$error = {{myForm.userName.$error}}
+ myForm.lastName.$valid = {{myForm.lastName.$valid}}
+ myForm.lastName.$error = {{myForm.lastName.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.minlength = {{!!myForm.$error.minlength}}
+ myForm.$error.maxlength = {{!!myForm.$error.maxlength}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-input-directive/manifest.json
new file mode 100644
index 0000000000..b4c6da9122
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-input-directive/protractor.js
new file mode 100644
index 0000000000..d591e61566
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-input-directive/protractor.js
@@ -0,0 +1,51 @@
+ var user = element(by.exactBinding('user'));
+ var userNameValid = element(by.binding('myForm.userName.$valid'));
+ var lastNameValid = element(by.binding('myForm.lastName.$valid'));
+ var lastNameError = element(by.binding('myForm.lastName.$error'));
+ var formValid = element(by.binding('myForm.$valid'));
+ var userNameInput = element(by.model('user.name'));
+ var userLastInput = element(by.model('user.last'));
+
+ it('should initialize to model', function() {
+ expect(user.getText()).toContain('{"name":"guest","last":"visitor"}');
+ expect(userNameValid.getText()).toContain('true');
+ expect(formValid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty when required', function() {
+ userNameInput.clear();
+ userNameInput.sendKeys('');
+
+ expect(user.getText()).toContain('{"last":"visitor"}');
+ expect(userNameValid.getText()).toContain('false');
+ expect(formValid.getText()).toContain('false');
+ });
+
+ it('should be valid if empty when min length is set', function() {
+ userLastInput.clear();
+ userLastInput.sendKeys('');
+
+ expect(user.getText()).toContain('{"name":"guest","last":""}');
+ expect(lastNameValid.getText()).toContain('true');
+ expect(formValid.getText()).toContain('true');
+ });
+
+ it('should be invalid if less than required min length', function() {
+ userLastInput.clear();
+ userLastInput.sendKeys('xx');
+
+ expect(user.getText()).toContain('{"name":"guest"}');
+ expect(lastNameValid.getText()).toContain('false');
+ expect(lastNameError.getText()).toContain('minlength');
+ expect(formValid.getText()).toContain('false');
+ });
+
+ it('should be invalid if longer than max length', function() {
+ userLastInput.clear();
+ userLastInput.sendKeys('some ridiculously long name');
+
+ expect(user.getText()).toContain('{"name":"guest"}');
+ expect(lastNameValid.getText()).toContain('false');
+ expect(lastNameError.getText()).toContain('maxlength');
+ expect(formValid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/addressBar.js b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/addressBar.js
new file mode 100644
index 0000000000..18d61630bc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/addressBar.js
@@ -0,0 +1,24 @@
+ angular.module('address-bar', [])
+ .directive('ngAddressBar', function($browser, $timeout) {
+ return {
+ template: 'Address:
',
+ link: function(scope, element, attrs){
+ var input = element.children("input"), delay;
+
+ input.on('keypress keyup keydown', function(event) {
+ delay = (!delay ? $timeout(fireUrlChange, 250) : null);
+ event.stopPropagation();
+ })
+ .val($browser.url());
+
+ $browser.url = function(url) {
+ return url ? input.val(url) : input.val();
+ };
+
+ function fireUrlChange() {
+ delay = null;
+ $browser.urlChange(input.val());
+ }
+ }
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/app.js b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/app.js
new file mode 100644
index 0000000000..2e6189741c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/app.js
@@ -0,0 +1,25 @@
+ angular.module('hashbang-mode', ['fake-browser', 'address-bar'])
+
+ .constant('initUrl', 'http://www.example.com/base/index.html#!/path?a=b#h')
+ .constant('baseHref', '/base/index.html')
+ .value('$sniffer', { history: false })
+
+ .config(function($locationProvider) {
+ $locationProvider.html5Mode(true).hashPrefix('!');
+ })
+
+ .controller("LocationController", function($scope, $location) {
+ $scope.$location = {};
+ angular.forEach("protocol host port path search hash".split(" "), function(method){
+ $scope.$location[method] = function(){
+ var result = $location[method].call($location);
+ return angular.isObject(result) ? angular.toJson(result) : result;
+ };
+ });
+ })
+
+ .run(function($rootElement) {
+ $rootElement.on('click', function(e) {
+ e.stopPropagation();
+ });
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/fakeBrowser.js b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/fakeBrowser.js
new file mode 100644
index 0000000000..5522847cca
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/fakeBrowser.js
@@ -0,0 +1,24 @@
+ angular.module('fake-browser', [])
+
+ .config(function($provide) {
+ $provide.decorator('$browser', function($delegate, baseHref, initUrl) {
+
+ $delegate.onUrlChange = function(fn) {
+ this.urlChange = fn;
+ };
+
+ $delegate.url = function() {
+ return initUrl;
+ };
+
+ $delegate.defer = function(fn, delay) {
+ setTimeout(function() { fn(); }, delay || 0);
+ };
+
+ $delegate.baseHref = function() {
+ return baseHref;
+ };
+
+ return $delegate;
+ });
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index-debug.html b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index-debug.html
new file mode 100644
index 0000000000..92b995afac
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index-debug.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-location-hashbang-mode-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $location.protocol() =
+ $location.host() =
+ $location.port() =
+ $location.path() =
+ $location.search() =
+ $location.hash() =
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index-jquery.html b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index-jquery.html
new file mode 100644
index 0000000000..dcfc3b8b11
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index-jquery.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-location-hashbang-mode-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $location.protocol() =
+ $location.host() =
+ $location.port() =
+ $location.path() =
+ $location.search() =
+ $location.hash() =
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index-production.html b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index-production.html
new file mode 100644
index 0000000000..b24b0df3d4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index-production.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-location-hashbang-mode-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $location.protocol() =
+ $location.host() =
+ $location.port() =
+ $location.path() =
+ $location.search() =
+ $location.hash() =
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index.html b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index.html
new file mode 100644
index 0000000000..404e03d687
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-location-hashbang-mode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $location.protocol() =
+ $location.host() =
+ $location.port() =
+ $location.path() =
+ $location.search() =
+ $location.hash() =
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/manifest.json b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/manifest.json
new file mode 100644
index 0000000000..504da50af8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/manifest.json
@@ -0,0 +1,10 @@
+{
+ "name": "example-location-hashbang-mode",
+ "files": [
+ "index-production.html",
+ "app.js",
+ "fakeBrowser.js",
+ "addressBar.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/protractor.js b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/protractor.js
new file mode 100644
index 0000000000..3eb909ee64
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-hashbang-mode/protractor.js
@@ -0,0 +1,42 @@
+ var addressBar = element(by.css("#addressBar")),
+ url = 'http://www.example.com/base/index.html#!/path?a=b#h';
+
+ it("should show fake browser info on load", function(){
+ expect(addressBar.getAttribute('value')).toBe(url);
+
+ expect(element(by.binding('$location.protocol()')).getText()).toBe('http');
+ expect(element(by.binding('$location.host()')).getText()).toBe('www.example.com');
+ expect(element(by.binding('$location.port()')).getText()).toBe('80');
+ expect(element(by.binding('$location.path()')).getText()).toBe('/path');
+ expect(element(by.binding('$location.search()')).getText()).toBe('{"a":"b"}');
+ expect(element(by.binding('$location.hash()')).getText()).toBe('h');
+
+ });
+
+ it("should change $location accordingly", function(){
+ var navigation = element.all(by.css("#navigation a"));
+
+ navigation.get(0).click();
+
+ expect(addressBar.getAttribute('value')).toBe("http://www.example.com/base/index.html#!/first?a=b");
+
+ expect(element(by.binding('$location.protocol()')).getText()).toBe('http');
+ expect(element(by.binding('$location.host()')).getText()).toBe('www.example.com');
+ expect(element(by.binding('$location.port()')).getText()).toBe('80');
+ expect(element(by.binding('$location.path()')).getText()).toBe('/first');
+ expect(element(by.binding('$location.search()')).getText()).toBe('{"a":"b"}');
+ expect(element(by.binding('$location.hash()')).getText()).toBe('');
+
+
+ navigation.get(1).click();
+
+ expect(addressBar.getAttribute('value')).toBe("http://www.example.com/base/index.html#!/sec/ond?flag#hash");
+
+ expect(element(by.binding('$location.protocol()')).getText()).toBe('http');
+ expect(element(by.binding('$location.host()')).getText()).toBe('www.example.com');
+ expect(element(by.binding('$location.port()')).getText()).toBe('80');
+ expect(element(by.binding('$location.path()')).getText()).toBe('/sec/ond');
+ expect(element(by.binding('$location.search()')).getText()).toBe('{"flag":true}');
+ expect(element(by.binding('$location.hash()')).getText()).toBe('hash');
+
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-html5-mode/addressBar.js b/1.3.0-rc.2/docs/examples/example-location-html5-mode/addressBar.js
new file mode 100644
index 0000000000..18d61630bc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-html5-mode/addressBar.js
@@ -0,0 +1,24 @@
+ angular.module('address-bar', [])
+ .directive('ngAddressBar', function($browser, $timeout) {
+ return {
+ template: 'Address:
',
+ link: function(scope, element, attrs){
+ var input = element.children("input"), delay;
+
+ input.on('keypress keyup keydown', function(event) {
+ delay = (!delay ? $timeout(fireUrlChange, 250) : null);
+ event.stopPropagation();
+ })
+ .val($browser.url());
+
+ $browser.url = function(url) {
+ return url ? input.val(url) : input.val();
+ };
+
+ function fireUrlChange() {
+ delay = null;
+ $browser.urlChange(input.val());
+ }
+ }
+ };
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-html5-mode/app.js b/1.3.0-rc.2/docs/examples/example-location-html5-mode/app.js
new file mode 100644
index 0000000000..d4b08b1f87
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-html5-mode/app.js
@@ -0,0 +1,23 @@
+ angular.module('html5-mode', ['fake-browser', 'address-bar'])
+
+ .constant('initUrl', 'http://www.example.com/base/path?a=b#h')
+ .constant('baseHref', '/base/index.html')
+ .value('$sniffer', { history: true })
+
+ .controller("LocationController", function($scope, $location) {
+ $scope.$location = {};
+ angular.forEach("protocol host port path search hash".split(" "), function(method){
+ $scope.$location[method] = function(){
+ var result = $location[method].call($location);
+ return angular.isObject(result) ? angular.toJson(result) : result;
+ };
+ });
+ })
+
+ .config(function($locationProvider) {
+ $locationProvider.html5Mode(true).hashPrefix('!');
+ })
+
+ .run(function($rootElement) {
+ $rootElement.on('click', function(e) { e.stopPropagation(); });
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-html5-mode/fakeBrowser.js b/1.3.0-rc.2/docs/examples/example-location-html5-mode/fakeBrowser.js
new file mode 100644
index 0000000000..72a24e2656
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-html5-mode/fakeBrowser.js
@@ -0,0 +1,24 @@
+angular.module('fake-browser', [])
+
+.config(function($provide) {
+ $provide.decorator('$browser', function($delegate, baseHref, initUrl) {
+
+ $delegate.onUrlChange = function(fn) {
+ this.urlChange = fn;
+ };
+
+ $delegate.url = function() {
+ return initUrl;
+ };
+
+ $delegate.defer = function(fn, delay) {
+ setTimeout(function() { fn(); }, delay || 0);
+ };
+
+ $delegate.baseHref = function() {
+ return baseHref;
+ };
+
+ return $delegate;
+ });
+});
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-html5-mode/index-debug.html b/1.3.0-rc.2/docs/examples/example-location-html5-mode/index-debug.html
new file mode 100644
index 0000000000..a3539a00f0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-html5-mode/index-debug.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-location-html5-mode-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $location.protocol() =
+ $location.host() =
+ $location.port() =
+ $location.path() =
+ $location.search() =
+ $location.hash() =
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-html5-mode/index-jquery.html b/1.3.0-rc.2/docs/examples/example-location-html5-mode/index-jquery.html
new file mode 100644
index 0000000000..000324ea2f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-html5-mode/index-jquery.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-location-html5-mode-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $location.protocol() =
+ $location.host() =
+ $location.port() =
+ $location.path() =
+ $location.search() =
+ $location.hash() =
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-html5-mode/index-production.html b/1.3.0-rc.2/docs/examples/example-location-html5-mode/index-production.html
new file mode 100644
index 0000000000..36bfc81739
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-html5-mode/index-production.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-location-html5-mode-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $location.protocol() =
+ $location.host() =
+ $location.port() =
+ $location.path() =
+ $location.search() =
+ $location.hash() =
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-html5-mode/index.html b/1.3.0-rc.2/docs/examples/example-location-html5-mode/index.html
new file mode 100644
index 0000000000..e2d053cf86
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-html5-mode/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-location-html5-mode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $location.protocol() =
+ $location.host() =
+ $location.port() =
+ $location.path() =
+ $location.search() =
+ $location.hash() =
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-html5-mode/manifest.json b/1.3.0-rc.2/docs/examples/example-location-html5-mode/manifest.json
new file mode 100644
index 0000000000..d8e7e30e19
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-html5-mode/manifest.json
@@ -0,0 +1,10 @@
+{
+ "name": "example-location-html5-mode",
+ "files": [
+ "index-production.html",
+ "app.js",
+ "fakeBrowser.js",
+ "addressBar.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-location-html5-mode/protractor.js b/1.3.0-rc.2/docs/examples/example-location-html5-mode/protractor.js
new file mode 100644
index 0000000000..83021b992d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-location-html5-mode/protractor.js
@@ -0,0 +1,42 @@
+ var addressBar = element(by.css("#addressBar")),
+ url = 'http://www.example.com/base/path?a=b#h';
+
+
+ it("should show fake browser info on load", function(){
+ expect(addressBar.getAttribute('value')).toBe(url);
+
+ expect(element(by.binding('$location.protocol()')).getText()).toBe('http');
+ expect(element(by.binding('$location.host()')).getText()).toBe('www.example.com');
+ expect(element(by.binding('$location.port()')).getText()).toBe('80');
+ expect(element(by.binding('$location.path()')).getText()).toBe('/path');
+ expect(element(by.binding('$location.search()')).getText()).toBe('{"a":"b"}');
+ expect(element(by.binding('$location.hash()')).getText()).toBe('h');
+
+ });
+
+ it("should change $location accordingly", function(){
+ var navigation = element.all(by.css("#navigation a"));
+
+ navigation.get(0).click();
+
+ expect(addressBar.getAttribute('value')).toBe("http://www.example.com/base/first?a=b");
+
+ expect(element(by.binding('$location.protocol()')).getText()).toBe('http');
+ expect(element(by.binding('$location.host()')).getText()).toBe('www.example.com');
+ expect(element(by.binding('$location.port()')).getText()).toBe('80');
+ expect(element(by.binding('$location.path()')).getText()).toBe('/first');
+ expect(element(by.binding('$location.search()')).getText()).toBe('{"a":"b"}');
+ expect(element(by.binding('$location.hash()')).getText()).toBe('');
+
+
+ navigation.get(1).click();
+
+ expect(addressBar.getAttribute('value')).toBe("http://www.example.com/base/sec/ond?flag#hash");
+
+ expect(element(by.binding('$location.protocol()')).getText()).toBe('http');
+ expect(element(by.binding('$location.host()')).getText()).toBe('www.example.com');
+ expect(element(by.binding('$location.port()')).getText()).toBe('80');
+ expect(element(by.binding('$location.path()')).getText()).toBe('/sec/ond');
+ expect(element(by.binding('$location.search()')).getText()).toBe('{"flag":true}');
+ expect(element(by.binding('$location.hash()')).getText()).toBe('hash');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-month-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-month-input-directive/index-debug.html
new file mode 100644
index 0000000000..d00f0ea2f8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-month-input-directive/index-debug.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-month-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Pick a month int 2013:
+
+
+ Required!
+
+ Not a valid month!
+ value = {{value | date: "yyyy-MM"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-month-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-month-input-directive/index-jquery.html
new file mode 100644
index 0000000000..cf4fefdca6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-month-input-directive/index-jquery.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-month-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Pick a month int 2013:
+
+
+ Required!
+
+ Not a valid month!
+ value = {{value | date: "yyyy-MM"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-month-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-month-input-directive/index-production.html
new file mode 100644
index 0000000000..867fa38eff
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-month-input-directive/index-production.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-month-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Pick a month int 2013:
+
+
+ Required!
+
+ Not a valid month!
+ value = {{value | date: "yyyy-MM"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-month-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-month-input-directive/index.html
new file mode 100644
index 0000000000..289a616c25
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-month-input-directive/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-month-input-directive
+
+
+
+
+
+
+
+
+
+
+ Pick a month int 2013:
+
+
+ Required!
+
+ Not a valid month!
+ value = {{value | date: "yyyy-MM"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-month-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-month-input-directive/manifest.json
new file mode 100644
index 0000000000..ba45a6069e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-month-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-month-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-month-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-month-input-directive/protractor.js
new file mode 100644
index 0000000000..b6ca264e2c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-month-input-directive/protractor.js
@@ -0,0 +1,31 @@
+ var value = element(by.binding('value | date: "yyyy-MM"'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('value'));
+
+ // currently protractor/webdriver does not support
+ // sending keys to all known HTML5 input controls
+ // for various browsers (https://github.com/angular/protractor/issues/562).
+ function setInput(val) {
+ // set the value of the element and force validation.
+ var scr = "var ipt = document.getElementById('exampleInput'); " +
+ "ipt.value = '" + val + "';" +
+ "angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('" + val + "'); });";
+ browser.executeScript(scr);
+ }
+
+ it('should initialize to model', function() {
+ expect(value.getText()).toContain('2013-10');
+ expect(valid.getText()).toContain('myForm.input.$valid = true');
+ });
+
+ it('should be invalid if empty', function() {
+ setInput('');
+ expect(value.getText()).toEqual('value =');
+ expect(valid.getText()).toContain('myForm.input.$valid = false');
+ });
+
+ it('should be invalid if over max', function() {
+ setInput('2015-01');
+ expect(value.getText()).toContain('');
+ expect(valid.getText()).toContain('myForm.input.$valid = false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/app.js b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/app.js
new file mode 100644
index 0000000000..2f90b672db
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/app.js
@@ -0,0 +1,15 @@
+ angular.module('cancel-update-example', [])
+
+ .controller('CancelUpdateController', ['$scope', function($scope) {
+ $scope.resetWithCancel = function (e) {
+ if (e.keyCode == 27) {
+ $scope.myForm.myInput1.$rollbackViewValue();
+ $scope.myValue = '';
+ }
+ };
+ $scope.resetWithoutCancel = function (e) {
+ if (e.keyCode == 27) {
+ $scope.myValue = '';
+ }
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index-debug.html b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index-debug.html
new file mode 100644
index 0000000000..9acd940d4b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index-debug.html
@@ -0,0 +1,32 @@
+
+
+
+
+
Example - example-ng-model-cancel-update-debug
+
+
+
+
+
+
+
+
+
+
+
Try typing something in each input. See that the model only updates when you
+ blur off the input.
+
+
Now see what happens if you start typing then press the Escape key
+
+
+ With $rollbackViewValue()
+
+ myValue: "{{ myValue }}"
+
+ Without $rollbackViewValue()
+
+ myValue: "{{ myValue }}"
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index-jquery.html
new file mode 100644
index 0000000000..a76a830f2a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index-jquery.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ng-model-cancel-update-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Try typing something in each input. See that the model only updates when you
+ blur off the input.
+
+
Now see what happens if you start typing then press the Escape key
+
+
+ With $rollbackViewValue()
+
+ myValue: "{{ myValue }}"
+
+ Without $rollbackViewValue()
+
+ myValue: "{{ myValue }}"
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index-production.html b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index-production.html
new file mode 100644
index 0000000000..90faac2509
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index-production.html
@@ -0,0 +1,32 @@
+
+
+
+
+
Example - example-ng-model-cancel-update-production
+
+
+
+
+
+
+
+
+
+
+
Try typing something in each input. See that the model only updates when you
+ blur off the input.
+
+
Now see what happens if you start typing then press the Escape key
+
+
+ With $rollbackViewValue()
+
+ myValue: "{{ myValue }}"
+
+ Without $rollbackViewValue()
+
+ myValue: "{{ myValue }}"
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index.html b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index.html
new file mode 100644
index 0000000000..f61716dd1b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/index.html
@@ -0,0 +1,32 @@
+
+
+
+
+
Example - example-ng-model-cancel-update
+
+
+
+
+
+
+
+
+
+
+
Try typing something in each input. See that the model only updates when you
+ blur off the input.
+
+
Now see what happens if you start typing then press the Escape key
+
+
+ With $rollbackViewValue()
+
+ myValue: "{{ myValue }}"
+
+ Without $rollbackViewValue()
+
+ myValue: "{{ myValue }}"
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/manifest.json b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/manifest.json
new file mode 100644
index 0000000000..2ddfa1a812
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ng-model-cancel-update/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ng-model-cancel-update",
+ "files": [
+ "index-production.html",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngChange-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngChange-directive/index-debug.html
new file mode 100644
index 0000000000..92f9be620a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngChange-directive/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-ngChange-directive-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ Confirmed
+ debug = {{confirmed}}
+ counter = {{counter}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngChange-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngChange-directive/index-jquery.html
new file mode 100644
index 0000000000..c91026cf0c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngChange-directive/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+
Example - example-ngChange-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Confirmed
+ debug = {{confirmed}}
+ counter = {{counter}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngChange-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-ngChange-directive/index-production.html
new file mode 100644
index 0000000000..bc1da7fa73
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngChange-directive/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-ngChange-directive-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Confirmed
+ debug = {{confirmed}}
+ counter = {{counter}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngChange-directive/index.html b/1.3.0-rc.2/docs/examples/example-ngChange-directive/index.html
new file mode 100644
index 0000000000..d6b803bb3d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngChange-directive/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-ngChange-directive
+
+
+
+
+
+
+
+
+
+
+
+
+ Confirmed
+ debug = {{confirmed}}
+ counter = {{counter}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngChange-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-ngChange-directive/manifest.json
new file mode 100644
index 0000000000..738d489cdc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngChange-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ngChange-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngChange-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-ngChange-directive/protractor.js
new file mode 100644
index 0000000000..0e8c5f71da
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngChange-directive/protractor.js
@@ -0,0 +1,18 @@
+ var counter = element(by.binding('counter'));
+ var debug = element(by.binding('confirmed'));
+
+ it('should evaluate the expression if changing from view', function() {
+ expect(counter.getText()).toContain('0');
+
+ element(by.id('ng-change-example1')).click();
+
+ expect(counter.getText()).toContain('1');
+ expect(debug.getText()).toContain('true');
+ });
+
+ it('should not evaluate the expression if changing from model', function() {
+ element(by.id('ng-change-example2')).click();
+
+ expect(counter.getText()).toContain('0');
+ expect(debug.getText()).toContain('true');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngController/app.js b/1.3.0-rc.2/docs/examples/example-ngController/app.js
new file mode 100644
index 0000000000..f9f5b3e4b8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngController/app.js
@@ -0,0 +1,27 @@
+ angular.module('controllerExample', [])
+ .controller('SettingsController2', ['$scope', SettingsController2]);
+
+ function SettingsController2($scope) {
+ $scope.name = "John Smith";
+ $scope.contacts = [
+ {type:'phone', value:'408 555 1212'},
+ {type:'email', value:'john.smith@example.org'} ];
+
+ $scope.greet = function() {
+ alert($scope.name);
+ };
+
+ $scope.addContact = function() {
+ $scope.contacts.push({type:'email', value:'yourname@example.org'});
+ };
+
+ $scope.removeContact = function(contactToRemove) {
+ var index = $scope.contacts.indexOf(contactToRemove);
+ $scope.contacts.splice(index, 1);
+ };
+
+ $scope.clearContact = function(contact) {
+ contact.type = 'phone';
+ contact.value = '';
+ };
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngController/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngController/index-debug.html
new file mode 100644
index 0000000000..84f5972e44
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngController/index-debug.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngController-debug
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngController/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngController/index-jquery.html
new file mode 100644
index 0000000000..4268f791c7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngController/index-jquery.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-ngController-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngController/index-production.html b/1.3.0-rc.2/docs/examples/example-ngController/index-production.html
new file mode 100644
index 0000000000..808827c867
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngController/index-production.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngController-production
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngController/index.html b/1.3.0-rc.2/docs/examples/example-ngController/index.html
new file mode 100644
index 0000000000..8fe40aa898
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngController/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngController
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngController/manifest.json b/1.3.0-rc.2/docs/examples/example-ngController/manifest.json
new file mode 100644
index 0000000000..ae92ea9e23
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngController/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-ngController",
+ "files": [
+ "index-production.html",
+ "app.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngController/protractor.js b/1.3.0-rc.2/docs/examples/example-ngController/protractor.js
new file mode 100644
index 0000000000..e8beea4100
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngController/protractor.js
@@ -0,0 +1,28 @@
+ it('should check controller', function() {
+ var container = element(by.id('ctrl-exmpl'));
+
+ expect(container.element(by.model('name'))
+ .getAttribute('value')).toBe('John Smith');
+
+ var firstRepeat =
+ container.element(by.repeater('contact in contacts').row(0));
+ var secondRepeat =
+ container.element(by.repeater('contact in contacts').row(1));
+
+ expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))
+ .toBe('408 555 1212');
+ expect(secondRepeat.element(by.model('contact.value')).getAttribute('value'))
+ .toBe('john.smith@example.org');
+
+ firstRepeat.element(by.linkText('clear')).click();
+
+ expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))
+ .toBe('');
+
+ container.element(by.linkText('add')).click();
+
+ expect(container.element(by.repeater('contact in contacts').row(2))
+ .element(by.model('contact.value'))
+ .getAttribute('value'))
+ .toBe('yourname@example.org');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngControllerAs/app.js b/1.3.0-rc.2/docs/examples/example-ngControllerAs/app.js
new file mode 100644
index 0000000000..ef08270fee
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngControllerAs/app.js
@@ -0,0 +1,27 @@
+ angular.module('controllerAsExample', [])
+ .controller('SettingsController1', SettingsController1);
+
+ function SettingsController1() {
+ this.name = "John Smith";
+ this.contacts = [
+ {type: 'phone', value: '408 555 1212'},
+ {type: 'email', value: 'john.smith@example.org'} ];
+ }
+
+ SettingsController1.prototype.greet = function() {
+ alert(this.name);
+ };
+
+ SettingsController1.prototype.addContact = function() {
+ this.contacts.push({type: 'email', value: 'yourname@example.org'});
+ };
+
+ SettingsController1.prototype.removeContact = function(contactToRemove) {
+ var index = this.contacts.indexOf(contactToRemove);
+ this.contacts.splice(index, 1);
+ };
+
+ SettingsController1.prototype.clearContact = function(contact) {
+ contact.type = 'phone';
+ contact.value = '';
+ };
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngControllerAs/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngControllerAs/index-debug.html
new file mode 100644
index 0000000000..2b5d702645
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngControllerAs/index-debug.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngControllerAs-debug
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngControllerAs/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngControllerAs/index-jquery.html
new file mode 100644
index 0000000000..4957869228
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngControllerAs/index-jquery.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-ngControllerAs-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngControllerAs/index-production.html b/1.3.0-rc.2/docs/examples/example-ngControllerAs/index-production.html
new file mode 100644
index 0000000000..0518c30848
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngControllerAs/index-production.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngControllerAs-production
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngControllerAs/index.html b/1.3.0-rc.2/docs/examples/example-ngControllerAs/index.html
new file mode 100644
index 0000000000..a3f3f60149
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngControllerAs/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngControllerAs
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngControllerAs/manifest.json b/1.3.0-rc.2/docs/examples/example-ngControllerAs/manifest.json
new file mode 100644
index 0000000000..b54b3acd59
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngControllerAs/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-ngControllerAs",
+ "files": [
+ "index-production.html",
+ "app.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngControllerAs/protractor.js b/1.3.0-rc.2/docs/examples/example-ngControllerAs/protractor.js
new file mode 100644
index 0000000000..9a0b5e138f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngControllerAs/protractor.js
@@ -0,0 +1,28 @@
+ it('should check controller as', function() {
+ var container = element(by.id('ctrl-as-exmpl'));
+ expect(container.element(by.model('settings.name'))
+ .getAttribute('value')).toBe('John Smith');
+
+ var firstRepeat =
+ container.element(by.repeater('contact in settings.contacts').row(0));
+ var secondRepeat =
+ container.element(by.repeater('contact in settings.contacts').row(1));
+
+ expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))
+ .toBe('408 555 1212');
+
+ expect(secondRepeat.element(by.model('contact.value')).getAttribute('value'))
+ .toBe('john.smith@example.org');
+
+ firstRepeat.element(by.linkText('clear')).click();
+
+ expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))
+ .toBe('');
+
+ container.element(by.linkText('add')).click();
+
+ expect(container.element(by.repeater('contact in settings.contacts').row(2))
+ .element(by.model('contact.value'))
+ .getAttribute('value'))
+ .toBe('yourname@example.org');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index-debug.html
new file mode 100644
index 0000000000..7fb5c144a6
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-ngList-directive-newlines-debug
+
+
+
+
+
+
+
+
+
+
{{ list | json }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index-jquery.html
new file mode 100644
index 0000000000..8e2e1a6cdc
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-ngList-directive-newlines-jquery
+
+
+
+
+
+
+
+
+
+
+
{{ list | json }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index-production.html b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index-production.html
new file mode 100644
index 0000000000..56db4e5f96
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-ngList-directive-newlines-production
+
+
+
+
+
+
+
+
+
+
{{ list | json }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index.html b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index.html
new file mode 100644
index 0000000000..9c291c64d7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-ngList-directive-newlines
+
+
+
+
+
+
+
+
+
+
{{ list | json }}
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/manifest.json b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/manifest.json
new file mode 100644
index 0000000000..887abf2e03
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ngList-directive-newlines",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/protractor.js b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/protractor.js
new file mode 100644
index 0000000000..9d1b65dcde
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive-newlines/protractor.js
@@ -0,0 +1,6 @@
+ it("should split the text by newlines", function() {
+ var listInput = element(by.model('list'));
+ var output = element(by.binding('list | json'));
+ listInput.sendKeys('abc\ndef\nghi');
+ expect(output.getText()).toContain('[\n "abc",\n "def",\n "ghi"\n]');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive/app.js b/1.3.0-rc.2/docs/examples/example-ngList-directive/app.js
new file mode 100644
index 0000000000..e4929aca71
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive/app.js
@@ -0,0 +1,4 @@
+ angular.module('listExample', [])
+ .controller('ExampleController', ['$scope', function($scope) {
+ $scope.names = ['morpheus', 'neo', 'trinity'];
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngList-directive/index-debug.html
new file mode 100644
index 0000000000..7513308a8b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-ngList-directive-debug
+
+
+
+
+
+
+
+
+
+
+ List:
+
+ Required!
+
+ names = {{names}}
+ myForm.namesInput.$valid = {{myForm.namesInput.$valid}}
+ myForm.namesInput.$error = {{myForm.namesInput.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngList-directive/index-jquery.html
new file mode 100644
index 0000000000..fffa2e62c7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+
Example - example-ngList-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ List:
+
+ Required!
+
+ names = {{names}}
+ myForm.namesInput.$valid = {{myForm.namesInput.$valid}}
+ myForm.namesInput.$error = {{myForm.namesInput.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-ngList-directive/index-production.html
new file mode 100644
index 0000000000..ac6400a056
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-ngList-directive-production
+
+
+
+
+
+
+
+
+
+
+ List:
+
+ Required!
+
+ names = {{names}}
+ myForm.namesInput.$valid = {{myForm.namesInput.$valid}}
+ myForm.namesInput.$error = {{myForm.namesInput.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive/index.html b/1.3.0-rc.2/docs/examples/example-ngList-directive/index.html
new file mode 100644
index 0000000000..d5c662f3f7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-ngList-directive
+
+
+
+
+
+
+
+
+
+
+ List:
+
+ Required!
+
+ names = {{names}}
+ myForm.namesInput.$valid = {{myForm.namesInput.$valid}}
+ myForm.namesInput.$error = {{myForm.namesInput.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-ngList-directive/manifest.json
new file mode 100644
index 0000000000..46ff1d990b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-ngList-directive",
+ "files": [
+ "index-production.html",
+ "app.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngList-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-ngList-directive/protractor.js
new file mode 100644
index 0000000000..6ab8ec4ed1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngList-directive/protractor.js
@@ -0,0 +1,19 @@
+ var listInput = element(by.model('names'));
+ var names = element(by.exactBinding('names'));
+ var valid = element(by.binding('myForm.namesInput.$valid'));
+ var error = element(by.css('span.error'));
+
+ it('should initialize to model', function() {
+ expect(names.getText()).toContain('["morpheus","neo","trinity"]');
+ expect(valid.getText()).toContain('true');
+ expect(error.getCssValue('display')).toBe('none');
+ });
+
+ it('should be invalid if empty', function() {
+ listInput.clear();
+ listInput.sendKeys('');
+
+ expect(names.getText()).toContain('');
+ expect(valid.getText()).toContain('false');
+ expect(error.getCssValue('display')).not.toBe('none');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index-debug.html
new file mode 100644
index 0000000000..78bb1255ad
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index-debug.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-ngMessages-directive-debug
+
+
+
+
+
+
+
+
+
+
+
+ Enter your name:
+
+
+ myForm.myName.$error = {{ myForm.myName.$error | json }}
+
+
+
You did not enter a field
+
Your field is too short
+
Your field is too long
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index-jquery.html
new file mode 100644
index 0000000000..5cb2fbfe02
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index-jquery.html
@@ -0,0 +1,37 @@
+
+
+
+
+
Example - example-ngMessages-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Enter your name:
+
+
+ myForm.myName.$error = {{ myForm.myName.$error | json }}
+
+
+
You did not enter a field
+
Your field is too short
+
Your field is too long
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index-production.html
new file mode 100644
index 0000000000..22914d763a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index-production.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-ngMessages-directive-production
+
+
+
+
+
+
+
+
+
+
+
+ Enter your name:
+
+
+ myForm.myName.$error = {{ myForm.myName.$error | json }}
+
+
+
You did not enter a field
+
Your field is too short
+
Your field is too long
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index.html b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index.html
new file mode 100644
index 0000000000..76ffa1cf7f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-ngMessages-directive
+
+
+
+
+
+
+
+
+
+
+
+ Enter your name:
+
+
+ myForm.myName.$error = {{ myForm.myName.$error | json }}
+
+
+
You did not enter a field
+
Your field is too short
+
Your field is too long
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngMessages-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/manifest.json
new file mode 100644
index 0000000000..1918dce064
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ngMessages-directive",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngMessages-directive/script.js b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/script.js
new file mode 100644
index 0000000000..e2fe833d04
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngMessages-directive/script.js
@@ -0,0 +1 @@
+ angular.module('ngMessagesExample', ['ngMessages']);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/app.js b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/app.js
new file mode 100644
index 0000000000..29e34fa9e1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/app.js
@@ -0,0 +1,12 @@
+ angular.module('getterSetterExample', [])
+ .controller('ExampleController', ['$scope', function($scope) {
+ var _name = 'Brian';
+ $scope.user = {
+ name: function (newName) {
+ if (angular.isDefined(newName)) {
+ _name = newName;
+ }
+ return _name;
+ }
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index-debug.html
new file mode 100644
index 0000000000..5745c0a502
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-ngModel-getter-setter-debug
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index-jquery.html
new file mode 100644
index 0000000000..5dae1227be
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-ngModel-getter-setter-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index-production.html b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index-production.html
new file mode 100644
index 0000000000..2850f22edb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-ngModel-getter-setter-production
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index.html b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index.html
new file mode 100644
index 0000000000..5ce0a9a00e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-ngModel-getter-setter
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/manifest.json b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/manifest.json
new file mode 100644
index 0000000000..2d8bb1e7b8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModel-getter-setter/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ngModel-getter-setter",
+ "files": [
+ "index-production.html",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/app.js b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/app.js
new file mode 100644
index 0000000000..94f514ec37
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/app.js
@@ -0,0 +1,10 @@
+ angular.module('optionsExample', [])
+ .controller('ExampleController', ['$scope', function($scope) {
+ $scope.user = { name: 'say', data: '' };
+
+ $scope.cancel = function (e) {
+ if (e.keyCode == 27) {
+ $scope.userForm.userName.$rollbackViewValue();
+ }
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index-debug.html
new file mode 100644
index 0000000000..acc89ea786
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index-debug.html
@@ -0,0 +1,29 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-blur-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index-jquery.html
new file mode 100644
index 0000000000..23f64b7b50
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index-jquery.html
@@ -0,0 +1,30 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-blur-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index-production.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index-production.html
new file mode 100644
index 0000000000..5d23d424b2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index-production.html
@@ -0,0 +1,29 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-blur-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index.html
new file mode 100644
index 0000000000..822e9ec919
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/index.html
@@ -0,0 +1,29 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-blur
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/manifest.json b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/manifest.json
new file mode 100644
index 0000000000..84481b31ea
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-ngModelOptions-directive-blur",
+ "files": [
+ "index-production.html",
+ "app.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/protractor.js b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/protractor.js
new file mode 100644
index 0000000000..4dbe2f51fe
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-blur/protractor.js
@@ -0,0 +1,20 @@
+ var model = element(by.binding('user.name'));
+ var input = element(by.model('user.name'));
+ var other = element(by.model('user.data'));
+
+ it('should allow custom events', function() {
+ input.sendKeys(' hello');
+ input.click();
+ expect(model.getText()).toEqual('say');
+ other.click();
+ expect(model.getText()).toEqual('say hello');
+ });
+
+ it('should $rollbackViewValue when model changes', function() {
+ input.sendKeys(' hello');
+ expect(input.getAttribute('value')).toEqual('say hello');
+ input.sendKeys(protractor.Key.ESCAPE);
+ expect(input.getAttribute('value')).toEqual('say');
+ other.click();
+ expect(model.getText()).toEqual('say');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/app.js b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/app.js
new file mode 100644
index 0000000000..701673d171
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/app.js
@@ -0,0 +1,4 @@
+ angular.module('optionsExample', [])
+ .controller('ExampleController', ['$scope', function($scope) {
+ $scope.user = { name: 'say' };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index-debug.html
new file mode 100644
index 0000000000..b07001c83e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index-debug.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-debounce-debug
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ Clear
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index-jquery.html
new file mode 100644
index 0000000000..dac820e910
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index-jquery.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-debounce-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ Clear
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index-production.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index-production.html
new file mode 100644
index 0000000000..ffba06c6f0
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index-production.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-debounce-production
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ Clear
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index.html
new file mode 100644
index 0000000000..7be0f974fb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-debounce
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ Clear
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/manifest.json b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/manifest.json
new file mode 100644
index 0000000000..c1836815bf
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-debounce/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ngModelOptions-directive-debounce",
+ "files": [
+ "index-production.html",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/app.js b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/app.js
new file mode 100644
index 0000000000..e00d27859b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/app.js
@@ -0,0 +1,9 @@
+ angular.module('getterSetterExample', [])
+ .controller('ExampleController', ['$scope', function($scope) {
+ var _name = 'Brian';
+ $scope.user = {
+ name: function (newName) {
+ return angular.isDefined(newName) ? (_name = newName) : _name;
+ }
+ };
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index-debug.html
new file mode 100644
index 0000000000..3e4898ebf8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-getter-setter-debug
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index-jquery.html
new file mode 100644
index 0000000000..f82502dcd4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-getter-setter-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index-production.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index-production.html
new file mode 100644
index 0000000000..b3d6553c71
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-getter-setter-production
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index.html b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index.html
new file mode 100644
index 0000000000..c1b0fa3e46
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-ngModelOptions-directive-getter-setter
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+
+
user.name =
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/manifest.json b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/manifest.json
new file mode 100644
index 0000000000..3fbf3d7b08
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngModelOptions-directive-getter-setter/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ngModelOptions-directive-getter-setter",
+ "files": [
+ "index-production.html",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngValue-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngValue-directive/index-debug.html
new file mode 100644
index 0000000000..b5e1776823
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngValue-directive/index-debug.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-ngValue-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Which is your favorite?
+
+ {{name}}
+
+
+ You chose {{my.favorite}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngValue-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngValue-directive/index-jquery.html
new file mode 100644
index 0000000000..b70b4a0318
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngValue-directive/index-jquery.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-ngValue-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Which is your favorite?
+
+ {{name}}
+
+
+ You chose {{my.favorite}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngValue-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-ngValue-directive/index-production.html
new file mode 100644
index 0000000000..8db5d46adb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngValue-directive/index-production.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-ngValue-directive-production
+
+
+
+
+
+
+
+
+
+
+ Which is your favorite?
+
+ {{name}}
+
+
+ You chose {{my.favorite}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngValue-directive/index.html b/1.3.0-rc.2/docs/examples/example-ngValue-directive/index.html
new file mode 100644
index 0000000000..c94e899501
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngValue-directive/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-ngValue-directive
+
+
+
+
+
+
+
+
+
+
+ Which is your favorite?
+
+ {{name}}
+
+
+ You chose {{my.favorite}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngValue-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-ngValue-directive/manifest.json
new file mode 100644
index 0000000000..1e8f897466
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngValue-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ngValue-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngValue-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-ngValue-directive/protractor.js
new file mode 100644
index 0000000000..1b750cee10
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngValue-directive/protractor.js
@@ -0,0 +1,9 @@
+ var favorite = element(by.binding('my.favorite'));
+
+ it('should initialize to model', function() {
+ expect(favorite.getText()).toContain('unicorns');
+ });
+ it('should bind the values to the inputs', function() {
+ element.all(by.model('my.favorite')).get(0).click();
+ expect(favorite.getText()).toContain('pizza');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngView-directive/animations.css b/1.3.0-rc.2/docs/examples/example-ngView-directive/animations.css
new file mode 100644
index 0000000000..da5a8473ae
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngView-directive/animations.css
@@ -0,0 +1,39 @@
+ .view-animate-container {
+ position:relative;
+ height:100px!important;
+ position:relative;
+ background:white;
+ border:1px solid black;
+ height:40px;
+ overflow:hidden;
+ }
+
+ .view-animate {
+ padding:10px;
+ }
+
+ .view-animate.ng-enter, .view-animate.ng-leave {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;
+
+ display:block;
+ width:100%;
+ border-left:1px solid black;
+
+ position:absolute;
+ top:0;
+ left:0;
+ right:0;
+ bottom:0;
+ padding:10px;
+ }
+
+ .view-animate.ng-enter {
+ left:100%;
+ }
+ .view-animate.ng-enter.ng-enter-active {
+ left:0;
+ }
+ .view-animate.ng-leave.ng-leave-active {
+ left:-100%;
+ }
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngView-directive/book.html b/1.3.0-rc.2/docs/examples/example-ngView-directive/book.html
new file mode 100644
index 0000000000..1a50c4e977
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngView-directive/book.html
@@ -0,0 +1,4 @@
+
+ controller: {{book.name}}
+ Book Id: {{book.params.bookId}}
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngView-directive/chapter.html b/1.3.0-rc.2/docs/examples/example-ngView-directive/chapter.html
new file mode 100644
index 0000000000..e12ec0779f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngView-directive/chapter.html
@@ -0,0 +1,5 @@
+
+ controller: {{chapter.name}}
+ Book Id: {{chapter.params.bookId}}
+ Chapter Id: {{chapter.params.chapterId}}
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngView-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-ngView-directive/index-debug.html
new file mode 100644
index 0000000000..9c215bd9c1
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngView-directive/index-debug.html
@@ -0,0 +1,39 @@
+
+
+
+
+
Example - example-ngView-directive-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
$location.path() = {{main.$location.path()}}
+
$route.current.templateUrl = {{main.$route.current.templateUrl}}
+
$route.current.params = {{main.$route.current.params}}
+
$routeParams = {{main.$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngView-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-ngView-directive/index-jquery.html
new file mode 100644
index 0000000000..dc1bc2ac99
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngView-directive/index-jquery.html
@@ -0,0 +1,40 @@
+
+
+
+
+
Example - example-ngView-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
$location.path() = {{main.$location.path()}}
+
$route.current.templateUrl = {{main.$route.current.templateUrl}}
+
$route.current.params = {{main.$route.current.params}}
+
$routeParams = {{main.$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngView-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-ngView-directive/index-production.html
new file mode 100644
index 0000000000..c53565e7d4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngView-directive/index-production.html
@@ -0,0 +1,39 @@
+
+
+
+
+
Example - example-ngView-directive-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
$location.path() = {{main.$location.path()}}
+
$route.current.templateUrl = {{main.$route.current.templateUrl}}
+
$route.current.params = {{main.$route.current.params}}
+
$routeParams = {{main.$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngView-directive/index.html b/1.3.0-rc.2/docs/examples/example-ngView-directive/index.html
new file mode 100644
index 0000000000..3137983796
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngView-directive/index.html
@@ -0,0 +1,39 @@
+
+
+
+
+
Example - example-ngView-directive
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
$location.path() = {{main.$location.path()}}
+
$route.current.templateUrl = {{main.$route.current.templateUrl}}
+
$route.current.params = {{main.$route.current.params}}
+
$routeParams = {{main.$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngView-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-ngView-directive/manifest.json
new file mode 100644
index 0000000000..5ebc47d05d
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngView-directive/manifest.json
@@ -0,0 +1,11 @@
+{
+ "name": "example-ngView-directive",
+ "files": [
+ "index-production.html",
+ "book.html",
+ "chapter.html",
+ "animations.css",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngView-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-ngView-directive/protractor.js
new file mode 100644
index 0000000000..76425d75cd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngView-directive/protractor.js
@@ -0,0 +1,13 @@
+ it('should load and compile correct template', function() {
+ element(by.linkText('Moby: Ch1')).click();
+ var content = element(by.css('[ng-view]')).getText();
+ expect(content).toMatch(/controller\: ChapterCtrl/);
+ expect(content).toMatch(/Book Id\: Moby/);
+ expect(content).toMatch(/Chapter Id\: 1/);
+
+ element(by.partialLinkText('Scarlet')).click();
+
+ content = element(by.css('[ng-view]')).getText();
+ expect(content).toMatch(/controller\: BookCtrl/);
+ expect(content).toMatch(/Book Id\: Scarlet/);
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-ngView-directive/script.js b/1.3.0-rc.2/docs/examples/example-ngView-directive/script.js
new file mode 100644
index 0000000000..71871e5e9e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-ngView-directive/script.js
@@ -0,0 +1,31 @@
+ angular.module('ngViewExample', ['ngRoute', 'ngAnimate'])
+ .config(['$routeProvider', '$locationProvider',
+ function($routeProvider, $locationProvider) {
+ $routeProvider
+ .when('/Book/:bookId', {
+ templateUrl: 'book.html',
+ controller: 'BookCtrl',
+ controllerAs: 'book'
+ })
+ .when('/Book/:bookId/ch/:chapterId', {
+ templateUrl: 'chapter.html',
+ controller: 'ChapterCtrl',
+ controllerAs: 'chapter'
+ });
+
+ $locationProvider.html5Mode(true);
+ }])
+ .controller('MainCtrl', ['$route', '$routeParams', '$location',
+ function($route, $routeParams, $location) {
+ this.$route = $route;
+ this.$location = $location;
+ this.$routeParams = $routeParams;
+ }])
+ .controller('BookCtrl', ['$routeParams', function($routeParams) {
+ this.name = "BookCtrl";
+ this.params = $routeParams;
+ }])
+ .controller('ChapterCtrl', ['$routeParams', function($routeParams) {
+ this.name = "ChapterCtrl";
+ this.params = $routeParams;
+ }]);
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-number-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-number-input-directive/index-debug.html
new file mode 100644
index 0000000000..399c8351c4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-number-input-directive/index-debug.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-number-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Number:
+
+ Required!
+
+ Not valid number!
+ value = {{value}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-number-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-number-input-directive/index-jquery.html
new file mode 100644
index 0000000000..7df5a490bd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-number-input-directive/index-jquery.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-number-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Number:
+
+ Required!
+
+ Not valid number!
+ value = {{value}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-number-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-number-input-directive/index-production.html
new file mode 100644
index 0000000000..8194facb5e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-number-input-directive/index-production.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-number-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Number:
+
+ Required!
+
+ Not valid number!
+ value = {{value}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-number-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-number-input-directive/index.html
new file mode 100644
index 0000000000..4ed9615ddd
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-number-input-directive/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-number-input-directive
+
+
+
+
+
+
+
+
+
+
+ Number:
+
+ Required!
+
+ Not valid number!
+ value = {{value}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-number-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-number-input-directive/manifest.json
new file mode 100644
index 0000000000..514d04f3b7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-number-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-number-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-number-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-number-input-directive/protractor.js
new file mode 100644
index 0000000000..f03b0e5549
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-number-input-directive/protractor.js
@@ -0,0 +1,22 @@
+ var value = element(by.binding('value'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('value'));
+
+ it('should initialize to model', function() {
+ expect(value.getText()).toContain('12');
+ expect(valid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty', function() {
+ input.clear();
+ input.sendKeys('');
+ expect(value.getText()).toEqual('value =');
+ expect(valid.getText()).toContain('false');
+ });
+
+ it('should be invalid if over max', function() {
+ input.clear();
+ input.sendKeys('123');
+ expect(value.getText()).toEqual('value =');
+ expect(valid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-radio-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-radio-input-directive/index-debug.html
new file mode 100644
index 0000000000..3064d26a52
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-radio-input-directive/index-debug.html
@@ -0,0 +1,32 @@
+
+
+
+
+
Example - example-radio-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Red
+ Green
+ Blue
+ color = {{color | json}}
+
+ Note that `ng-value="specialValue"` sets radio item's value to be the value of `$scope.specialValue`.
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-radio-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-radio-input-directive/index-jquery.html
new file mode 100644
index 0000000000..247785879e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-radio-input-directive/index-jquery.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-radio-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Red
+ Green
+ Blue
+ color = {{color | json}}
+
+ Note that `ng-value="specialValue"` sets radio item's value to be the value of `$scope.specialValue`.
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-radio-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-radio-input-directive/index-production.html
new file mode 100644
index 0000000000..2b4732b2ec
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-radio-input-directive/index-production.html
@@ -0,0 +1,32 @@
+
+
+
+
+
Example - example-radio-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Red
+ Green
+ Blue
+ color = {{color | json}}
+
+ Note that `ng-value="specialValue"` sets radio item's value to be the value of `$scope.specialValue`.
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-radio-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-radio-input-directive/index.html
new file mode 100644
index 0000000000..f6f152e883
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-radio-input-directive/index.html
@@ -0,0 +1,32 @@
+
+
+
+
+
Example - example-radio-input-directive
+
+
+
+
+
+
+
+
+
+
+ Red
+ Green
+ Blue
+ color = {{color | json}}
+
+ Note that `ng-value="specialValue"` sets radio item's value to be the value of `$scope.specialValue`.
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-radio-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-radio-input-directive/manifest.json
new file mode 100644
index 0000000000..863bef42e2
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-radio-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-radio-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-radio-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-radio-input-directive/protractor.js
new file mode 100644
index 0000000000..8ba665c237
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-radio-input-directive/protractor.js
@@ -0,0 +1,9 @@
+ it('should change state', function() {
+ var color = element(by.binding('color'));
+
+ expect(color.getText()).toContain('blue');
+
+ element.all(by.model('color')).get(0).click();
+
+ expect(color.getText()).toContain('red');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-text-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-text-input-directive/index-debug.html
new file mode 100644
index 0000000000..5a48e2e9fb
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-text-input-directive/index-debug.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-text-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Single word:
+
+ Required!
+
+ Single word only!
+
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-text-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-text-input-directive/index-jquery.html
new file mode 100644
index 0000000000..7078dd6f8c
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-text-input-directive/index-jquery.html
@@ -0,0 +1,37 @@
+
+
+
+
+
Example - example-text-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Single word:
+
+ Required!
+
+ Single word only!
+
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-text-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-text-input-directive/index-production.html
new file mode 100644
index 0000000000..88c0b2ab45
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-text-input-directive/index-production.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-text-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Single word:
+
+ Required!
+
+ Single word only!
+
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-text-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-text-input-directive/index.html
new file mode 100644
index 0000000000..ab131abec8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-text-input-directive/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-text-input-directive
+
+
+
+
+
+
+
+
+
+
+ Single word:
+
+ Required!
+
+ Single word only!
+
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-text-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-text-input-directive/manifest.json
new file mode 100644
index 0000000000..2612b8ac3a
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-text-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-text-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-text-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-text-input-directive/protractor.js
new file mode 100644
index 0000000000..8e933ee6d4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-text-input-directive/protractor.js
@@ -0,0 +1,23 @@
+ var text = element(by.binding('text'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('text'));
+
+ it('should initialize to model', function() {
+ expect(text.getText()).toContain('guest');
+ expect(valid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty', function() {
+ input.clear();
+ input.sendKeys('');
+
+ expect(text.getText()).toEqual('text =');
+ expect(valid.getText()).toContain('false');
+ });
+
+ it('should be invalid if multi word', function() {
+ input.clear();
+ input.sendKeys('hello world');
+
+ expect(valid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-time-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-time-input-directive/index-debug.html
new file mode 100644
index 0000000000..7e6e26d473
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-time-input-directive/index-debug.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-time-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Pick a between 8am and 5pm:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "HH:mm:ss"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-time-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-time-input-directive/index-jquery.html
new file mode 100644
index 0000000000..35708159fe
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-time-input-directive/index-jquery.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-time-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Pick a between 8am and 5pm:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "HH:mm:ss"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-time-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-time-input-directive/index-production.html
new file mode 100644
index 0000000000..d3751a6229
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-time-input-directive/index-production.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-time-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Pick a between 8am and 5pm:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "HH:mm:ss"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-time-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-time-input-directive/index.html
new file mode 100644
index 0000000000..7eb14003a3
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-time-input-directive/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-time-input-directive
+
+
+
+
+
+
+
+
+
+
+ Pick a between 8am and 5pm:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "HH:mm:ss"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-time-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-time-input-directive/manifest.json
new file mode 100644
index 0000000000..fdf771023f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-time-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-time-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-time-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-time-input-directive/protractor.js
new file mode 100644
index 0000000000..3668844e9f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-time-input-directive/protractor.js
@@ -0,0 +1,31 @@
+ var value = element(by.binding('value | date: "HH:mm:ss"'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('value'));
+
+ // currently protractor/webdriver does not support
+ // sending keys to all known HTML5 input controls
+ // for various browsers (https://github.com/angular/protractor/issues/562).
+ function setInput(val) {
+ // set the value of the element and force validation.
+ var scr = "var ipt = document.getElementById('exampleInput'); " +
+ "ipt.value = '" + val + "';" +
+ "angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('" + val + "'); });";
+ browser.executeScript(scr);
+ }
+
+ it('should initialize to model', function() {
+ expect(value.getText()).toContain('14:57:00');
+ expect(valid.getText()).toContain('myForm.input.$valid = true');
+ });
+
+ it('should be invalid if empty', function() {
+ setInput('');
+ expect(value.getText()).toEqual('value =');
+ expect(valid.getText()).toContain('myForm.input.$valid = false');
+ });
+
+ it('should be invalid if over max', function() {
+ setInput('23:59:00');
+ expect(value.getText()).toContain('');
+ expect(valid.getText()).toContain('myForm.input.$valid = false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-url-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-url-input-directive/index-debug.html
new file mode 100644
index 0000000000..4991dc23ba
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-url-input-directive/index-debug.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-url-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ URL:
+
+ Required!
+
+ Not valid url!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.url = {{!!myForm.$error.url}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-url-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-url-input-directive/index-jquery.html
new file mode 100644
index 0000000000..f7138c1478
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-url-input-directive/index-jquery.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-url-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ URL:
+
+ Required!
+
+ Not valid url!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.url = {{!!myForm.$error.url}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-url-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-url-input-directive/index-production.html
new file mode 100644
index 0000000000..32cf8353a8
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-url-input-directive/index-production.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-url-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ URL:
+
+ Required!
+
+ Not valid url!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.url = {{!!myForm.$error.url}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-url-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-url-input-directive/index.html
new file mode 100644
index 0000000000..2affab8661
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-url-input-directive/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-url-input-directive
+
+
+
+
+
+
+
+
+
+
+ URL:
+
+ Required!
+
+ Not valid url!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.url = {{!!myForm.$error.url}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-url-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-url-input-directive/manifest.json
new file mode 100644
index 0000000000..a92554ac20
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-url-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-url-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-url-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-url-input-directive/protractor.js
new file mode 100644
index 0000000000..41ffdbe3b4
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-url-input-directive/protractor.js
@@ -0,0 +1,23 @@
+ var text = element(by.binding('text'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('text'));
+
+ it('should initialize to model', function() {
+ expect(text.getText()).toContain('http://google.com');
+ expect(valid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty', function() {
+ input.clear();
+ input.sendKeys('');
+
+ expect(text.getText()).toEqual('text =');
+ expect(valid.getText()).toContain('false');
+ });
+
+ it('should be invalid if not url', function() {
+ input.clear();
+ input.sendKeys('box');
+
+ expect(valid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-week-input-directive/index-debug.html b/1.3.0-rc.2/docs/examples/example-week-input-directive/index-debug.html
new file mode 100644
index 0000000000..2a33d90069
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-week-input-directive/index-debug.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-week-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Pick a date between in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-Www"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-week-input-directive/index-jquery.html b/1.3.0-rc.2/docs/examples/example-week-input-directive/index-jquery.html
new file mode 100644
index 0000000000..3adcd5d7da
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-week-input-directive/index-jquery.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-week-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Pick a date between in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-Www"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-week-input-directive/index-production.html b/1.3.0-rc.2/docs/examples/example-week-input-directive/index-production.html
new file mode 100644
index 0000000000..69a1e1ad8b
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-week-input-directive/index-production.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-week-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Pick a date between in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-Www"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-week-input-directive/index.html b/1.3.0-rc.2/docs/examples/example-week-input-directive/index.html
new file mode 100644
index 0000000000..c485fbbc4f
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-week-input-directive/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-week-input-directive
+
+
+
+
+
+
+
+
+
+
+ Pick a date between in 2013:
+
+
+ Required!
+
+ Not a valid date!
+ value = {{value | date: "yyyy-Www"}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-week-input-directive/manifest.json b/1.3.0-rc.2/docs/examples/example-week-input-directive/manifest.json
new file mode 100644
index 0000000000..e3d947206e
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-week-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-week-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/examples/example-week-input-directive/protractor.js b/1.3.0-rc.2/docs/examples/example-week-input-directive/protractor.js
new file mode 100644
index 0000000000..a227a758d7
--- /dev/null
+++ b/1.3.0-rc.2/docs/examples/example-week-input-directive/protractor.js
@@ -0,0 +1,31 @@
+ var value = element(by.binding('value | date: "yyyy-Www"'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('value'));
+
+ // currently protractor/webdriver does not support
+ // sending keys to all known HTML5 input controls
+ // for various browsers (https://github.com/angular/protractor/issues/562).
+ function setInput(val) {
+ // set the value of the element and force validation.
+ var scr = "var ipt = document.getElementById('exampleInput'); " +
+ "ipt.value = '" + val + "';" +
+ "angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('" + val + "'); });";
+ browser.executeScript(scr);
+ }
+
+ it('should initialize to model', function() {
+ expect(value.getText()).toContain('2013-W01');
+ expect(valid.getText()).toContain('myForm.input.$valid = true');
+ });
+
+ it('should be invalid if empty', function() {
+ setInput('');
+ expect(value.getText()).toEqual('value =');
+ expect(valid.getText()).toContain('myForm.input.$valid = false');
+ });
+
+ it('should be invalid if over max', function() {
+ setInput('2015-W01');
+ expect(value.getText()).toContain('');
+ expect(valid.getText()).toContain('myForm.input.$valid = false');
+ });
\ No newline at end of file
diff --git a/1.3.0-rc.2/docs/img/AngularJS-small.png b/1.3.0-rc.2/docs/img/AngularJS-small.png
new file mode 100644
index 0000000000..ab5e20f883
Binary files /dev/null and b/1.3.0-rc.2/docs/img/AngularJS-small.png differ
diff --git a/1.3.0-rc.2/docs/img/One_Way_Data_Binding.png b/1.3.0-rc.2/docs/img/One_Way_Data_Binding.png
new file mode 100644
index 0000000000..60e7e3bf32
Binary files /dev/null and b/1.3.0-rc.2/docs/img/One_Way_Data_Binding.png differ
diff --git a/1.3.0-rc.2/docs/img/Two_Way_Data_Binding.png b/1.3.0-rc.2/docs/img/Two_Way_Data_Binding.png
new file mode 100644
index 0000000000..3a9c6d1ecc
Binary files /dev/null and b/1.3.0-rc.2/docs/img/Two_Way_Data_Binding.png differ
diff --git a/1.3.0-rc.2/docs/img/angular_parts.png b/1.3.0-rc.2/docs/img/angular_parts.png
new file mode 100644
index 0000000000..a33a10ba7d
Binary files /dev/null and b/1.3.0-rc.2/docs/img/angular_parts.png differ
diff --git a/1.3.0-rc.2/docs/img/angularjs-for-header-only.svg b/1.3.0-rc.2/docs/img/angularjs-for-header-only.svg
new file mode 100644
index 0000000000..68689b6bb1
--- /dev/null
+++ b/1.3.0-rc.2/docs/img/angularjs-for-header-only.svg
@@ -0,0 +1,41 @@
+
+
+
+]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/1.3.0-rc.2/docs/img/bullet.png b/1.3.0-rc.2/docs/img/bullet.png
new file mode 100755
index 0000000000..3575a8e60f
Binary files /dev/null and b/1.3.0-rc.2/docs/img/bullet.png differ
diff --git a/1.3.0-rc.2/docs/img/form_data_flow.png b/1.3.0-rc.2/docs/img/form_data_flow.png
new file mode 100644
index 0000000000..60e947a595
Binary files /dev/null and b/1.3.0-rc.2/docs/img/form_data_flow.png differ
diff --git a/1.3.0-rc.2/docs/img/glyphicons-halflings-white.png b/1.3.0-rc.2/docs/img/glyphicons-halflings-white.png
new file mode 100644
index 0000000000..a20760bfde
Binary files /dev/null and b/1.3.0-rc.2/docs/img/glyphicons-halflings-white.png differ
diff --git a/1.3.0-rc.2/docs/img/glyphicons-halflings.png b/1.3.0-rc.2/docs/img/glyphicons-halflings.png
new file mode 100644
index 0000000000..92d4445dfd
Binary files /dev/null and b/1.3.0-rc.2/docs/img/glyphicons-halflings.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/concepts-databinding1.png b/1.3.0-rc.2/docs/img/guide/concepts-databinding1.png
new file mode 100644
index 0000000000..87b7ffd0bf
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/concepts-databinding1.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/concepts-databinding2.png b/1.3.0-rc.2/docs/img/guide/concepts-databinding2.png
new file mode 100644
index 0000000000..be8cbafe29
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/concepts-databinding2.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/concepts-directive.png b/1.3.0-rc.2/docs/img/guide/concepts-directive.png
new file mode 100644
index 0000000000..b77d5f8ec9
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/concepts-directive.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/concepts-module-injector.png b/1.3.0-rc.2/docs/img/guide/concepts-module-injector.png
new file mode 100644
index 0000000000..31fcf84c62
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/concepts-module-injector.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/concepts-module-service.png b/1.3.0-rc.2/docs/img/guide/concepts-module-service.png
new file mode 100644
index 0000000000..b7580be21b
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/concepts-module-service.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/concepts-runtime.png b/1.3.0-rc.2/docs/img/guide/concepts-runtime.png
new file mode 100644
index 0000000000..eededc2ab6
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/concepts-runtime.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/concepts-scope.png b/1.3.0-rc.2/docs/img/guide/concepts-scope.png
new file mode 100644
index 0000000000..83ad8f8f43
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/concepts-scope.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/concepts-startup.png b/1.3.0-rc.2/docs/img/guide/concepts-startup.png
new file mode 100644
index 0000000000..b896a2b516
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/concepts-startup.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/concepts-view.png b/1.3.0-rc.2/docs/img/guide/concepts-view.png
new file mode 100644
index 0000000000..0222544bee
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/concepts-view.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/di_sequence_final.png b/1.3.0-rc.2/docs/img/guide/di_sequence_final.png
new file mode 100644
index 0000000000..d4d743bdbc
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/di_sequence_final.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/dom_scope_final.png b/1.3.0-rc.2/docs/img/guide/dom_scope_final.png
new file mode 100644
index 0000000000..c6385d12ed
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/dom_scope_final.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/hashbang_vs_regular_url.jpg b/1.3.0-rc.2/docs/img/guide/hashbang_vs_regular_url.jpg
new file mode 100644
index 0000000000..632b4febad
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/hashbang_vs_regular_url.jpg differ
diff --git a/1.3.0-rc.2/docs/img/guide/scenario_runner.png b/1.3.0-rc.2/docs/img/guide/scenario_runner.png
new file mode 100644
index 0000000000..a39037a0aa
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/scenario_runner.png differ
diff --git a/1.3.0-rc.2/docs/img/guide/simple_scope_final.png b/1.3.0-rc.2/docs/img/guide/simple_scope_final.png
new file mode 100644
index 0000000000..99a04797a5
Binary files /dev/null and b/1.3.0-rc.2/docs/img/guide/simple_scope_final.png differ
diff --git a/1.3.0-rc.2/docs/img/helloworld.png b/1.3.0-rc.2/docs/img/helloworld.png
new file mode 100644
index 0000000000..957ce8e98b
Binary files /dev/null and b/1.3.0-rc.2/docs/img/helloworld.png differ
diff --git a/1.3.0-rc.2/docs/img/helloworld_2way.png b/1.3.0-rc.2/docs/img/helloworld_2way.png
new file mode 100644
index 0000000000..2c02313c1b
Binary files /dev/null and b/1.3.0-rc.2/docs/img/helloworld_2way.png differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/catalog_screen.png b/1.3.0-rc.2/docs/img/tutorial/catalog_screen.png
new file mode 100644
index 0000000000..0b1968c5fb
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/catalog_screen.png differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/tutorial_00.png b/1.3.0-rc.2/docs/img/tutorial/tutorial_00.png
new file mode 100644
index 0000000000..65f3973eba
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/tutorial_00.png differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/tutorial_00_final.png b/1.3.0-rc.2/docs/img/tutorial/tutorial_00_final.png
new file mode 100644
index 0000000000..838a094483
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/tutorial_00_final.png differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/tutorial_02.png b/1.3.0-rc.2/docs/img/tutorial/tutorial_02.png
new file mode 100644
index 0000000000..b4c1cab16d
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/tutorial_02.png differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/tutorial_03.png b/1.3.0-rc.2/docs/img/tutorial/tutorial_03.png
new file mode 100644
index 0000000000..3e432a352e
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/tutorial_03.png differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/tutorial_04.png b/1.3.0-rc.2/docs/img/tutorial/tutorial_04.png
new file mode 100644
index 0000000000..3d028771dc
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/tutorial_04.png differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/tutorial_05.png b/1.3.0-rc.2/docs/img/tutorial/tutorial_05.png
new file mode 100644
index 0000000000..be30217427
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/tutorial_05.png differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/tutorial_05.pptx b/1.3.0-rc.2/docs/img/tutorial/tutorial_05.pptx
new file mode 100644
index 0000000000..1afe4c3df5
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/tutorial_05.pptx differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/tutorial_07_final.png b/1.3.0-rc.2/docs/img/tutorial/tutorial_07_final.png
new file mode 100644
index 0000000000..3e7776c460
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/tutorial_07_final.png differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/tutorial_08-09_final.png b/1.3.0-rc.2/docs/img/tutorial/tutorial_08-09_final.png
new file mode 100644
index 0000000000..02601d241b
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/tutorial_08-09_final.png differ
diff --git a/1.3.0-rc.2/docs/img/tutorial/tutorial_10-11_final.png b/1.3.0-rc.2/docs/img/tutorial/tutorial_10-11_final.png
new file mode 100644
index 0000000000..55a821ad18
Binary files /dev/null and b/1.3.0-rc.2/docs/img/tutorial/tutorial_10-11_final.png differ
diff --git a/1.3.0-rc.2/docs/index-debug.html b/1.3.0-rc.2/docs/index-debug.html
new file mode 100644
index 0000000000..0f8125bf73
--- /dev/null
+++ b/1.3.0-rc.2/docs/index-debug.html
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
AngularJS
+
+
+
+
+
+
+
diff --git a/1.3.0-rc.2/docs/index-jquery.html b/1.3.0-rc.2/docs/index-jquery.html
new file mode 100644
index 0000000000..75a2ae65a2
--- /dev/null
+++ b/1.3.0-rc.2/docs/index-jquery.html
@@ -0,0 +1,270 @@
+
+
+
+
+
+
+
+
+
AngularJS
+
+
+
+
+
+
+
diff --git a/1.3.0-rc.2/docs/index-production.html b/1.3.0-rc.2/docs/index-production.html
new file mode 100644
index 0000000000..60470ef9d4
--- /dev/null
+++ b/1.3.0-rc.2/docs/index-production.html
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
AngularJS
+
+
+
+
+
+
+
diff --git a/1.3.0-rc.2/docs/index.html b/1.3.0-rc.2/docs/index.html
new file mode 100644
index 0000000000..42f9706837
--- /dev/null
+++ b/1.3.0-rc.2/docs/index.html
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
AngularJS
+
+
+
+
+
+
+
diff --git a/1.3.0-rc.2/docs/js/angular-bootstrap/bootstrap-prettify.js b/1.3.0-rc.2/docs/js/angular-bootstrap/bootstrap-prettify.js
new file mode 100644
index 0000000000..30172a4b52
--- /dev/null
+++ b/1.3.0-rc.2/docs/js/angular-bootstrap/bootstrap-prettify.js
@@ -0,0 +1,284 @@
+'use strict';
+
+var directive = {};
+var service = { value: {} };
+
+var DEPENDENCIES = {
+ 'angular.js': 'http://code.angularjs.org/' + angular.version.full + '/angular.min.js',
+ 'angular-resource.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-resource.min.js',
+ 'angular-route.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-route.min.js',
+ 'angular-animate.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-animate.min.js',
+ 'angular-sanitize.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-sanitize.min.js',
+ 'angular-cookies.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-cookies.min.js'
+};
+
+
+function escape(text) {
+ return text.
+ replace(/\&/g, '&').
+ replace(/\/g, '>').
+ replace(/"/g, '"');
+}
+
+/**
+ * http://stackoverflow.com/questions/451486/pre-tag-loses-line-breaks-when-setting-innerhtml-in-ie
+ * http://stackoverflow.com/questions/195363/inserting-a-newline-into-a-pre-tag-ie-javascript
+ */
+function setHtmlIe8SafeWay(element, html) {
+ var newElement = angular.element('
' + html + ' ');
+
+ element.empty();
+ element.append(newElement.contents());
+ return element;
+}
+
+
+directive.jsFiddle = function(getEmbeddedTemplate, escape, script) {
+ return {
+ terminal: true,
+ link: function(scope, element, attr) {
+ var name = '',
+ stylesheet = '
\n',
+ fields = {
+ html: '',
+ css: '',
+ js: ''
+ };
+
+ angular.forEach(attr.jsFiddle.split(' '), function(file, index) {
+ var fileType = file.split('.')[1];
+
+ if (fileType == 'html') {
+ if (index == 0) {
+ fields[fileType] +=
+ '
\n' +
+ getEmbeddedTemplate(file, 2);
+ } else {
+ fields[fileType] += '\n\n\n \n' +
+ ' \n';
+ }
+ } else {
+ fields[fileType] += getEmbeddedTemplate(file) + '\n';
+ }
+ });
+
+ fields.html += '
\n';
+
+ setHtmlIe8SafeWay(element,
+ '
' +
+ hiddenField('title', 'AngularJS Example: ' + name) +
+ hiddenField('css', ' \n' +
+ stylesheet +
+ script.angular +
+ (attr.resource ? script.resource : '') +
+ '