Skip to content

Commit

Permalink
v1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
www committed Jan 19, 2016
2 parents f31e2a0 + 026ddb5 commit e293a2a
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 11 deletions.
6 changes: 5 additions & 1 deletion dist/angular-openlayers-directive.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
if (typeof require === 'function' && typeof exports === 'object') {
// CommonJS
var ol = require('openlayers');
exports.angularOpenlayersDirective = factory(ol);
} else if (typeof define === 'function' && define.amd) {
// AMD.
define(['ol'], function (ol) {
return root.angularOpenlayersDirective = factory(ol);
Expand Down
6 changes: 3 additions & 3 deletions dist/angular-openlayers-directive.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/angular-openlayers-directive.min.no-header.js

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion dist/angular-openlayers-directive.pre.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
if (typeof require === 'function' && typeof exports === 'object') {
// CommonJS
var ol = require('openlayers');
exports.angularOpenlayersDirective = factory(ol);
} else if (typeof define === 'function' && define.amd) {
// AMD.
define(['ol'], function (ol) {
return root.angularOpenlayersDirective = factory(ol);
Expand Down
6 changes: 5 additions & 1 deletion grunt/concat.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
'use strict';

var banner = '(function (root, factory) {\n' +
' if (typeof define === \'function\' && define.amd) {\n' +
' if (typeof require === \'function\' && typeof exports === \'object\') {\n' +
' // CommonJS\n' +
' var ol = require(\'openlayers\');\n' +
' exports.angularOpenlayersDirective = factory(ol);\n' +
' } else if (typeof define === \'function\' && define.amd) {\n' +
' // AMD.\n' +
' define([\'ol\'], function (ol) {\n' +
' return root.angularOpenlayersDirective = factory(ol);\n' +
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
"cli"
],
"license": "MIT",
"dependencies": {},
"dependencies": {
"angular": "~1.4.8",
"angular-sanitize": "~1.4.8",
"openlayers": "~3.8"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-bower-task": "~0.4.0",
Expand Down Expand Up @@ -61,5 +65,5 @@
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"main": "dist/angular-openlayers-directive",
"version": "1.7.0"
"version": "1.8.0"
}

0 comments on commit e293a2a

Please sign in to comment.