Sha256: f190f269586ff4a36ed8563bbc7c8e5b350dd05705e6a4148a92cc1442c8ffd9

Contents?: true

Size: 404 Bytes

Versions: 6

Compression:

Stored size: 404 Bytes

Contents

# insure that stubs for Hyperstack::Hotloader.record and window.Hyperstack.hotloader are defined
# importing 'hyperstack/hotloader' will define/redefine these
# note that some internal hyperstack modules will use callbacks, which will call this, but it
# doesn't matter...

module Hyperstack
  unless defined? Hotloader
    class Hotloader
      def self.when_file_updates(&block); end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyperstack-config-1.0.alpha1.8 lib/hyperstack/hotloader/stub.rb
hyperstack-config-1.0.alpha1.7 lib/hyperstack/hotloader/stub.rb
hyperstack-config-1.0.alpha1.6 lib/hyperstack/hotloader/stub.rb
hyperstack-config-1.0.alpha1.5 lib/hyperstack/hotloader/stub.rb
hyperstack-config-1.0.alpha1.4 lib/hyperstack/hotloader/stub.rb
hyperstack-config-1.0.alpha1.3 lib/hyperstack/hotloader/stub.rb