committed by
Henrik Ingo
parent
2a3dd7ebb2
commit
fbb17083d5
3
build.js
3
build.js
@@ -3,6 +3,9 @@ var buildify = require('buildify');
|
||||
|
||||
buildify()
|
||||
.load('src/impress.js')
|
||||
.perform(function(content){
|
||||
return "// This file was automatically generated from files in src/ directory.\n\n" + content;
|
||||
})
|
||||
// Libraries from src/lib
|
||||
.concat(['src/lib/gc.js'])
|
||||
.concat(['src/lib/util.js'])
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// This file was automatically generated from files in src/ directory.
|
||||
|
||||
/**
|
||||
* impress.js
|
||||
*
|
||||
@@ -59,7 +61,7 @@
|
||||
var returnStr = "";
|
||||
if ( typeof order === "string" ) {
|
||||
for ( var i in order.split( "" ) ) {
|
||||
if ( validChars.indexOf( order[ i ] >= 0 ) ) {
|
||||
if ( validChars.indexOf( order[ i ] ) >= 0 ) {
|
||||
returnStr += order[ i ];
|
||||
|
||||
// Each of x,y,z can be used only once.
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
var returnStr = "";
|
||||
if ( typeof order === "string" ) {
|
||||
for ( var i in order.split( "" ) ) {
|
||||
if ( validChars.indexOf( order[ i ] >= 0 ) ) {
|
||||
if ( validChars.indexOf( order[ i ] ) >= 0 ) {
|
||||
returnStr += order[ i ];
|
||||
|
||||
// Each of x,y,z can be used only once.
|
||||
|
||||
Reference in New Issue
Block a user