Browse files

remove unneeded file (just use package.json)

  • Loading branch information...
1 parent dad949d commit b7c70e144be7a9dce4907921aab6424e01f20c2a @pquerna committed Mar 29, 2011
Showing with 0 additions and 54 deletions.
  1. +0 −54 lib/version.js
View
54 lib/version.js
@@ -1,54 +0,0 @@
-/*
- * Licensed to Paul Querna under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * Paul Querna licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Provides the current version of Log Magic.
- *
- * These are written in an easily parsable format for use by
- * other (non-js) scripts to easily grep out the version number.
- */
-
-var LM_VERSION_MAJOR = 0;
-var LM_VERSION_MINOR = 1;
-var LM_VERSION_PATCH = 0;
-
-/* change this on release tags */
-var LM_IS_DEV = true;
-
-/** Major version */
-exports.MAJOR = LM_VERSION_MAJOR;
-/** Minor version */
-exports.MINOR = LM_VERSION_MINOR;
-/** Patch level */
-exports.PATCH = LM_VERSION_PATCH;
-/** Boolean testing if this is a development version or release version */
-exports.IS_DEV = LM_IS_DEV;
-
-/**
- * Get the current version of Log Magic.
- * @return {String} Dot'ed format string of the version.
- */
-exports.toString = function()
-{
- var dstr = '-dev';
-
- if (exports.IS_DEV === false) {
- dstr = '-release';
- }
-
- return 'logmagic-' + LM_VERSION_MAJOR + '.' + LM_VERSION_MINOR + '.' + LM_VERSION_PATCH + '' + dstr;
-};

0 comments on commit b7c70e1

Please sign in to comment.