Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove useless things

  • Loading branch information...
commit 0effb4c4db6abcc4768af6025a24309256bddbf6 1 parent 0f9f6fd
@fat fat authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/klass.js
View
8 src/klass.js
@@ -1,12 +1,12 @@
!function(context){
var fnTest = /xyz/.test(function(){xyz;}) ? /\bsupr\b/ : /.*/, noop = function(){};
- this.klass = function(o){
+ klass = function(o){
var methods, _constructor = typeof o == 'function' ? (methods = {}, o) : (methods = o, noop);
- return klass.extend.call(_constructor, o);
+ return extend.call(_constructor, o);
};
- klass.extend = function(o) {
+ extend = function(o) {
var supr = this,
_methods,
@@ -53,4 +53,4 @@
context.klass = klass;
}
-}(this);
+}(this);
Please sign in to comment.
Something went wrong with that request. Please try again.