Browse Source

重命名源码

master
song 4 years ago
parent
commit
591f2c88e0
  1. 2
      gulpfile.js
  2. 4
      public/source-code.html
  3. 8
      public/source-code.js

2
gulpfile.js

@ -20,7 +20,7 @@ const script = function () {
const copy = function () { const copy = function () {
src('./public/index.html').pipe(dest('dist/')); src('./public/index.html').pipe(dest('dist/'));
src('./public/bird.js').pipe(dest('dist/')); src('./public/source-code.js').pipe(dest('dist/'));
src('./public/images/*').pipe(dest('dist/images')); src('./public/images/*').pipe(dest('dist/images'));
src('./public/libs/**/*').pipe(dest('dist/libs')); src('./public/libs/**/*').pipe(dest('dist/libs'));
src('./public/sounds/*').pipe(dest('dist/sounds')); src('./public/sounds/*').pipe(dest('dist/sounds'));

4
public/bird.html → public/source-code.html

@ -11,7 +11,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="authoring-tool" content="Adobe_Animate_CC"> <meta name="authoring-tool" content="Adobe_Animate_CC">
<title>bird</title> <title>source-code</title>
<!-- write your code here --> <!-- write your code here -->
<style> <style>
#animation_container, #_preload_div_ { #animation_container, #_preload_div_ {
@ -22,7 +22,7 @@
} }
</style> </style>
<script src="libs/1.0.0/createjs.min.js"></script> <script src="libs/1.0.0/createjs.min.js"></script>
<script src="bird.js"></script> <script src="source-code.js"></script>
<script> <script>
var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation; var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation;
function init() { function init() {

8
public/bird.js → public/source-code.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save