diff --git a/examples/N1-Composer-Translate/docs/main.coffee b/examples/N1-Composer-Translate/docs/main.coffee index bba0b3a01..22017ac56 100644 --- a/examples/N1-Composer-Translate/docs/main.coffee +++ b/examples/N1-Composer-Translate/docs/main.coffee @@ -51,8 +51,8 @@ class TranslateButton extends React.Component # `React.createElement('a', {href: 'http://facebook.github.io/react/'}, 'Hello!')` # # We're rendering a `Popover` with a `Menu` inside. These components are part - # of Edgehill's standard `nylas-component-kit` library, and make it easy to build - # interfaces that match the rest of Edgehill's UI. + # of N1's standard `nylas-component-kit` library, and make it easy to build + # interfaces that match the rest of N1's UI. # render: => React.createElement(Popover, {"ref": "popover", \ diff --git a/examples/N1-Composer-Translate/docs/main.html b/examples/N1-Composer-Translate/docs/main.html index eaafe2c62..4de2ef3a7 100644 --- a/examples/N1-Composer-Translate/docs/main.html +++ b/examples/N1-Composer-Translate/docs/main.html @@ -10,14 +10,14 @@
- +
diff --git a/examples/N1-Composer-Translate/lib/main.cjsx b/examples/N1-Composer-Translate/lib/main.cjsx index 9c2a963d7..58a45e951 100644 --- a/examples/N1-Composer-Translate/lib/main.cjsx +++ b/examples/N1-Composer-Translate/lib/main.cjsx @@ -51,8 +51,8 @@ class TranslateButton extends React.Component # `React.createElement('a', {href: 'http://facebook.github.io/react/'}, 'Hello!')` # # We're rendering a `Popover` with a `Menu` inside. These components are part - # of Edgehill's standard `nylas-component-kit` library, and make it easy to build - # interfaces that match the rest of Edgehill's UI. + # of N1's standard `nylas-component-kit` library, and make it easy to build + # interfaces that match the rest of N1's UI. # render: => diff --git a/internal_packages/notification-mailto/package.json b/internal_packages/notification-mailto/package.json index f1c497226..c0e56d40b 100644 --- a/internal_packages/notification-mailto/package.json +++ b/internal_packages/notification-mailto/package.json @@ -2,7 +2,7 @@ "name": "notification-mailto", "main": "./lib/main", "version": "0.36.0", - "description": "Displays a notification asking the user to make Edgehill their default mailto handler", + "description": "Displays a notification asking the user to make N1 their default mailto handler", "license": "Proprietary", "engines": { "atom": "*" diff --git a/internal_packages/notifications/lib/notifications-store.coffee b/internal_packages/notifications/lib/notifications-store.coffee index 01f7b7062..d5f11d950 100644 --- a/internal_packages/notifications/lib/notifications-store.coffee +++ b/internal_packages/notifications/lib/notifications-store.coffee @@ -10,7 +10,7 @@ uuid_count = 0 class Notification constructor: ({@message, @type, @tag, @sticky, @actions, @icon} = {}) -> # Check to make sure the provided data is a valid notificaiton, since - # notifications may be constructed by anyone developing on Edgehill + # notifications may be constructed by anyone developing on N1 throw new Error "No `new` keyword when constructing Notification" unless @ instanceof Notification throw new Error "Type must be `info`,`error`, or `success`" unless @type in ['info', 'error', 'success'] throw new Error "Message must be provided for notification" unless @message diff --git a/internal_packages/onboarding/lib/account-settings-page.cjsx b/internal_packages/onboarding/lib/account-settings-page.cjsx index aa6a5ecce..0905d4251 100644 --- a/internal_packages/onboarding/lib/account-settings-page.cjsx +++ b/internal_packages/onboarding/lib/account-settings-page.cjsx @@ -187,7 +187,7 @@ class AccountSettingsPage extends React.Component @setState(tryingToAuthenticate: true) # Send the form data directly to Nylas to get code - # If this succeeds, send the received code to Edgehill server to register the account + # If this succeeds, send the received code to N1 server to register the account # Otherwise process the error message from the server and highlight UI as needed NylasAPI.makeRequest path: "/auth?client_id=#{NylasAPI.AppID}" diff --git a/script/cibuild b/script/cibuild index 2ef38cca1..9848505df 100755 --- a/script/cibuild +++ b/script/cibuild @@ -1,5 +1,5 @@ #!/bin/sh -# Edgehill Jenkins must run a shell script. +# N1 Jenkins must run a shell script. # # We also set the Keychain credentials inside of Jenkins Credentials # instead of plain text files. diff --git a/script/utils/verify-requirements.js b/script/utils/verify-requirements.js index f70b689b9..9188c4d6c 100644 --- a/script/utils/verify-requirements.js +++ b/script/utils/verify-requirements.js @@ -31,7 +31,7 @@ function verifyNode(cb) { var nodeMajorVersion = +versionArray[0]; var nodeMinorVersion = +versionArray[1]; if (nodeMajorVersion === 0 && nodeMinorVersion < 10) { - error = "node v0.10 is required to build Edgehill, node " + nodeVersion + " is installed."; + error = "node v0.10 is required to build N1, node " + nodeVersion + " is installed."; cb(error); } else { @@ -50,14 +50,14 @@ function verifyNpm(cb) { childProcess.execFile(npmCommand, ['-v'], { env: process.env }, function(err, stdout) { if (err) - return cb("npm 1.4 is required to build Edgehill. An error (" + err + ") occured when checking the version."); + return cb("npm 1.4 is required to build N1. An error (" + err + ") occured when checking the version."); var npmVersion = stdout ? stdout.trim() : ''; var versionArray = npmVersion.split('.'); var npmMajorVersion = +versionArray[0] || 0; var npmMinorVersion = +versionArray[1] || 0; if (npmMajorVersion === 1 && npmMinorVersion < 4) - cb("npm v1.4+ is required to build Edgehill."); + cb("npm v1.4+ is required to build N1."); else cb(null, "npm: v" + npmVersion); }); @@ -87,7 +87,7 @@ function checkPythonVersion (python, cb) { childProcess.execFile(python, ['-c', 'import platform; print(platform.python_version());'], { env: process.env }, function (err, stdout) { if (err) { - error = "Python 2.7 is required to build Edgehill. An error (" + err + ") occured when checking the version of '" + python + "'. "; + error = "Python 2.7 is required to build N1. An error (" + err + ") occured when checking the version of '" + python + "'. "; error += pythonHelpMessage; cb(error); return; @@ -101,11 +101,11 @@ function checkPythonVersion (python, cb) { version = version.replace(/rc(.*)$/ig, ''); } - // Edgehill requires python 2.7 or higher (but not python 3) for node-gyp + // N1 requires python 2.7 or higher (but not python 3) for node-gyp var versionArray = version.split('.').map(function(num) { return +num; }); var goodPythonVersion = (versionArray[0] === 2 && versionArray[1] >= 7); if (!goodPythonVersion) { - error = "Python 2.7 is required to build Edgehill. '" + python + "' returns version " + version + ". "; + error = "Python 2.7 is required to build N1. '" + python + "' returns version " + version + ". "; error += pythonHelpMessage; cb(error); return; diff --git a/src/browser/nylas-protocol-handler.coffee b/src/browser/nylas-protocol-handler.coffee index d08b03f16..4ea7de25d 100644 --- a/src/browser/nylas-protocol-handler.coffee +++ b/src/browser/nylas-protocol-handler.coffee @@ -5,7 +5,7 @@ protocol = require 'protocol' # Handles requests with 'nylas' protocol. # -# It's created by {EdgehillApplication} upon instantiation and is used to create a +# It's created by {N1Application} upon instantiation and is used to create a # custom resource loader for 'nylas://' URLs. # # The following directories are searched in order: diff --git a/src/components/menu.cjsx b/src/components/menu.cjsx index 0e76cbd70..2de9c9593 100644 --- a/src/components/menu.cjsx +++ b/src/components/menu.cjsx @@ -74,7 +74,7 @@ Public: React component for multi-section Menus with key binding The Menu component allows you to display a list of items. Menu takes care of several important things, ensuring that your menu is consistent with the rest -of the Edgehill application and offers a near-native experience: +of the N1 application and offers a near-native experience: - Keyboard Interaction with the Up and Down arrow keys, Enter to select - Maintaining selection across content changes diff --git a/src/components/popover.cjsx b/src/components/popover.cjsx index 91a4a9416..8d2535f79 100644 --- a/src/components/popover.cjsx +++ b/src/components/popover.cjsx @@ -4,7 +4,7 @@ _ = require 'underscore' ### Public: The Popover component makes it easy to display a sheet or popup menu when the -user clicks the React element provided as `buttonComponent`. In Edgehill, the Popover +user clicks the React element provided as `buttonComponent`. In N1, the Popover component is used to create rich dropdown menus, detail popups, etc. with consistent look and feel and behavior.