Author: scottbw
Date: Wed Oct  6 13:08:35 2010
New Revision: 1005012

URL: http://svn.apache.org/viewvc?rev=1005012&view=rev
Log:
Replaced with the latest version of the Sudoku generator, the main difference 
is that this version is explicitly licensed under the ASF 2.0 License.

Modified:
    incubator/wookie/trunk/widgets/sudoku/sudoku.js

Modified: incubator/wookie/trunk/widgets/sudoku/sudoku.js
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/sudoku/sudoku.js?rev=1005012&r1=1005011&r2=1005012&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/sudoku/sudoku.js (original)
+++ incubator/wookie/trunk/widgets/sudoku/sudoku.js Wed Oct  6 13:08:35 2010
@@ -1,12 +1,15 @@
-// Copyright 2007 Google Inc.
-// All Rights Reserved.
-
-/**
- * @fileoverview sudoku.js is a library of of classes and utilies that generate
- * a solvable sudoku puzzle as a string of 81 numbers - with '0' to denote a 
- * a blank cell.
- * @author [email protected] (Austin Chau)
- */
+// Copyright [2007] [Austin Chau] 
+// Licensed 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.
 
 // Namespace assigned to this library of sudoku-related classes
 var sudoku = {};
@@ -435,7 +438,7 @@ sudoku.SudokuGenerator.prototype.toArray
  */      
 sudoku.SudokuGenerator.prototype.createPartialArray = function() {    
   this.partialArray = this.fullArray.slice();    
-  var emptySymbol = 0;
+  var emptySymbol = '0';
     
   var scratch = null;    
   var minRemove = 3;


Reply via email to