├── .gitignore ├── bower.json ├── karma.conf.js ├── karma_runner.cmd ├── lib ├── overload.min.js └── overload.min.js.map ├── package.json ├── readme.md ├── source └── overload.js └── specs ├── libs ├── es5-shim.min.js ├── sinon-1.3.4.js └── sinon-ie-1.3.4.js ├── matchers.js ├── when_calling_overload.fallback.js ├── when_calling_overload.js ├── when_calling_overload.with.js ├── when_calling_overload_with_a_Boolean_type.js ├── when_calling_overload_with_a_Custom_type.js ├── when_calling_overload_with_a_Function_type.js ├── when_calling_overload_with_a_Number_type.js ├── when_calling_overload_with_a_String_type.js ├── when_calling_overload_with_an_Array_type.js ├── when_calling_overload_with_an_Object_type.js ├── when_calling_overload_with_empty_array.js ├── when_chaining_using_with.js └── when_no_match_is_found.js /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /bower_components -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/bower.json -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/karma.conf.js -------------------------------------------------------------------------------- /karma_runner.cmd: -------------------------------------------------------------------------------- 1 | node_modules\.bin\karma.cmd start --dots -------------------------------------------------------------------------------- /lib/overload.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/lib/overload.min.js -------------------------------------------------------------------------------- /lib/overload.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/lib/overload.min.js.map -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/readme.md -------------------------------------------------------------------------------- /source/overload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/source/overload.js -------------------------------------------------------------------------------- /specs/libs/es5-shim.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/libs/es5-shim.min.js -------------------------------------------------------------------------------- /specs/libs/sinon-1.3.4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/libs/sinon-1.3.4.js -------------------------------------------------------------------------------- /specs/libs/sinon-ie-1.3.4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/libs/sinon-ie-1.3.4.js -------------------------------------------------------------------------------- /specs/matchers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/matchers.js -------------------------------------------------------------------------------- /specs/when_calling_overload.fallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload.fallback.js -------------------------------------------------------------------------------- /specs/when_calling_overload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload.js -------------------------------------------------------------------------------- /specs/when_calling_overload.with.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload.with.js -------------------------------------------------------------------------------- /specs/when_calling_overload_with_a_Boolean_type.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload_with_a_Boolean_type.js -------------------------------------------------------------------------------- /specs/when_calling_overload_with_a_Custom_type.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload_with_a_Custom_type.js -------------------------------------------------------------------------------- /specs/when_calling_overload_with_a_Function_type.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload_with_a_Function_type.js -------------------------------------------------------------------------------- /specs/when_calling_overload_with_a_Number_type.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload_with_a_Number_type.js -------------------------------------------------------------------------------- /specs/when_calling_overload_with_a_String_type.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload_with_a_String_type.js -------------------------------------------------------------------------------- /specs/when_calling_overload_with_an_Array_type.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload_with_an_Array_type.js -------------------------------------------------------------------------------- /specs/when_calling_overload_with_an_Object_type.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload_with_an_Object_type.js -------------------------------------------------------------------------------- /specs/when_calling_overload_with_empty_array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_calling_overload_with_empty_array.js -------------------------------------------------------------------------------- /specs/when_chaining_using_with.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_chaining_using_with.js -------------------------------------------------------------------------------- /specs/when_no_match_is_found.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariusGundersen/Overload/HEAD/specs/when_no_match_is_found.js --------------------------------------------------------------------------------