Skip to content

Commit

Permalink
chore(build): prepare release 1.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Vheissu committed Feb 19, 2017
1 parent 89cbe68 commit 0dff184
Show file tree
Hide file tree
Showing 35 changed files with 39 additions and 90 deletions.
3 changes: 0 additions & 3 deletions dist/amd/google-maps.html

This file was deleted.

4 changes: 2 additions & 2 deletions dist/amd/google-maps.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/amd/google-maps.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/amd/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/amd/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions dist/amd/maps.css

This file was deleted.

3 changes: 0 additions & 3 deletions dist/commonjs/google-maps.html

This file was deleted.

3 changes: 1 addition & 2 deletions dist/commonjs/google-maps.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commonjs/google-maps.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/commonjs/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commonjs/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions dist/commonjs/maps.css

This file was deleted.

3 changes: 0 additions & 3 deletions dist/es2015/google-maps.html

This file was deleted.

5 changes: 2 additions & 3 deletions dist/es2015/google-maps.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es2015/google-maps.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/es2015/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es2015/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions dist/es2015/maps.css

This file was deleted.

3 changes: 0 additions & 3 deletions dist/native-modules/google-maps.html

This file was deleted.

5 changes: 2 additions & 3 deletions dist/native-modules/google-maps.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/native-modules/google-maps.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/native-modules/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/native-modules/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions dist/native-modules/maps.css

This file was deleted.

3 changes: 0 additions & 3 deletions dist/system/google-maps.html

This file was deleted.

9 changes: 3 additions & 6 deletions dist/system/google-maps.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/system/google-maps.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/system/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/system/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions dist/system/maps.css

This file was deleted.

11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-google-maps",
"version": "1.0.19",
"version": "1.0.20",
"description": "A plugin for working with Google Maps within Aurelia",
"keywords": [
"aurelia",
Expand Down Expand Up @@ -122,14 +122,5 @@
"rimraf": "^2.5.4",
"tslint": "^4.3.1",
"typescript": "^2.1.6"
},
"aurelia": {
"build": {
"resources": [
"aurelia-google-maps/google-maps",
"aurelia-google-maps/google-maps.html",
"aurelia-google-maps/maps.css"
]
}
}
}
3 changes: 0 additions & 3 deletions src/google-maps.html

This file was deleted.

17 changes: 8 additions & 9 deletions src/google-maps.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import {inject} from 'aurelia-dependency-injection';
import {bindable, customElement, useView} from 'aurelia-templating';
import {TaskQueue} from 'aurelia-task-queue';
import {BindingEngine} from 'aurelia-binding';
import {EventAggregator} from 'aurelia-event-aggregator';
import {getLogger} from 'aurelia-logging';
import { PLATFORM } from 'aurelia-pal';
import { inject } from 'aurelia-dependency-injection';
import { bindable, customElement, noView } from 'aurelia-templating';
import { TaskQueue } from 'aurelia-task-queue';
import { BindingEngine } from 'aurelia-binding';
import { EventAggregator } from 'aurelia-event-aggregator';
import { getLogger } from 'aurelia-logging';

import {Configure} from './configure';
import { Configure } from './configure';

const GM = 'googlemap';
const BOUNDSCHANGED = `${GM}:bounds_changed`;
Expand All @@ -21,7 +20,7 @@ const logger = getLogger('aurelia-google-maps');

declare let google: any;

@useView(PLATFORM.moduleName('./google-maps.html'))
@noView()
@customElement('google-map')
@inject(Element, TaskQueue, Configure, BindingEngine, EventAggregator)
export class GoogleMaps {
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import {FrameworkConfiguration} from 'aurelia-framework';
import { PLATFORM } from 'aurelia-pal';
import { PLATFORM, DOM } from 'aurelia-pal';

import { Configure } from './configure';
import { GoogleMaps } from './google-maps';

export function configure(aurelia: FrameworkConfiguration, configCallback?: (config: Configure) => Promise<any>) {
let instance = aurelia.container.get(Configure) as Configure;

DOM.injectStyles(`google-map { display: block; height: 350px; }`);

// Do we have a callback function?
if (configCallback !== undefined && typeof(configCallback) === 'function') {
configCallback(instance);
Expand Down
4 changes: 0 additions & 4 deletions src/maps.css

This file was deleted.

0 comments on commit 0dff184

Please sign in to comment.