discourse/spec/fixtures/plugins/my_plugin/plugin.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
499 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# name: plugin-name
# about: about: my plugin
# version: 0.1
# authors: Frank Zappa
2013-08-26 00:39:34 -04:00
auth_provider title: 'with Ubuntu',
authenticator: Auth::FacebookAuthenticator.new,
2013-08-26 00:39:34 -04:00
message: 'Authenticating with Ubuntu (make sure pop up blockers are not enbaled)',
frame_width: 1000, # the frame size used for the pop up window, overrides default
frame_height: 800
register_javascript <<JS
console.log("Hello world")
JS