Sha256: 447b412df17b1aede426ccb37053d405bdf56ca58bcf88c494302c895a3857ed
Contents?: true
Size: 333 Bytes
Versions: 40
Compression:
Stored size: 333 Bytes
Contents
require "#{File.dirname(__FILE__)}/files_note" module Footnotes module Notes class JavascriptsNote < FilesNote def title "Javascripts (#{@files.length})" end protected def scan_text(text) text.scan(/<script[^>]+src\s*=\s*['"]([^>?'"]+\.js)/im).flatten end end end end
Version data entries
40 entries across 40 versions & 9 rubygems