Permalink
Browse files

removed tquery.colornames. duplicate from three.js r57 - fixed #277

  • Loading branch information...
1 parent d3c2414 commit 6e02d5e3c11c23f990d65bdcd2812bd72ccc1feb @jeromeetienne committed Mar 20, 2013
Showing with 0 additions and 18 deletions.
  1. +0 −11 plugins/colornames/examples/index.html
  2. +0 −7 plugins/colornames/tquery.colornames.js
@@ -1,11 +0,0 @@
-<!doctype html><title>Minimal tQuery Page</title>
-<script src="../../../build/tquery-bundle.js"></script>
-<script src="../tquery.colornames.js"></script>
-<body><script>
- var world = tQuery.createWorld().boilerplate().start();
- // your code goes here
- tQuery.createTorusKnot().addTo(world)
- .setBasicMaterial()
- .color('pink')
- .back()
-</script></body>
@@ -1,7 +0,0 @@
-tQuery.convert.toThreeColor.addEventListener('preConvert', function(args){
- if( args.length !== 1 ) return undefined;
- if( typeof(args[0]) !== 'string' ) return undefined;
- var colorName = args[0]
- var colorHex = THREE.ColorKeywords[colorName];
- return new THREE.Color(colorHex);
-});

0 comments on commit 6e02d5e

Please sign in to comment.