Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added MooTools plugin

  • Loading branch information...
commit 7d15fca07001d277ed039eee4f80bd52ff195aa0 1 parent ab62161
Brendan Coles bcoles authored urbanadventurer committed

Showing 1 changed file with 35 additions and 0 deletions. Show diff stats Hide diff stats

  1. +35 0 plugins/MooTools.rb
35 plugins/MooTools.rb
... ... @@ -0,0 +1,35 @@
  1 +##
  2 +# This file is part of WhatWeb and may be subject to
  3 +# redistribution and commercial restrictions. Please see the WhatWeb
  4 +# web site for more information on licensing and terms of use.
  5 +# http://www.morningstarsecurity.com/research/whatweb
  6 +##
  7 +Plugin.define "MooTools" do
  8 +author "Brendan Coles <bcoles@gmail.com>" # 2010-11-02
  9 +version "0.1"
  10 +description "MooTools is a compact, modular, Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer. It allows you to write powerful, flexible, and cross-browser code with its elegant, well documented, and coherent API. - homepage: http://mootools.net/"
  11 +
  12 +# 22 results for ext:js "Copyright (c) 2006-2008 Valerio Proietti" "http://mad4milk.net"
  13 +examples %w|
  14 +demos.mootools.net/demos/mootools.js
  15 +mootools.net/assets/scripts/mootools.core.js
  16 +mootools.net/assets/scripts/mootools.more.js
  17 +demos111.mootools.net/demos/mootools.svn.js
  18 +|
  19 +
  20 +matches [
  21 +
  22 +# mootools.core.js
  23 +{ :regexp=>/^\/\/ Load your build at: http:\/\/mootools.net\/core\// },
  24 +
  25 +# Verson Detection # mootools.core.js
  26 +{ :version=>/^MooTools.More[\s]*=[\s]*\{[\s]*version:[\s]*["']?([^\"^\']+)["']?/, :regexp_offset=>0 },
  27 +{ :version=>/^var MooTools[\s]*=[\s]*\{[\s]*version:[\s]*["']?([^\"^\']+)/, :regexp_offset=>0 },
  28 +
  29 +# mootools.more.js
  30 +{ :regexp=>/^\/\/MooTools More, <http:\/\/mootools.net\/more>. Copyright \(c\) 2006-2008 Valerio Proietti, <http:\/\/mad4milk.net>, MIT Style License./ },
  31 +
  32 +]
  33 +
  34 +end
  35 +

0 comments on commit 7d15fca

Please sign in to comment.
Something went wrong with that request. Please try again.