forked from Clouda-team/Cloudajs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix a memory leak & a serious server render bug
- Loading branch information
brandnewera
committed
Nov 20, 2013
1 parent
e3d9346
commit 4c94658
Showing
11 changed files
with
194 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
/*$ | ||
Do not make any changes, otherwise it will lead to build failure for bae. | ||
$*/ | ||
if(typeof process != 'undefined' && process.BAE){ | ||
sumeru.config.database({ | ||
dbname : 'your_bae_db_name' | ||
}); | ||
sumeru.config({ | ||
site_url : 'http://yourapp.duapp.com/' | ||
}); | ||
} | ||
if(sumeru.BAE_VERSION){ | ||
sumeru.config.database({ | ||
dbname : 'your_bae_db_name', | ||
user: 'your_bae_pk',//bae 3.0 required | ||
password: 'your_bae_sk',//bae 3.0 required | ||
}); | ||
sumeru.config({ | ||
site_url : 'http://yourapp.duapp.com', //with tailing slash | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.