Https migrations

This commit is contained in:
2015-11-24 19:23:30 +08:00
parent 07ceb117da
commit bd966f2fac
12 changed files with 47 additions and 23 deletions

View File

@@ -3,6 +3,8 @@
/** @type {System.Cycle} */
var Cycle = __import( "System.Cycle" );
/** @type {System.utils} */
var utils = __import( "System.utils" );
/** @type {System.utils.EventKey} */
var EventKey = __import( "System.utils.EventKey" );
/** @type {System.Debug} */
@@ -112,7 +114,7 @@
/** @type {_AstConf_.AstroEdit} */
var a_conf = Config.get( "AstroEdit" );
var base_path = Config.get( "BasePath" );
var base_path = utils.siteProto( Config.get( "BasePath" ) );
/*{{{ preview fields */
var ae_p_fields = {

View File

@@ -96,7 +96,7 @@
}
.asl_smask[expand] {
background-image: url(http://file.astropenguin.net/blog/layout-images/collapse.png);
background-image: url(/assets/layout-images/collapse.png);
background-position: center 2.5px;
background-repeat: no-repeat;
}

View File

@@ -18,7 +18,7 @@
var sound = function (insertSnippet, snippetWrap, createContext, override)
{
var temp, i, j
, defaultArt = "http://file.astropenguin.net/blog/layout-images/disc_s.png"
, defaultArt = "/assets/layout-images/disc_s.png"
, handler = function ()
{
// Input fields

View File

@@ -215,7 +215,7 @@
}
.ae_expand_btn, .ae_callapse_btn {
background: url(http://file.astropenguin.net/blog/layout-images/collapse.png) center 2.5px no-repeat;
background: url(/assets/layout-images/collapse.png) center 2.5px no-repeat;
width: 100%;
height: 10px;
}

View File

@@ -1,6 +1,8 @@
(function(){
var ns = __namespace( "Astro.Blog.AstroEdit" );
/** @type {System.utils} */
var utils = __import( "System.utils" );
/** @type {System.Cycle} */
var Cycle = __import( "System.Cycle" );
/** @type {Dandelion} */
@@ -29,7 +31,7 @@
//// Component initializations
/** @type {_AstConf_.AstroEdit} */
var a_conf = Config.get( "AstroEdit" );
var base_path = Config.get( "BasePath" );
var base_path = utils.siteProto( Config.get( "BasePath" ) );
Cycle.next(
function()