app/models/bit_player/navigator.rb in bit_player-0.4.3 vs app/models/bit_player/navigator.rb in bit_player-0.4.4
- old
+ new
@@ -52,9 +52,19 @@
else
initialize_context(context)
end
end
+ def fetch_previous_content
+ if previous_content?
+ @status.decrement_content_position
+ end
+ end
+
+ def previous_content?
+ current_content_provider.exists?(content_position - 1)
+ end
+
def initialize_context(context)
@status.initialize_context(context)
end
def initialize_location(options)