Browse Source

fix right-to-left example

pull/726/head
David DeSandro 11 years ago
parent
commit
7706bf3cf1
  1. 38
      examples/right-to-left.html

38
examples/right-to-left.html

@ -79,27 +79,31 @@
<div class="item"></div> <div class="item"></div>
</div> </div>
<script src="../components/classie/classie.js"></script> <script src="../bower_components/eventEmitter/EventEmitter.js"></script>
<script src="../components/eventEmitter/EventEmitter.js"></script> <script src="../bower_components/eventie/eventie.js"></script>
<script src="../components/eventEmitter/EventEmitter.min.js"></script> <script src="../bower_components/doc-ready/doc-ready.js"></script>
<script src="../components/eventie/eventie.js"></script> <script src="../bower_components/get-style-property/get-style-property.js"></script>
<script src="../components/doc-ready/doc-ready.js"></script> <script src="../bower_components/get-size/get-size.js"></script>
<script src="../components/get-style-property/get-style-property.js"></script> <script src="../bower_components/jquery-bridget/jquery.bridget.js"></script>
<script src="../components/get-size/get-size.js"></script> <script src="../bower_components/matches-selector/matches-selector.js"></script>
<script src="../components/jquery-bridget/jquery.bridget.js"></script> <script src="../bower_components/outlayer/item.js"></script>
<script src="../components/matches-selector/matches-selector.js"></script> <script src="../bower_components/outlayer/outlayer.js"></script>
<script src="../components/outlayer/item.js"></script> <script src="../bower_components/masonry/masonry.js"></script>
<script src="../components/outlayer/outlayer.js"></script>
<script src="../masonry.js"></script> <script src="../js/item.js"></script>
<script src="../js/layout-mode.js"></script>
<script src="../js/isotope.js"></script>
<script src="../js/layout-modes/masonry.js"></script>
<script> <script>
docReady( function() { docReady( function() {
( function() { ( function() {
var container = document.querySelector('#basic'); var container = document.querySelector('#basic');
var msnry = new Masonry( container, { var iso = new Isotope( container, {
isOriginLeft: false, isOriginLeft: false,
columnWidth: 60 masonry: {
columnWidth: 60
}
}); });
})(); })();
@ -108,9 +112,11 @@ docReady( function() {
var msnry = new Masonry( container, { var msnry = new Masonry( container, {
itemSelector: '.item', itemSelector: '.item',
isOriginLeft: false, isOriginLeft: false,
columnWidth: 60,
gutter: 10, gutter: 10,
stamp: '.stamp' stamp: '.stamp',
masonry: {
columnWidth: 60,
}
}); });
})(); })();

Loading…
Cancel
Save