1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/lib
James Reggio 1a3f950777 Respect target on <a/> tags under Link (#4763)
There are occasions where it is useful to have `target='_blank'` on hyperlinks within your own app. (For example, if your app is being loaded in an iframe and you'd like for the links to break out in to new windows.)

With this PR, the `onClick` logic in Link now checks for an external target on the nested <a/> tag, and will fall back to the default behavior if it's present, similar to the logic for shift-/cmd-clicking the link.
2018-07-12 00:03:25 +02:00
..
router Support events emitter for router (#4726) 2018-07-05 14:41:18 +02:00
app.js Remove react-hot-loader (#4500) 2018-05-31 11:47:29 +02:00
asset.js Handle empty assetPrefix scenario properly. (#3667) 2018-02-03 17:12:01 +01:00
constants.js Move build directory outside of server folder (#4565) 2018-06-14 19:30:14 +02:00
dynamic.js Set this.mounted to false when dynamic component is unmounted (#4333) 2018-05-11 17:07:06 +02:00
error-debug.js Remove react-hot-loader (#4500) 2018-05-31 11:47:29 +02:00
error.js Add title to default error page (#4383) 2018-05-25 13:35:59 +02:00
EventEmitter.js Upgrade standard.js (#4064) 2018-03-27 20:11:03 +02:00
head.js next/head allow duplicates if it has uniq keys (#4121) 2018-06-01 13:12:33 +02:00
link.js Respect target on <a/> tags under Link (#4763) 2018-07-12 00:03:25 +02:00
p-queue.js improve prefetch (#1161) 2017-02-16 00:59:42 +05:30
page-loader.js Remove special error script handling (#3849) 2018-02-21 23:11:25 +05:30
prefetch.js fix prefetch url (#1154) 2017-02-15 15:01:03 +01:00
promisify.js Move build directory outside of server folder (#4565) 2018-06-14 19:30:14 +02:00
runtime-config.js Exposing configuration to the server / client side (minor) (#3882) 2018-02-26 12:03:27 +01:00
shallow-equals.js Added linting using standard (#27) 2016-10-16 17:00:17 -07:00
side-effect.js Create displayName util (#2286) 2017-06-19 18:33:02 +05:30
utils.js Check if headers are sent (#3642) 2018-01-31 18:42:21 +05:30