app/assets/javascripts/styleus/behaviors/sampleContent.js.coffee in styleus-0.0.7 vs app/assets/javascripts/styleus/behaviors/sampleContent.js.coffee in styleus-0.0.8

- old
+ new

@@ -8,11 +8,10 @@ @view.addClass(classAttribute) this render: => @view - class Diagonal extends Shape constructor: (@width, @height, @direction) -> super() @view.addClass('diagonal') console.log(@height) @@ -65,10 +64,9 @@ console.log @boxWidth, @boxHeight @boxWidth = @view.data('width') ? @view.innerWidth() @boxHeight = @view.data('height') ? @view.innerHeight() @view.css('width', @boxWidth) @view.css('height', @boxHeight) - addDiagonals: => diagonals = [new Diagonal(@boxWidth, @boxHeight), new Diagonal(@boxWidth, @boxHeight, 'inverted')] diagonal.expand() and @view.append(diagonal.render()) for diagonal in diagonals