apps/blueprint/models/diagram.rb in brief-1.9.9 vs apps/blueprint/models/diagram.rb in brief-1.9.11
- old
+ new
@@ -1,8 +1,10 @@
class Brief::Apps::Blueprint::Diagram
include Brief::Model
+ defined_in Pathname(__FILE__)
+
meta do
title
subheading
status String, :in => "draft published"
end
@@ -11,10 +13,10 @@
title "h1:first-of-type"
subheading "h2:first-of-type"
define_section "Annotations" do
- each("h2").has(:title => "h3",
+ each("h2").has(:title => "h2",
:paragraphs => "p",
:settings => "code")
end
end
end