Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Deprecation warning on Bramble Url code hints #823

Merged
merged 2 commits into from
Jul 6, 2017

Conversation

aayushsanghavi
Copy link

Fixes: mozilla/thimble.mozilla.org#2268

Using thirdparty-pathutils to remove deprecation warning

deprecation

{we don't see any deprecation warning in the console}

@@ -82,7 +82,8 @@ define(function (require, exports, module) {
docDir = FileUtils.getDirectoryPath(doc.file.fullPath);

// get relative path from query string
queryUrl = window.PathUtils.parseUrl(query.queryStr);
var PathUtils = brackets.getModule("thirdparty/path-utils/path-utils");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this to the top with the other module require statements.

@gideonthomas
Copy link

thanks @aayushsanghavi!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants