Permalink
Browse files

Reorganise some comments

  • Loading branch information...
1 parent 0ea4623 commit 59820967d76b252c5c33cbc17c637f3e94be5ec1 @joeyates committed Jan 14, 2014
Showing with 2 additions and 8 deletions.
  1. +1 −1 README.md
  2. +0 −3 src/sloccount/core.clj
  3. +0 −2 src/sloccount/files.clj
  4. +1 −2 src/sloccount/line_types.clj
View
@@ -1,6 +1,6 @@
# sloccount
-Counts lines of code.
+Counts lines of code by programming language.
## Usage
View
@@ -1,6 +1,3 @@
-;; This code was inspired by an example in "Programming Clojure" by Stuart Halloway
-;; Copyright (c) 2009 Joe Yates, released under the MIT license
-
(ns sloccount.core
(:gen-class
:state app-state
View
@@ -1,5 +1,3 @@
-;; Copyright (c) 2009 Joe Yates, released under the MIT license
-
(ns sloccount.files
(:use [clojure.java.io :only (reader)])
(:import (java.io.File)))
@@ -1,5 +1,3 @@
-;; Copyright (c) 2009 Joe Yates, released under the MIT license
-
(ns sloccount.line_types
(:use [clojure.java.io :only (reader)])
(:import (java.io.File)))
@@ -35,6 +33,7 @@
(mason-perl-state line state :javascript)))
;; line-types Returns a seq of keywords indicating line types
+;; This code was inspired by an example in "Programming Clojure" by Stuart Halloway
(defmulti line-types sloccount.files/file-type :default :text)
(defn clojure-file-parse [file clojure-dialect]

0 comments on commit 5982096

Please sign in to comment.