Sha256: c7c0b04c204335d940f8011b2f35ff4a2eab36c297da875237d8a0028bd2d1df
Contents?: true
Size: 816 Bytes
Versions: 1
Compression:
Stored size: 816 Bytes
Contents
# encoding: utf-8 require 'pathname' require 'ueditor/config' module Ueditor autoload :Utils, 'ueditor/utils' module Helpers autoload :FormTagHelper, 'ueditor/helpers/form_tag_helper' autoload :FormHelper, 'ueditor/helpers/form_helper' autoload :FormBuilder, 'ueditor/helpers/form_builder' autoload :AssetTagHelper, 'ueditor/helpers/asset_tag_helper' end def self.root_path @root_path ||= Pathname.new( File.dirname(File.expand_path('../', __FILE__)) ) end def self.assets Dir[root_path.join('app/assets/javascripts/ueditor/**', '*.{js,css}')].inject([]) do |list, path| list << Pathname.new(path).relative_path_from(root_path.join('app/assets/javascripts')) list end << "ueditor.js" end end require 'ueditor/engine' require 'ueditor/version'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ueditor-0.0.2 | lib/ueditor.rb |