Sha256: 209149242528a8deb4b8d86d31724116a256f230857d40857c0f1d54bd3cb76a

Contents?: true

Size: 763 Bytes

Versions: 3

Compression:

Stored size: 763 Bytes

Contents

# -*- coding: utf-8 -*-
#
# comment_emoji_autocomplete.rb : Support the automatic input of the emoji
#                                 using jQuery UI autocomplete.
#
# Copyright (C) 2013, tamoot <tamoot+tdiary@gmail.com>
# You can redistribute it and/or modify it under GPL2 or any later version.
#

if !@cgi.mobile_agent? && /\A(?:day)\z/ =~ @mode
	add_header_proc do
		%Q|<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"/>|
	end

	enable_js('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js')
	enable_js('caretposition.js')
	enable_js('comment_emoji_autocomplete.js')

end

# Local Variables:
# mode: ruby
# indent-tabs-mode: t
# tab-width: 3
# ruby-indent-level: 3
# End:
# vim: ts=3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdiary-4.1.1 misc/plugin/comment_emoji_autocomplete.rb
tdiary-4.1.0 misc/plugin/comment_emoji_autocomplete.rb
tdiary-4.1.0.20141126 misc/plugin/comment_emoji_autocomplete.rb