Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Cross Platform Modules Changelog
==============================

<a name="4.1.1"></a>
# [4.1.1](https://github.com/NativeScript/NativeScript/compare/4.1.0...4.1.1) (2018-07-18)


### Bug Fixes

* require devtools-elements.js with the extension mentioned explicitly ([#6079](https://github.com/NativeScript/NativeScript/issues/6079)) ([1a15aa2](https://github.com/NativeScript/NativeScript/commit/1a15aa2))


<a name="4.1.0"></a>
# [4.1.0](https://github.com/NativeScript/NativeScript/compare/4.0.1...4.1.0) (2018-05-28)

Expand Down
4 changes: 2 additions & 2 deletions tns-core-modules/globals/globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export function Deprecated(target: Object, key?: string | symbol, descriptor?: a
var originalMethod = descriptor.value;

descriptor.value = function (...args: any[]) {
console.log(`${key} is deprecated`);
console.log(`${key.toString()} is deprecated`);

return originalMethod.apply(this, args);
}
Expand All @@ -225,7 +225,7 @@ export function Experimental(target: Object, key?: string | symbol, descriptor?:
var originalMethod = descriptor.value;

descriptor.value = function (...args: any[]) {
console.log(`${key} is experimental`);
console.log(`${key.toString()} is experimental`);

return originalMethod.apply(this, args);
}
Expand Down
2 changes: 1 addition & 1 deletion tns-core-modules/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tns-core-modules",
"description": "Telerik NativeScript Core Modules",
"version": "4.1.0",
"version": "4.1.1",
"homepage": "https://www.nativescript.org",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion tns-core-modules/ui/frame/frame.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ let fragmentId = -1;
export let moduleLoaded: boolean;

if (global && global.__inspector) {
const devtools = require("tns-core-modules/debugger/devtools-elements");
const devtools = require("tns-core-modules/debugger/devtools-elements.js");
devtools.attachDOMInspectorEventCallbacks(global.__inspector);
devtools.attachDOMInspectorCommandCallbacks(global.__inspector);
}
Expand Down