-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathscript.js
executable file
·77 lines (68 loc) · 2.27 KB
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
'use strict';
// Redirect to secure version of the website
if (location.protocol != 'https:') {
if (
location.protocol != 'file:' &&
location.hostname != '127.0.0.1' &&
location.hostname != 'localhost'
) {
location.href =
'https:' +
window.location.href.substring(window.location.protocol.length);
}
}
$(function () {
/*
|--------------------------------------------------------------------------
| Configure your website
|--------------------------------------------------------------------------
|
| We provided several configuration variables for your ease of development.
| Read their complete description and modify them based on your need.
|
*/
thesaas.config({
/*
|--------------------------------------------------------------------------
| Google API Key
|--------------------------------------------------------------------------
|
| Here you may specify your Google API key if you need to use Google Maps
| in your application
|
| https://developers.google.com/maps/documentation/javascript/get-api-key
|
*/
googleApiKey: 'AIzaSyDRBLFOTTh2NFM93HpUA4ZrA99yKnCAsto',
/*
|--------------------------------------------------------------------------
| Google Analytics Tracking
|--------------------------------------------------------------------------
|
| If you want to use Google Analytics, you can specify your Tracking ID in
| this option. Your key would be a value like: UA-12345678-9
|
*/
googleAnalyticsId: '',
/*
|--------------------------------------------------------------------------
| Smooth Scroll
|--------------------------------------------------------------------------
|
| If true, the browser's scrollbar moves smoothly on scroll and gives your
| visitor a better experience for scrolling.
|
*/
smoothScroll: true,
});
/*
|--------------------------------------------------------------------------
| Custom Javascript code
|--------------------------------------------------------------------------
|
| Now that you configured your website, you can write additional Javascript
| code below this comment. You might want to add more plugins and initialize
| them in this file.
|
*/
});