Browse Source

title & comment

pull/563/head
David DeSandro 12 years ago
parent
commit
5cc1b61e52
  1. 4
      examples/horizontal-layout-modes.html
  2. 1
      isotope.js

4
examples/horizontal-layout-modes.html

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>filter sort</title> <title>horizontal layout modes</title>
<link rel="stylesheet" href="examples.css" /> <link rel="stylesheet" href="examples.css" />
<style> <style>
@ -19,7 +19,7 @@
</head> </head>
<body> <body>
<h1>filter sort</h1> <h1>horizontal layout modes</h1>
<div id="options"> <div id="options">
<h2>Filter</h2> <h2>Filter</h2>

1
isotope.js

@ -216,6 +216,7 @@ function isotopeDefinition( Outlayer, getSize, matchesSelector, Item, layoutMode
var layoutMode = this.options.layoutMode; var layoutMode = this.options.layoutMode;
var mode = this.modes[ layoutMode ]; var mode = this.modes[ layoutMode ];
if ( !mode ) { if ( !mode ) {
// TODO console.error
throw new Error( 'No layout mode: ' + layoutMode ); throw new Error( 'No layout mode: ' + layoutMode );
} }
// HACK sync mode's options // HACK sync mode's options

Loading…
Cancel
Save