Skip to content

Commit

Permalink
Fix for https sites
Browse files Browse the repository at this point in the history
  • Loading branch information
donker committed Jan 23, 2018
1 parent 8f5bd9e commit 80e3cdd
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 86 deletions.
2 changes: 1 addition & 1 deletion Map.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("DNN Connect")]
[assembly: AssemblyProduct("Map")]
[assembly: AssemblyCopyright("Copyright 2016 by DNN Connect")]
[assembly: AssemblyCopyright("Copyright 2018 by DNN Connect")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -30,5 +30,5 @@
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("01.00.05")]
[assembly: AssemblyFileVersion("01.00.05")]
[assembly: AssemblyVersion("01.00.06")]
[assembly: AssemblyFileVersion("01.00.06")]
2 changes: 1 addition & 1 deletion js/src/map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var ConnectMapComponent = require('./ConnectMap.jsx'),
if (ConnectMap.googleLoaded) {
return;
}
var googleScript = 'http://maps.googleapis.com/maps/api/js?callback=ConnectMap.loadMaps';
var googleScript = location.protocol + '//maps.googleapis.com/maps/api/js?callback=ConnectMap.loadMaps';
if (apiKey && apiKey !== '') {
googleScript += '&key=' + $('.connectMap').first().data('googlekey');
}
Expand Down
160 changes: 79 additions & 81 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,84 +1,82 @@
{
"name": "map",
"version": "01.00.06",
"description": "Demo module used at DNN Connect 2015",
"dnnModule": {
"fullName": "Connect.Map",
"friendlyName": "Map Module",
"packageName": "Connect_Map",
"owner": {
"name": "Peter Donker",
"organization": "DNN Connect",
"url": "http://dnn-connect.org",
"email": "[email protected]"
"name": "map",
"version": "01.00.07",
"description": "Demo module used at DNN Connect 2015",
"dnnModule": {
"fullName": "Connect.Map",
"friendlyName": "Map Module",
"packageName": "Connect_Map",
"owner": {
"name": "Peter Donker",
"organization": "DNN Connect",
"url": "http://dnn-connect.org",
"email": "[email protected]"
},
"module": {
"packageName": "Connect_Map",
"folderName": "Connect/Map",
"azureCompatible": "true",
"iconFile": "DesktopModules\\Connect\\Map\\map.png"
},
"tempPath": "./package",
"packagesPath": "./_Packages",
"pathToAssemblies": "./bin",
"pathToScripts": "./_Installation/SQL",
"pathToSupplementaryFiles": "./_Installation",
"excludeFilter": [
"node_modules",
"bin",
"obj",
"_Packages",
"_Installation"
],
"jsLibraries": [{
"name": "react",
"devUrl": "~/DesktopModules/Connect/Map/bower_components/react/react.min.js",
"CDNPath": "https://cdnjs.cloudflare.com/ajax/libs/react/[version]/react.min.js",
"objectName": "React"
}]
},
"module": {
"packageName": "Connect_Map",
"folderName": "Connect/Map",
"azureCompatible": "true",
"iconFile": "DesktopModules\\Connect\\Map\\map.png"
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tempPath": "./package",
"packagesPath": "./_Packages",
"pathToAssemblies": "./bin",
"pathToScripts": "./_Installation/SQL",
"pathToSupplementaryFiles": "./_Installation",
"excludeFilter": [
"node_modules",
"bin",
"obj",
"_Packages",
"_Installation"
],
"jsLibraries": [
{
"name": "react",
"devUrl": "~/DesktopModules/Connect/Map/bower_components/react/react.min.js",
"CDNPath": "https://cdnjs.cloudflare.com/ajax/libs/react/[version]/react.min.js",
"objectName": "React"
}
]
},
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DNN-Connect/Map.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/DNN-Connect/Map/issues"
},
"homepage": "https://github.com/DNN-Connect/Map#readme",
"devDependencies": {
"babel-preset-es2015": "^6.5.0",
"babel-preset-react": "^6.5.0",
"babelify": "^7.2.0",
"browserify": "^13.0.0",
"gulp": "^3.9.0",
"gulp-dnn-manifest": "^0.1.0",
"gulp-dotnet-assembly-info": "^0.1.11",
"gulp-filter": "^3.0.1",
"gulp-markdown": "^1.1.0",
"gulp-minify-css": "^1.2.1",
"gulp-msbuild": "^0.2.13",
"gulp-plumber": "^1.0.1",
"gulp-react": "^3.0.1",
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^1.6.0",
"gulp-uglify": "^1.4.1",
"gulp-util": "^3.0.6",
"gulp-zip": "^3.0.2",
"merge2": "^0.3.6",
"react": "^0.13.3",
"react-tools": "^0.13.3",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0"
},
"dependencies": {
"jquery": "^2.1.4"
}
}
"repository": {
"type": "git",
"url": "git+https://github.com/DNN-Connect/Map.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/DNN-Connect/Map/issues"
},
"homepage": "https://github.com/DNN-Connect/Map#readme",
"devDependencies": {
"babel-preset-es2015": "^6.5.0",
"babel-preset-react": "^6.5.0",
"babelify": "^7.2.0",
"browserify": "^13.0.0",
"gulp": "^3.9.0",
"gulp-dnn-manifest": "^0.1.0",
"gulp-dotnet-assembly-info": "^0.1.11",
"gulp-filter": "^3.0.1",
"gulp-markdown": "^1.1.0",
"gulp-minify-css": "^1.2.1",
"gulp-msbuild": "^0.2.13",
"gulp-plumber": "^1.0.1",
"gulp-react": "^3.0.1",
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^1.6.0",
"gulp-uglify": "^1.4.1",
"gulp-util": "^3.0.6",
"gulp-zip": "^3.0.2",
"merge2": "^0.3.6",
"react": "^0.13.3",
"react-tools": "^0.13.3",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0"
},
"dependencies": {
"jquery": "^2.1.4"
}
}

0 comments on commit 80e3cdd

Please sign in to comment.