dxf-parser
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -398,4 +398,4 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.DxfParser = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
//log.setLevel('warn'); | ||
//log.setLevel('error'); | ||
log.setLevel('silent'); | ||
log.setLevel('error'); | ||
//log.setLevel('silent'); | ||
@@ -556,3 +556,6 @@ | ||
ensureHandle(block); | ||
blocks[block.handle] = block; | ||
if(!block.name) | ||
log.error('block with handle "' + block.handle + '" is missing a name.'); | ||
else | ||
blocks[block.name] = block; | ||
} else { | ||
@@ -790,2 +793,6 @@ logUnhandledGroup(curr); | ||
break; | ||
case 79: | ||
viewPort.orthographicType = curr.value; | ||
curr = scanner.next(); | ||
break; | ||
case 110: | ||
@@ -1516,4 +1523,3 @@ viewPort.ucsOrigin = parsePoint(); | ||
case 100: // Subclass marker | ||
log.debug(scanner.value); | ||
checkCommonEntityProperties(entity); | ||
curr = scanner.next(); | ||
break; | ||
@@ -1520,0 +1526,0 @@ default: |
@@ -10,4 +10,4 @@ var DxfArrayScanner = require('./DxfArrayScanner.js'), | ||
//log.setLevel('warn'); | ||
//log.setLevel('error'); | ||
log.setLevel('silent'); | ||
log.setLevel('error'); | ||
//log.setLevel('silent'); | ||
@@ -168,3 +168,6 @@ | ||
ensureHandle(block); | ||
blocks[block.handle] = block; | ||
if(!block.name) | ||
log.error('block with handle "' + block.handle + '" is missing a name.'); | ||
else | ||
blocks[block.name] = block; | ||
} else { | ||
@@ -402,2 +405,6 @@ logUnhandledGroup(curr); | ||
break; | ||
case 79: | ||
viewPort.orthographicType = curr.value; | ||
curr = scanner.next(); | ||
break; | ||
case 110: | ||
@@ -1128,4 +1135,3 @@ viewPort.ucsOrigin = parsePoint(); | ||
case 100: // Subclass marker | ||
log.debug(scanner.value); | ||
checkCommonEntityProperties(entity); | ||
curr = scanner.next(); | ||
break; | ||
@@ -1132,0 +1138,0 @@ default: |
{ | ||
"name": "dxf-parser", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Parse dxf files into a readable, logical js object.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -69,2 +69,2 @@ | ||
#### Contributors | ||
bzuillsmith@gdsestimating.com | ||
bzuillsmith@gmail.com |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
193475
5691